Implemented code for Dark Background and The Test Code #19
No reviewers
Labels
No Label
Large
Medium
Small
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: david/poker-chips-helper#19
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "MantashaNoyela/18"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The DarkModeToggle component allows users to switch between light mode and dark mode(Gray) in a React Native app. It takes two props:
darkMode (boolean) – Determines the current theme state.
onToggle (function) – Handles the toggle action when the button is pressed.
The UI updates dynamically, changing the background and text color based on the selected mode. This ensures a smooth and visually adaptive experience for users.
I like this feature, the app definitely should have a dark mode.
The challenge here is that with each component defining its own styles, that will mean dark mode will needs to be passed into each component as props with custom logic at every point. Rather than doing more work with the current approach and updating all the sub-components, let's put in a new issue to refactor styles in a shared heirarchy, and have this be blocked by that.
Already worked on dark mode in another PR.
Pull request closed