You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gristlabs_grist-core/app/client/ui/ShortcutKey.ts

26 lines
645 B

import {theme} from 'app/client/ui2018/cssVars';
import {styled} from 'grainjs';
export const ShortcutKeyContent = styled('span', `
font-style: normal;
font-family: inherit;
color: ${theme.shortcutKeyPrimaryFg};
`);
export const ShortcutKeyContentStrong = styled(ShortcutKeyContent, `
font-weight: 700;
`);
export const ShortcutKey = styled('div', `
display: inline-block;
padding: 2px 5px;
border-radius: 4px;
margin: 0px 2px;
border: 1px solid ${theme.shortcutKeyBorder};
color: ${theme.shortcutKeyFg};
background-color: ${theme.shortcutKeyBg};
font-family: inherit;
font-style: normal;
white-space: nowrap;
`);