@equinor/eds-core-react
Version:
The React implementation of the Equinor Design System
33 lines (30 loc) • 618 B
JavaScript
import { tokens } from '@equinor/eds-tokens';
const {
colors,
spacings: {
comfortable
},
typography
} = tokens;
const helperText = {
background: colors.ui.background__light.hex,
typography: {
...typography.input.helper,
color: colors.text.static_icons__tertiary.rgba
},
spacings: {
comfortable: {
left: comfortable.small,
right: comfortable.small,
top: comfortable.small,
bottom: '6px'
},
compact: {
left: comfortable.small,
right: comfortable.small,
top: comfortable.xx_small,
bottom: '6px'
}
}
};
export { helperText };