@equinor/eds-core-react
Version:
The React implementation of the Equinor Design System
31 lines (28 loc) • 481 B
JavaScript
import { tokens } from '@equinor/eds-tokens';
const {
colors: {
ui: {
background__medium: {
rgba: borderColor
}
},
interactive: {
table__header__fill_resting: {
rgba: backgroundColor
}
}
}
} = tokens;
const token = {
background: backgroundColor,
border: {
type: 'bordergroup',
bottom: {
type: 'border',
width: '2px',
color: borderColor,
style: 'solid'
}
}
};
export { token };