Skip to content

Commit

Permalink
chore: fix dark mode loading screen (#618)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris authored May 27, 2024
1 parent dd92dc3 commit 4d3cddd
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/routes/tutorial/[slug]/Loading.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,9 @@
height: 10rem;
}
@media (prefers-color-scheme: dark) {
.loading {
--faded: #444;
--progress: #555;
--cutout: var(--sk-back-2);
}
:global(.dark) .loading {
--faded: #444;
--progress: #555;
--cutout: var(--sk-back-2);
}
</style>

0 comments on commit 4d3cddd

Please sign in to comment.