braid-design-system
Version:
Themeable design system for the SEEK Group
33 lines (27 loc) • 558 B
text/typescript
import { style } from '@vanilla-extract/css';
import { colorModeStyle } from '../../css/colorModeStyle';
export const hover = style({});
export const lightModeCurrentKeyline = style(
colorModeStyle({
lightMode: {
opacity: 0.3,
},
}),
);
export const darkModeCurrentKeyline = style(
colorModeStyle({
darkMode: {
opacity: 0.3,
},
}),
);
export const current = style({
opacity: 0.075,
});
export const background = style({
selectors: {
[`${hover}:hover &:not(${current})`]: {
opacity: 0.5,
},
},
});