some more stuff, generating CSS selectors from rules

This commit is contained in:
Henry Jameson 2024-01-23 00:43:46 +02:00
commit 0729b529d7
8 changed files with 108 additions and 16 deletions

View file

@ -0,0 +1,26 @@
export const sampleRules = [
{
component: 'Underlay',
// variant: 'normal',
// state: 'normal'
directives: {
background: '#000',
opacity: 0.2
}
},
{
component: 'Panel',
directives: {
background: '#FFFFFF',
opacity: 0.9
}
},
{
component: 'Button',
directives: {
background: '#808080',
text: '#FFFFFF',
opacity: 0.5
}
}
]