Skip to content

Commit 2355c1a

Browse files
authored
refactor: Changed colors of theme toggle to match with the others elements (#1157)
### 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. If it affect colors, please include screenshots/recording in both light and dark mode. Light theme: ![imagen](https://github.com/user-attachments/assets/7b1a0108-960a-40f1-9e87-5bb9442fc9dc) Dark theme: ![imagen](https://github.com/user-attachments/assets/857dc44d-b5bc-4cc8-868d-b92e3f0d78cb)
1 parent bcac39f commit 2355c1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/islands/DarkModeToggle.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export default function DarkModeToggle() {
4747
return (
4848
<button
4949
onClick={toggleDarkMode}
50-
class="p-2 rounded-md text-primary hover:bg-jsr-gray-100 dark:hover:bg-jsr-gray-900 focus:outline-none"
50+
class="p-2 rounded-md text-jsr-cyan-700 hover:text-jsr-cyan-900 dark:text-cyan-400 dark:hover:text-cyan-300 hover:bg-jsr-gray-100 dark:hover:bg-jsr-gray-900 focus:outline-none"
5151
title={isDark ? "Switch to light mode" : "Switch to dark mode"}
5252
aria-label={isDark ? "Switch to light mode" : "Switch to dark mode"}
5353
type="button"

0 commit comments

Comments
 (0)