Feat/lotanna dark mode - #21
Open
lota001 wants to merge 2 commits into
Open
Conversation
raphgm
previously approved these changes
Jul 12, 2026
raphgm
previously approved these changes
Jul 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Added a new DarkMode.tsx feature that provides a reusable dark/light theme toggle for PinPointPro.
Implemented a hook to manage theme state, persist user preference, and apply the correct theme class to the document.
Added a button component that can be integrated into the existing UI for an easy on/off switch.
Why it improves the project
Enhances usability by giving users a native dark mode option, which is a common and expected feature for modern productivity apps.
Improves accessibility and comfort for low-light workflows, making the app more pleasant for extended use.
Adds a meaningful functional extension without disrupting the existing architecture and keeps the feature scope isolated to a dedicated component and hook.
How it was tested
Verified that theme preference persists across refreshes by toggling dark/light mode and reloading the page.
Confirmed the appropriate class names are applied to the document root.
Checked that the toggle text and icon update correctly when switching themes.
This contribution is a feature development change that extends PinPointPro’s functionality in a well-scoped way