moved default rules to component style.js files, added some basic text inheritance

This commit is contained in:
Henry Jameson 2024-02-01 01:27:30 +02:00
commit d4795d2e3c
8 changed files with 90 additions and 73 deletions

View file

@ -1,40 +1,2 @@
export const sampleRules = [
{
component: 'Underlay',
// variant: 'normal',
// state: 'normal'
directives: {
background: '#000000',
opacity: 0.2
}
},
{
component: 'Panel',
directives: {
background: '--fg'
// opacity: 0.9
}
},
{
component: 'PanelHeader',
directives: {
background: '--fg'
// opacity: 0.9
}
},
{
component: 'Button',
directives: {
background: '--fg'
// opacity: 0.8
}
},
{
component: 'Button',
state: ['hover'],
directives: {
background: '#FFFFFF'
// opacity: 0.9
}
}
]