UNPKG

@mantine/core

Version:

React components library focused on usability, accessibility and developer experience

24 lines (19 loc) 906 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var createMemoStyles = require('../../theme/create-memo-styles.js'); var useStyles = createMemoStyles.createMemoStyles({ kbd: ({ theme }) => ({ lineHeight: theme.lineHeight, fontFamily: theme.fontFamilyMonospace, fontSize: theme.fontSizes.xs, fontWeight: 700, backgroundColor: theme.colorScheme === "dark" ? theme.colors.dark[5] : theme.colors.gray[0], color: theme.colorScheme === "dark" ? theme.colors.dark[0] : theme.colors.gray[7], padding: [3, theme.spacing.xs / 2], borderRadius: theme.radius.sm, border: `1px solid ${theme.colorScheme === "dark" ? theme.colors.dark[9] : theme.colors.gray[3]}`, borderBottom: `3px solid ${theme.colorScheme === "dark" ? theme.colors.dark[9] : theme.colors.gray[3]}` }) }); exports.default = useStyles; //# sourceMappingURL=Kbd.styles.js.map