Skip to content

Commit 4d3cddd

Browse files
authored
chore: fix dark mode loading screen (#618)
1 parent dd92dc3 commit 4d3cddd

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/routes/tutorial/[slug]/Loading.svelte

+4-6
Original file line numberDiff line numberDiff line change
@@ -191,11 +191,9 @@
191191
height: 10rem;
192192
}
193193
194-
@media (prefers-color-scheme: dark) {
195-
.loading {
196-
--faded: #444;
197-
--progress: #555;
198-
--cutout: var(--sk-back-2);
199-
}
194+
:global(.dark) .loading {
195+
--faded: #444;
196+
--progress: #555;
197+
--cutout: var(--sk-back-2);
200198
}
201199
</style>

0 commit comments

Comments
 (0)