nice-ui
Version:
React design system, components, and utilities
22 lines (21 loc) • 608 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
const nano_theme_1 = require("nano-theme");
require("nano-theme/lib/global-reset");
(0, nano_theme_1.put)('*:focus,button:focus,a:focus', {
outlineOffset: '1px',
out: `2px solid ${nano_theme_1.theme.color.sem.blue[0]}`,
});
(0, nano_theme_1.put)('*:active,button:active,a:active', {
out: 0,
});
(0, nano_theme_1.put)('a,button', {
bdrad: '2px',
});
(0, nano_theme_1.put)('.hoverRotate', {
trs: 'transform .2s',
transformOrigin: 'bottom left',
'&:hover': {
transform: 'rotate(-2deg)',
},
});
;