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

@ -19,7 +19,6 @@ export default {
component: 'Text',
state: ['faint'],
directives: {
textColor: '--text',
textOpacity: 0.5
}
},
@ -29,15 +28,6 @@ export default {
directives: {
textColor: '--cGreen'
}
},
{
component: 'Text',
variant: 'greentext',
state: ['faint'],
directives: {
textColor: '--cGreen',
textOpacity: 0.5
}
}
]
}