doc: css: fix dark theme for gui roles
Fix dark theme issues with guilabel and menuselection roles. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
parent
00758b3e9a
commit
df6a9f2d30
3 changed files with 14 additions and 0 deletions
8
doc/_static/css/custom.css
vendored
8
doc/_static/css/custom.css
vendored
|
@ -582,6 +582,14 @@ kbd, .kbd,
|
|||
vertical-align: middle;
|
||||
}
|
||||
|
||||
/* guilabel and menuselection tweaks */
|
||||
.rst-content .guilabel,
|
||||
.rst-content .menuselection {
|
||||
color: var(--body-color);
|
||||
background-color: var(--guiitems-background-color);
|
||||
border-color: var(--guiitems-border-color);
|
||||
}
|
||||
|
||||
/* Buttons */
|
||||
|
||||
.btn-neutral {
|
||||
|
|
3
doc/_static/css/dark.css
vendored
3
doc/_static/css/dark.css
vendored
|
@ -87,6 +87,9 @@
|
|||
--kbd-shadow-color: #1e2023;
|
||||
--kbd-text-color: #e2f2ff;
|
||||
|
||||
--guiitems-background-color: #303d4f;
|
||||
--guiitems-border-color: #7fbbe3;
|
||||
|
||||
--btn-neutral-background-color: #404040;
|
||||
--btn-neutral-hover-background-color: #505050;
|
||||
--footer-color: #aaa;
|
||||
|
|
3
doc/_static/css/light.css
vendored
3
doc/_static/css/light.css
vendored
|
@ -85,6 +85,9 @@
|
|||
--kbd-shadow-color: #b0b7bf;
|
||||
--kbd-text-color: #444d56;
|
||||
|
||||
--guiitems-background-color: #e7f2fa;
|
||||
--guiitems-border-color: #7fbbe3;
|
||||
|
||||
--btn-neutral-background-color: #f3f6f6;
|
||||
--btn-neutral-hover-background-color: #e5ebeb;
|
||||
--footer-color: #808080;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue