diff options
| author | Henry Jameson <me@hjkos.com> | 2024-01-31 17:39:51 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2024-01-31 17:39:51 +0200 |
| commit | 53a4b1f9a6a9aa6bc044609c3accb074d924daf9 (patch) | |
| tree | 1ee4cf91db73b5c63db776e37dbc2e8173dc3172 /src/components/icon.style.js | |
| parent | ff2db7a247284cb32933b83c56286a942923a398 (diff) | |
better virtual components and stuff
Diffstat (limited to 'src/components/icon.style.js')
| -rw-r--r-- | src/components/icon.style.js | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/components/icon.style.js b/src/components/icon.style.js index 732cf16f..adc72fc5 100644 --- a/src/components/icon.style.js +++ b/src/components/icon.style.js @@ -1,4 +1,15 @@ export default { name: 'Icon', - selector: '.icon' + virtual: true, + selector: '.svg-inline--fa', + defaultRules: [ + { + component: 'Icon', + directives: { + textColor: '--text', + textOpacity: 0.5, + textOpacityMode: 'mixrgb' + } + } + ] } |
