forked from weaveworks/weave-gitops
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add dark mode theme to the UI (weaveworks#3677)
* theme edits and styles-provider component * add toggleDarkMode * localStorage * brackets on children prop and one color prop fix * fix places where theme was inline or imported, use mode variable * add mode to test-utils * reverse some colors in dark mode, footer adjustments, nav icon button color inherit * add initial switch plus greyToPrimary color * defaultChecked for dark mode switch * backgrounds, sign in, graph, nav text, switch icons, detail modal. Still a little polishing left to do * new yaml colorization, sync dropdown, alerts in dark mode plus failed toastify, signin eye icon * adds window mock to test-utils, plus various fixes to yaml header, filter dialog button, and detail modal background * alert type error, update toastify for theme access * get new app detail styling in dark mode, style switch for dark mode, overrides for disabled checkbox and input * lint * unify spelling of "gray" and remove all uses of backGray to try and streamline colors a bit * add theme enum, option to override in yaml view * useInDarkMode hook, add mode field to theme * snaps * chip group tests
- Loading branch information
Showing
48 changed files
with
630 additions
and
445 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
Oops, something went wrong.