dynamically load .style.js files; move the files closer to related components

This commit is contained in:
Henry Jameson 2024-02-18 18:40:14 +02:00
commit 3e198526e6
12 changed files with 57 additions and 62 deletions

View file

@ -0,0 +1,17 @@
export default {
name: 'RichContent',
selector: '.RichContent',
validInnerComponents: [
'Text',
'FunText',
'Link'
],
defaultRules: [
{
directives: {
background: '--bg',
textNoCssColor: 'yes'
}
}
]
}