better virtual components and stuff

This commit is contained in:
Henry Jameson 2024-01-31 17:39:51 +02:00
commit 53a4b1f9a6
17 changed files with 354 additions and 137 deletions

View file

@ -11,30 +11,30 @@ export const sampleRules = [
{
component: 'Panel',
directives: {
background: '#FFFFFF',
opacity: 0.9
background: '--fg'
// opacity: 0.9
}
},
{
component: 'PanelHeader',
directives: {
background: '#000000',
opacity: 0.9
background: '--fg'
// opacity: 0.9
}
},
{
component: 'Button',
directives: {
background: '#000000',
opacity: 0.8
background: '--fg'
// opacity: 0.8
}
},
{
component: 'Button',
state: ['hover'],
directives: {
background: '#FF00FF',
opacity: 0.9
background: '#FFFFFF'
// opacity: 0.9
}
}
]