@mantine/core
Version:
React components library focused on usability, accessibility and developer experience
22 lines (19 loc) • 755 B
JavaScript
import { createStyles, rem } from '@mantine/styles';
var useStyles = createStyles((theme, { radius, shadow }) => ({
root: {
outline: 0,
WebkitTapHighlightColor: "transparent",
display: "block",
textDecoration: "none",
color: theme.colorScheme === "dark" ? theme.colors.dark[0] : theme.black,
backgroundColor: theme.colorScheme === "dark" ? theme.colors.dark[7] : theme.white,
boxSizing: "border-box",
borderRadius: theme.fn.radius(radius),
boxShadow: theme.shadows[shadow] || shadow || "none",
"&[data-with-border]": {
border: `${rem(1)} solid ${theme.colorScheme === "dark" ? theme.colors.dark[4] : theme.colors.gray[3]}`
}
}
}));
export default useStyles;
//# sourceMappingURL=Paper.styles.js.map