Skip to content

Commit 172e296

Browse files
authored
fix: Theme toggle icon now changes (#1156)
### PR Checklist - [X] The PR title follows [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/) - [X] Does the PR have changes to the frontend? If so, include screenshots or a recording of the changes. <br/>If it affect colors, please include screenshots/recording in both light and dark mode. Before: ![imagen](https://github.com/user-attachments/assets/5f88fcea-0558-4ca6-8430-de1b76c2f6f4) After: ![imagen](https://github.com/user-attachments/assets/b91e09c7-0d63-4d5b-b6c1-cf603ef2097c)
1 parent 30f789a commit 172e296

25 files changed

+2069
-427
lines changed

api/src/docs/bulb.svg

Lines changed: 13 additions & 4 deletions
Loading

api/src/docs/info-circle.svg

Lines changed: 11 additions & 3 deletions
Loading

api/src/docs/warning-message.svg

Lines changed: 13 additions & 4 deletions
Loading

api/src/docs/warning-octagon.svg

Lines changed: 13 additions & 4 deletions
Loading

api/src/docs/warning-triangle.svg

Lines changed: 13 additions & 4 deletions
Loading

frontend/islands/DarkModeToggle.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export default function DarkModeToggle() {
5252
aria-label={isDark ? "Switch to light mode" : "Switch to dark mode"}
5353
type="button"
5454
>
55-
{isDark
55+
{isDark.value
5656
? <TbBrightnessUpFilled class="size-5" />
5757
: <TbMoonFilled class="size-5" />}
5858
</button>

0 commit comments

Comments
 (0)