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 feature #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

992manav
Copy link

fixes #4
This pull request introduces a dark mode option to the Own-AI application, addressing the need for improved user experience in various lighting conditions. The addition of dark mode will help reduce eye strain, particularly in low-light environments, and can also contribute to battery savings on OLED displays.

Proposed Implementation:

Dark Mode Toggle: Added a toggle button to the user interface, allowing users to switch between light and dark themes based on their preference.
Accessibility Compliance: Ensured that dark mode maintains proper color contrast and adheres to accessibility standards to support visually impaired users.
System Preferences Integration: Implemented functionality to respect system theme preferences (light or dark) on supported browsers and devices, automatically applying the theme based on user system settings when possible.
Changes Made:

Introduced a theme toggle button in the user interface for switching between light and dark modes.
Updated CSS styles to include dark mode with proper color contrasts and accessibility considerations.
Implemented logic to detect and apply system theme preferences.
image
image
image

Copy link
Owner

@sujal-goswami sujal-goswami left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @992manav , could you please change the current dark colour combination? You can explore combinations from colour palettes. The current one looks too dark.

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.

Feature Request: Dark Mode Support
2 participants