separate greentext into "fun text" and make Post/Notification related components
This commit is contained in:
parent
ae345d2c45
commit
48f106b438
13 changed files with 134 additions and 29 deletions
|
|
@ -2,34 +2,21 @@ export default {
|
|||
name: 'Text',
|
||||
selector: '/*text*/',
|
||||
virtual: true,
|
||||
variants: {
|
||||
greentext: '.greentext'
|
||||
},
|
||||
states: {
|
||||
faint: '.faint'
|
||||
},
|
||||
defaultRules: [
|
||||
{
|
||||
component: 'Text',
|
||||
directives: {
|
||||
textColor: '--text',
|
||||
textAuto: 'no-preserve'
|
||||
}
|
||||
},
|
||||
{
|
||||
component: 'Text',
|
||||
state: ['faint'],
|
||||
directives: {
|
||||
textOpacity: 0.5
|
||||
}
|
||||
},
|
||||
{
|
||||
component: 'Text',
|
||||
variant: 'greentext',
|
||||
directives: {
|
||||
textColor: '--cGreen',
|
||||
textAuto: 'preserve'
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue