aboutsummaryrefslogtreecommitdiff
path: root/src/components/icon.style.js
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2024-02-07 18:54:00 +0200
committerHenry Jameson <me@hjkos.com>2024-02-07 18:54:00 +0200
commita7d771e8c819b7f20bd0048b50e2d14816d28668 (patch)
treef3578106c89b7717579533f4b364ca012306b17b /src/components/icon.style.js
parent1229bbd855108c03df060474a3bc50100782bf4f (diff)
more dynamic vars, PROPER ICON COLORS
Diffstat (limited to 'src/components/icon.style.js')
-rw-r--r--src/components/icon.style.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/components/icon.style.js b/src/components/icon.style.js
index 66c80882..81bbbce0 100644
--- a/src/components/icon.style.js
+++ b/src/components/icon.style.js
@@ -6,10 +6,8 @@ export default {
{
component: 'Icon',
directives: {
- textColor: '--text',
- // textAuto: 'no-auto', // doesn't work well with mixrgb?
- textOpacity: 0.5,
- textOpacityMode: 'mixrgb'
+ textColor: '$blend(--parent, 0.5, --parent--text)',
+ textAuto: 'no-auto'
}
}
]