Skip to content

fix: dark mode not being instant#111

Merged
LovelessCodes merged 4 commits intoreleasefrom
fix/instant-dark-mode
Oct 28, 2025
Merged

fix: dark mode not being instant#111
LovelessCodes merged 4 commits intoreleasefrom
fix/instant-dark-mode

Conversation

@LovelessCodes
Copy link
Owner

Summary

  • Solve an issue where dark mode was not being applied instantly.

Changes

  • Instantly change the document.body class list, when dark mode is toggled.
  • Remove Node requirement from prerequisites, since Node is not required when we use Bun.

Checklist

  • I have linked related issues using #
  • I have updated documentation where appropriate
  • I have verified backward compatibility or noted breaking changes
  • I have run linters/formatters and addressed warnings

* Bumped versions for several dependencies to their latest releases:
  - `@tanstack/react-devtools` from `^0.7.8` to `^0.7.9`
  - `@tanstack/react-router` from `^1.133.27` to `^1.133.32`
  - `@tanstack/react-router-devtools` from `^1.133.27` to `^1.133.34`
  - `@tauri-apps/plugin-dialog` from `~2` to `~2.4.2`
  - `@tauri-apps/plugin-fs` from `~2.4.2` to `~2.4.4`
  - `@tauri-apps/plugin-opener` from `~2` to `~2.5.2`
  - `@tauri-apps/plugin-window-state` from `^2.4.0` to `^2.4.1`
  - `@biomejs/biome` from `^2.3.0` to `^2.3.1`
  - `@tanstack/router-plugin` from `^1.133.27` to `^1.133.32`
* Ensure the body class reflects the current dark mode state.
* Adds `document.body.classList.add("dark")` when enabling dark mode.
* Removes the class when disabling dark mode.
* Added a note about resolving the issue where dark mode was not being enabled/disabled instantly when switching.
* Updated the prerequisites section to reflect the current tooling needed for running Story Forge locally.
@LovelessCodes LovelessCodes merged commit 8b45fee into release Oct 28, 2025
1 check passed
@LovelessCodes LovelessCodes deleted the fix/instant-dark-mode branch October 28, 2025 13:11
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.

1 participant