fix(stage-layouts): prevent using :global(...) as they gets compiled into .dark without the children selector

This commit is contained in:
Neko Ayaka
2026-04-11 04:22:34 +08:00
parent 67398494c7
commit 87f719272a
@@ -39,7 +39,7 @@
backdrop-filter: blur(10px);
}
:global(.dark) .transparent-preview {
.dark .transparent-preview {
background-color: rgb(23 23 23 / 0.92);
background-image:
linear-gradient(45deg, rgb(64 64 64 / 0.9) 25%, transparent 25%),
@@ -48,7 +48,7 @@
linear-gradient(-45deg, transparent 75%, rgb(64 64 64 / 0.9) 75%);
}
:global(.dark) .transparent-preview__label {
.dark .transparent-preview__label {
border-color: rgb(64 64 64 / 0.85);
background: rgb(23 23 23 / 0.72);
color: rgb(245 245 245 / 0.9);