Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // options.json
- {
- aliases: {
- N10: '#111',
- N20: '#222',
- ... // lots more colours
- }
- }
- // decisions.json
- // I realise the following doesn't work,
- // I'm trying to figure out how it could work.
- {
- props: {
- neutral: {
- backgroundColor: {
- // all the interaction states
- resting: 'N20A',
- hover: 'N30A',
- active: 'B75A',
- disabled: 'N20A',
- selected: 'N700',
- },
- boxShadowColor: {
- focus: 'B200A',
- },
- textColor: {
- ... // all the states and colour values
- },
- },
- critical: {
- // same as above with different colours
- },
- warning: {...}
- success: {...}
- ... // etc
- }
- }
Add Comment
Please, Sign In to add comment