better virtual components and stuff

This commit is contained in:
Henry Jameson 2024-01-31 17:39:51 +02:00
commit 53a4b1f9a6
17 changed files with 354 additions and 137 deletions

View file

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