This commit is contained in:
Henry Jameson 2025-06-28 15:08:41 +03:00
commit a354acf90f

View file

@ -234,8 +234,6 @@ export const applyConfig = (input) => {
return
}
const head = document.head
const rules = Object
.entries(config)
.filter(([, v]) => v)
@ -244,7 +242,6 @@ export const applyConfig = (input) => {
const styleEl = document.getElementById('theme-holder')
const styleSheet = styleEl.sheet
styleSheet.toString()
styleSheet.insertRule(`:root { ${rules} }`, 'index-max')
// TODO find a way to make this not apply to theme previews