fix: revert blur

This commit is contained in:
Xyphyn committed 2023-08-26 19:43:42 -07:00
1 parent 3aaaf9ad17
commit c030196c35
2 files changed
+17 -1

No files matched your search

+16
View File
@@ -2,6 +2,22 @@
@tailwind components;
@tailwind utilities;
@layer utilities {
/*
Chromium browsers don't render nested backdrop filters.
As a workaround, add 'before:' to the outer filter, along with 'before:backdrop-hack':
<div class="before:backdrop-blur-md before:backdrop-hack>
<div class="backdrop-blur-md"></div>
</div>
See https://stackoverflow.com/a/76207141.
*/
.backdrop-hack {
@apply absolute inset-0 -z-10;
}
}
body {
@apply bg-slate-50 text-slate-900 dark:bg-zinc-950 dark:text-zinc-100 accent-slate-950 dark:accent-zinc-50;
}