@equinor/eds-core-react
Version:
The React implementation of the Equinor Design System
49 lines (46 loc) • 735 B
JavaScript
import { tokens } from '@equinor/eds-tokens';
const {
colors: {
ui: {
background__default: {
rgba: lighter
},
background__light: {
rgba: light
},
background__medium: {
rgba: mediumColor
}
}
},
spacings: {
comfortable: {
small: spacingSmall,
medium: spacingMedium
}
}
} = tokens;
const divider = {
lighter: {
background: lighter
},
light: {
background: light
},
mediumColor: {
background: mediumColor
}
};
const small = {
spacings: {
top: spacingSmall,
bottom: spacingSmall
}
};
const medium = {
spacings: {
top: spacingMedium,
bottom: spacingMedium
}
};
export { divider, medium, small };