Skip to content

Commit

Permalink
style: options page dark theme improved
Browse files Browse the repository at this point in the history
  • Loading branch information
parnavh committed Oct 29, 2024
1 parent 4cd3b26 commit 7d5d67c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 16 deletions.
5 changes: 5 additions & 0 deletions .changeset/tough-yaks-chew.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"gregmat-buddy": patch
---

options page dark theme improved
13 changes: 0 additions & 13 deletions biome.json

This file was deleted.

6 changes: 5 additions & 1 deletion src/components/option/option.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
</Tooltip.Content>
</Tooltip.Root>
{/if}
<Switch {id} bind:checked />
<Switch
{id}
bind:checked
class="dark:data-[state=checked]:bg-slate-600 dark:data-[state=unchecked]:bg-slate-300"
/>
</div>
</div>
4 changes: 2 additions & 2 deletions src/entrypoints/options/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@
}
</script>

<main class="h-lvh dark:bg-black dark:text-white">
<main class="h-lvh dark:bg-slate-800 dark:text-white">
<div class="h-lvh grid place-items-center">
<Tabs.Root value="general" class="w-[400px]">
<Tabs.List class="w-[400px]">
<Tabs.List class="w-[400px] dark:bg-slate-700">
<Tabs.Trigger value="general" class="w-full">General</Tabs.Trigger>
<Tabs.Trigger value="gregmat" class="w-full">GregMat</Tabs.Trigger>
<Tabs.Trigger value="prepswift" class="w-full">PrepSwift</Tabs.Trigger>
Expand Down

0 comments on commit 7d5d67c

Please sign in to comment.