moved default rules to component style.js files, added some basic text inheritance
This commit is contained in:
parent
53a4b1f9a6
commit
d4795d2e3c
8 changed files with 90 additions and 73 deletions
|
|
@ -15,5 +15,20 @@ export default {
|
|||
validInnerComponents: [
|
||||
'Text',
|
||||
'Icon'
|
||||
],
|
||||
defaultRules: [
|
||||
{
|
||||
component: 'Button',
|
||||
directives: {
|
||||
background: '--fg'
|
||||
}
|
||||
},
|
||||
{
|
||||
component: 'Button',
|
||||
state: ['hover'],
|
||||
directives: {
|
||||
background: '#FFFFFF'
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue