We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1065eb7 commit d25bd08Copy full SHA for d25bd08
apps/svelte.dev/src/routes/docs/[...path]/+layout.svelte
@@ -42,6 +42,10 @@
42
.toc-container {
43
background: var(--sk-bg-2);
44
display: none;
45
+
46
+ :root.dark & {
47
+ background: var(--sk-bg-0);
48
+ }
49
}
50
51
@media (min-width: 832px) {
packages/site-kit/src/lib/styles/tokens/colours.css
@@ -56,6 +56,7 @@
56
--sk-fg-accent: hsl(12, 94%, 62%);
57
58
/* Background colours */
59
+ --sk-bg-0: hsl(var(--sk-bg-hue), 8%, 10%); /* docs sidebar (dark mode only) */
60
--sk-bg-1: hsl(var(--sk-bg-hue), 10%, 12%);
61
--sk-bg-2: hsl(var(--sk-bg-hue), 12%, 14%);
62
--sk-bg-3: hsl(var(--sk-bg-hue), 14%, 16%);
0 commit comments