@equinor/eds-core-react
Version:
The React implementation of the Equinor Design System
32 lines (29 loc) • 546 B
JavaScript
import { tokens } from '@equinor/eds-tokens';
const {
colors,
spacings: {
comfortable
},
typography
} = tokens;
const label = {
background: colors.ui.background__light.rgba,
typography: {
...typography.input.label,
color: colors.text.static_icons__tertiary.rgba
},
spacings: {
left: comfortable.small,
right: comfortable.small,
top: '6px',
bottom: '6px'
},
states: {
disabled: {
typography: {
color: colors.interactive.disabled__text.rgba
}
}
}
};
export { label };