Repository navigation
feat: add dark mode theme - #14
Conversation
Co-authored-by: MathiasVDA <15101339+MathiasVDA@users.noreply.github.com>
Co-authored-by: MathiasVDA <15101339+MathiasVDA@users.noreply.github.com>
Co-authored-by: MathiasVDA <15101339+MathiasVDA@users.noreply.github.com>
MathiasVDA
left a comment
There was a problem hiding this comment.
the endpoint textbox also needs to be dark (with white text)
the colors of the share, query execute and maximise buttons in yasq dark mode are not changed
did you also adapt the plugin interface so that plug ins can also change mode?
did you adapt the default plugins 'table' and 'response' ? Also create a screenshot of these. Use a dummy yasqe query response if you can't access the internet
Co-authored-by: MathiasVDA <15101339+MathiasVDA@users.noreply.github.com>
MathiasVDA
left a comment
There was a problem hiding this comment.
The themeToggleIcon pushes the list of the queries to the right side. It would be better to put this icon next to the settings icon, between the settings icon and the 'prefix' button.
I notice the following three elements that do not change with a theme toggle:
- the "Query" tab labels
- the hint 'press CTRL - '
- the settings modal dialog
please implement changes
- Move theme toggle button from tab bar to control bar (between Settings and PREFIX button) - Fix "Query" tab label color to use theme variables - Add theming for notification hints and CodeMirror autocomplete hints - Update TabSettingsModal to handle theme toggle button creation Co-authored-by: MathiasVDA <15101339+MathiasVDA@users.noreply.github.com>
Fixed in commit a92b25e:
|


Implements light/dark theme switching for Yasgui with persistent user preferences and system theme detection.
Implementation
prefers-color-schemetheme?: 'light' | 'dark'andshowThemeToggle?: boolean(default: true)Themed Components
API
Screenshots
Light Mode:

Dark Mode:

See THEME_GUIDE.md for detailed configuration options.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.