From a9efbd2553119598e615f718037ea57696d023f6 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 7 Feb 2024 16:09:29 +0200 Subject: add directive to preserve or not the text color --- src/components/text.style.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/components/text.style.js') diff --git a/src/components/text.style.js b/src/components/text.style.js index 18472032..905dbbee 100644 --- a/src/components/text.style.js +++ b/src/components/text.style.js @@ -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' } } ] -- cgit v1.2.3-70-g09d2