diff options
| author | Henry Jameson <me@hjkos.com> | 2024-02-07 16:09:29 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2024-02-07 16:09:29 +0200 |
| commit | a9efbd2553119598e615f718037ea57696d023f6 (patch) | |
| tree | b85c060a2a30e90afc122ce1056d6e0c82096de3 /src/components/text.style.js | |
| parent | d2a74ea1a2965eb38609bb8029a41b45beab89ce (diff) | |
add directive to preserve or not the text color
Diffstat (limited to 'src/components/text.style.js')
| -rw-r--r-- | src/components/text.style.js | 6 |
1 files changed, 4 insertions, 2 deletions
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' } } ] |
