Compare commits

..

No commits in common. "33a0e4b2b9135b015daaf7a9efe0dc35060e9275" and "081a77ee0cba2640b8fa86062a00df1c1ff28911" have entirely different histories.

View file

@ -24,11 +24,6 @@ export const createStyleSheet = (id, priority = 1000) => {
if (!CSS.supports?.('backdrop-filter', 'blur()')) {
newRule = newRule.replace(/backdrop-filter:[^;]+;/g, '') // Remove backdrop-filter
}
// firefox doesn't like invalid selectors
if (!CSS.supports?.('selector(::-webkit-scrollbar)') && newRule.startsWith('::-webkit')) {
return
}
this.rules.push(
newRule
.replace(/var\(--shadowFilter\)[^;]*;/g, '') // Remove shadowFilter references
@ -161,8 +156,6 @@ export const applyTheme = (
const eagerStyles = createStyleSheet(EAGER_STYLE_ID, 10)
const lazyStyles = createStyleSheet(LAZY_STYLE_ID, 20)
eagerStyles.clear()
lazyStyles.clear()
const { lazyProcessFunc } = generateTheme(
input,