We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 15e4442 + 866d13c commit 801caa7Copy full SHA for 801caa7
src/lib/theme.ts
@@ -384,6 +384,11 @@ export function applyTheme(theme: Theme, root: HTMLElement) {
384
if (value && typeof value === 'string') {
385
const cssVar = `--sidebar-${property.replace(/([A-Z])/g, '-$1').toLowerCase()}`;
386
root.style.setProperty(cssVar, value, 'important');
387
+
388
+ if (property === 'backdropFilter') {
389
+ const webkitCssVar = `${cssVar}-webkit`;
390
+ root.style.setProperty(webkitCssVar, value, 'important');
391
+ }
392
}
393
});
394
0 commit comments