-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Wondering if it's possible for usage to be supported in ES6 modules. Consider the following.
// Colors.js
const Colors = {
secondaryGrey: {
name: 'Secondary Grey', // design language name: (e.g. https://www.ibm.com/design/language/resources/swatchbook)
hex: '#2e3636',
uses: ['Table headings', 'Input background :hover'],
},
}
export default Colors;import highlightGreen from `./Colors`;
button {
background-color: highlightGreen.hex;
}Metadata
Metadata
Assignees
Labels
No labels