Skip to content

Commit c43d6a5

Browse files
committed
Get the website working a bit better :)
1 parent c88a3a0 commit c43d6a5

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

docs/src/lib/components/base/ModeChanger.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
</Tooltip.Root>
2222
</DropdownMenu.Trigger>
2323
<DropdownMenu.Content align="end">
24-
<DropdownMenu.RadioGroup bind:value={$userPrefersMode}>
24+
<DropdownMenu.RadioGroup value={userPrefersMode.value || 'system'}>
2525
<DropdownMenu.RadioItem value="light" onclick={() => setMode('light')}>
2626
Light
2727
</DropdownMenu.RadioItem>

docs/src/routes/+page.svelte

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,4 +151,12 @@ From wicked puns and stupid jokes to anvils that drop on your head.`)
151151
:global(.diff-insert) {
152152
background-color: #d4ffd4;
153153
}
154+
155+
:global(.dark .diff-remove) {
156+
background-color: #ff0000;
157+
text-decoration: line-through;
158+
}
159+
:global(.dark .diff-insert) {
160+
background-color: #00ff00;
161+
}
154162
</style>

0 commit comments

Comments
 (0)