add directive to preserve or not the text color
This commit is contained in:
parent
d2a74ea1a2
commit
a9efbd2553
2 changed files with 8 additions and 5 deletions
|
|
@ -12,7 +12,8 @@ export default {
|
|||
{
|
||||
component: 'Text',
|
||||
directives: {
|
||||
textColor: '--text'
|
||||
textColor: '--text',
|
||||
textAuto: 'no-preserve'
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -26,7 +27,8 @@ export default {
|
|||
component: 'Text',
|
||||
variant: 'greentext',
|
||||
directives: {
|
||||
textColor: '--cGreen'
|
||||
textColor: '--cGreen',
|
||||
textAuto: 'preserve'
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue