Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added dark mode support #5 #37

Closed
wants to merge 7 commits into from

Conversation

Bhargavaansh2211
Copy link

#5 added feature of dark mode
Dark mode support added , the theme is set automatically based on the theme user is using on the system.
The themeMode property determines which theme mode to use which is initialized as ThemeMode.system.
ThemeMode.system follows the system-wide theme setting of the device. If the system is set to light mode, the app will use the light theme, and if it's set to dark mode, the app will use the dark theme.
Screenshot 2024-03-17 210010

@Bhargavaansh2211 Bhargavaansh2211 changed the title Dark added dark mode support #5 Mar 17, 2024
@Illuminati9
Copy link
Contributor

@Bhargavaansh2211 , can you add toggle button so that user can change it accordingly

@Bhargavaansh2211
Copy link
Author

@Illuminati9 , Sorry I am not able to do so. Does this work as isssue mention switching either based on toggle switch or automatic detection ?

@Illuminati9
Copy link
Contributor

Both works but try to make both like try to add toggle button

@Bhargavaansh2211
Copy link
Author

Bhargavaansh2211 commented Mar 17, 2024

@Illuminati9 added toggle button but it is not able to switch between modes

@Illuminati9
Copy link
Contributor

@Bhargavaansh2211 , no problem but try to do it in future but for now I am accepting your pr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants