Skip to content

Commit a0e3813

Browse files
authored
reverse toggles (#718)
* reverse toggles * take it down a notch
1 parent 88ece00 commit a0e3813

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed
Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 1 addition & 1 deletion
Loading

packages/site-kit/src/lib/components/FontToggle.svelte

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,18 @@
3030
}
3131
3232
button[aria-pressed='true'] {
33-
background-image: url(../icons/font-boring-light.svg);
33+
background-image: url(../icons/font-elegant-light.svg);
3434
3535
:global(.dark) & {
36-
background-image: url(../icons/font-boring-dark.svg);
36+
background-image: url(../icons/font-elegant-dark.svg);
3737
}
3838
}
3939
4040
button[aria-pressed='false'] {
41-
background-image: url(../icons/font-elegant-light.svg);
41+
background-image: url(../icons/font-boring-light.svg);
4242
4343
:global(.dark) & {
44-
background-image: url(../icons/font-elegant-dark.svg);
44+
background-image: url(../icons/font-boring-dark.svg);
4545
}
4646
}
4747
</style>

packages/site-kit/src/lib/components/ThemeToggle.svelte

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,11 @@
3131

3232
<style>
3333
button {
34-
background-image: url($lib/icons/theme-light.svg);
34+
background-image: url($lib/icons/theme-dark.svg);
35+
background-size: 2rem;
3536
3637
:global(.dark) & {
37-
background-image: url($lib/icons/theme-dark.svg);
38+
background-image: url($lib/icons/theme-light.svg);
3839
}
3940
}
4041
</style>

0 commit comments

Comments
 (0)