"fix" theme preview

This commit is contained in:
Henry Jameson 2024-07-04 03:20:26 +03:00
commit 8a41313bb4
6 changed files with 175 additions and 133 deletions

View file

@ -61,7 +61,11 @@ export const generateTheme = async (input, callbacks, debug) => {
}
// Assuming that "worst case scenario background" is panel background since it's the most likely one
const themes3 = init(extraRules, extraRules[0].directives['--bg'].split('|')[1].trim(), debug)
const themes3 = init({
extraRules,
ultimateBackgroundColor: extraRules[0].directives['--bg'].split('|')[1].trim(),
debug
})
console.log('DEBUG 2 IS', debug)