1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Adopt lens color palette for both light and dark theme + make dark theme default

Signed-off-by: Mario Sarcher <mario@sarcher.de>
This commit is contained in:
Mario Sarcher 2021-05-18 17:08:29 +02:00
commit 26809dce72
2 changed files with 30 additions and 5 deletions

View File

@ -5,13 +5,38 @@
:root > * {
/* Footer */
--md-footer-bg-color: #3d90ce;
--md-footer-bg-color: #e8e8e8;
--md-footer-bg-color--dark: #cccdcf;
--md-footer-fg-color: #3d90ce;
--md-footer-fg-color--light: #fff;
/* Background */
--md-default-bg-color: #f1f1f1;
}
[data-md-color-scheme="slate"] {
/* Footer */
--md-footer-bg-color: #2e3136;
--md-footer-bg-color--dark: #262b2f;
--md-footer-fg-color: #3d90ce;
--md-footer-fg-color--light: #fff;
/* Background */
--md-default-bg-color: #1e2124;
}
.md-version__list {
overflow: auto;
}
.md-header-nav__title {
margin-left: 0;
}
.md-header__title {
margin-left: 0;
}
ul.video-list {
counter-reset: section;
list-style: none;

View File

@ -59,13 +59,13 @@ theme:
favicon: img/favicon.ico
logo: img/lens-logo-icon.svg
palette:
- scheme: default
toggle:
icon: material/toggle-switch
name: Switch to light mode
- scheme: slate
toggle:
icon: material/toggle-switch-off-outline
name: Switch to light mode
- scheme: default
toggle:
icon: material/toggle-switch
name: Switch to dark mode
features:
- toc.autohide