feat: Implement dark mode theme toggle and persist user preference#42
Open
jogabyte wants to merge 1 commit intoglebkudr:mainfrom
Open
feat: Implement dark mode theme toggle and persist user preference#42jogabyte wants to merge 1 commit intoglebkudr:mainfrom
jogabyte wants to merge 1 commit intoglebkudr:mainfrom
Conversation
- Added theme toggle button in LlmSettingsModal.vue to switch between light and dark modes. - Enhanced UI components across the application to support dark mode styling. - Introduced theme management functions in main.js to handle theme application and persistence in localStorage. - Updated tailwind.config.js to enable dark mode support via class. - Added EventsOffAll function in runtime.js for improved event management.
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.
Summary
Implemented a dark theme for the shotgun_code application to improve user experience, especially in low-light environments.
Details & Considerations
All core UI components and Vue pages have been updated: colors, backgrounds, text, menus, dialogs, and toolbar elements.
Added a toggle between light and dark modes in user settings, with preference persisted via localStorage.
Updated custom CSS and replaced hard-coded color values to support dark mode.
Tested the new theme for contrast, accessibility, and readability.
Utilized Tailwind CSS dark mode features for efficient theme management.
Documented differences, limitations, and technical details.
References
Followed best practices from Tailwind CSS and Vue.
Related issues/PRs: #41