Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
huntabyte committed Nov 30, 2023
1 parent 37f715d commit 84146cd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/demos/toggle-demo.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</div>
<Toggle.Root
aria-label="toggle code visibility"
class="inline-flex items-center justify-center rounded-[9px] bg-background transition-all sq-10 hover:bg-muted active:scale-98 active:bg-muted data-[state=on]:bg-muted active:data-[state=on]:bg-dark-10"
class="inline-flex items-center justify-center rounded-[9px] bg-background transition-all sq-10 hover:bg-dark-10 active:scale-98 data-[state=on]:bg-muted active:data-[state=on]:bg-dark-10"
bind:pressed={unlocked}
>
<LockKeyOpen class="sq-6" />
Expand Down
6 changes: 3 additions & 3 deletions src/components/demos/toggle-group-demo.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@
<ToggleGroup.Item
aria-label="toggle bold"
value="bold"
class="inline-flex items-center justify-center rounded-[9px] bg-background transition-all sq-10 hover:bg-muted active:scale-98 data-[state=on]:bg-muted"
class="inline-flex items-center justify-center rounded-[9px] bg-background transition-all sq-10 hover:bg-dark-10 active:scale-98 data-[state=on]:bg-muted"
>
<TextB class="sq-6" />
</ToggleGroup.Item>
<ToggleGroup.Item
aria-label="toggle italic"
value="italic"
class="inline-flex items-center justify-center rounded-[9px] bg-background transition-all sq-10 hover:bg-muted active:scale-98 data-[state=on]:bg-muted"
class="inline-flex items-center justify-center rounded-[9px] bg-background transition-all sq-10 hover:bg-dark-10 active:scale-98 data-[state=on]:bg-muted"
>
<TextItalic class="sq-6" />
</ToggleGroup.Item>
<ToggleGroup.Item
aria-label="toggle strikethrough"
value="strikethrough"
class="inline-flex items-center justify-center rounded-[9px] bg-background transition-all sq-10 hover:bg-muted active:scale-98 data-[state=on]:bg-muted"
class="inline-flex items-center justify-center rounded-[9px] bg-background transition-all sq-10 hover:bg-dark-10 active:scale-98 data-[state=on]:bg-muted"
>
<TextStrikethrough class="sq-6" />
</ToggleGroup.Item>
Expand Down
4 changes: 2 additions & 2 deletions src/lib/shared/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { DateValue } from "@internationalized/date";
import type { Month } from '@melt-ui/svelte'
import type { Month } from "@melt-ui/svelte";

export type DateRange = {
start: DateValue | undefined;
Expand All @@ -17,4 +17,4 @@ export type SegmentPart =
| "timeZoneName"
| "literal";

export type { Month }
export type { Month };

0 comments on commit 84146cd

Please sign in to comment.