Skip to content

Conversation

@sneycampos
Copy link
Contributor

In the currently implementation there's a bug (at least for me) in the toggle theme button in the footer.

When i open the site for the first time and it loads with my system's theme, so i click in the toggle theme button and nothing happens but the button state is changed, so i click again and it changes the website theme.

In this PR i'm using the toggleDarkMode function to change the theme

Screen.Recording.2025-03-17.at.14.43.34.mp4

@sneycampos sneycampos changed the title using toggleDarkMode function when clicks in toggle-theme footer button fix - using toggleDarkMode function when clicks in toggle-theme footer button Mar 17, 2025
@sneycampos sneycampos changed the title fix - using toggleDarkMode function when clicks in toggle-theme footer button fix - toggle theme button Mar 17, 2025
@sneycampos sneycampos changed the title fix - toggle theme button fix - toggle theme action Mar 17, 2025
@sneycampos sneycampos changed the title fix - toggle theme action fix - toggle theme Mar 17, 2025
@innocenzi innocenzi changed the title fix - toggle theme fix: update theme toggling in the footer Mar 17, 2025
@innocenzi innocenzi merged commit 30c0b9e into tempestphp:main Mar 17, 2025
1 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants