-
Notifications
You must be signed in to change notification settings - Fork 267
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add experimental support for dark mode
Add experimental support for enabling dark mode display of the Dashboard UI. This doesn't affect the header/nav which are already using a dark presentation, but updates the rest of the UI to adopt a dark look and feel using Carbon's gray 90 theme. For this initial version, dark mode can be enabled by setting a flag in local storage, e.g. `localStorage.setItem('tkn-theme', 'dark')` Supported values are: - `light` which is the default and current theme - `dark` which enables the dark theme - `system` which enables/disables dark theme according to the user's OS settings (uses the `prefers-color-scheme: dark` media query)
- Loading branch information
1 parent
db0e9f1
commit bfa79e5
Showing
2 changed files
with
26 additions
and
4 deletions.
There are no files selected for viewing
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