add directive to preserve or not the text color

This commit is contained in:
Henry Jameson 2024-02-07 16:09:29 +02:00
commit a9efbd2553
2 changed files with 8 additions and 5 deletions

View file

@ -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'
}
}
]