better error reporting
This commit is contained in:
parent
f46adb6724
commit
b55aeb54f6
2 changed files with 260 additions and 239 deletions
|
|
@ -732,10 +732,18 @@ export default {
|
|||
.reduce((acc, [k, v]) => ({ ...acc, [k]: `color | ${v}` }), {})
|
||||
}
|
||||
|
||||
const virtualDirectivesRule = {
|
||||
component: 'Root',
|
||||
directives: Object.fromEntries(
|
||||
virtualDirectives.map(vd => [`--${vd.name}`, `${vd.valType} | ${vd.value}`])
|
||||
)
|
||||
}
|
||||
|
||||
const rules = init({
|
||||
inputRuleset: [
|
||||
...editorFriendlyToOriginal.value,
|
||||
paletteRule
|
||||
paletteRule,
|
||||
virtualDirectivesRule,
|
||||
...editorFriendlyToOriginal.value
|
||||
],
|
||||
ultimateBackgroundColor: '#000000',
|
||||
liteMode: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue