diff options
author | 6543 <6543@obermui.de> | 2023-09-02 05:10:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-02 05:10:41 +0200 |
commit | 79f73299710fe8596b6ea31c0fa0ab97ab3dc801 (patch) | |
tree | fc7f1da404f9dfaa177f990ffea913bc22cae9d8 | |
parent | a625f3a76198bed3c857f5c00f238bf9516ca950 (diff) | |
download | gitea-79f73299710fe8596b6ea31c0fa0ab97ab3dc801.tar.gz gitea-79f73299710fe8596b6ea31c0fa0ab97ab3dc801.zip |
Make it posible to customize nav text color via css var (#26807)
---
*Sponsored by Kithara Software GmbH*
-rw-r--r-- | web_src/css/base.css | 1 | ||||
-rw-r--r-- | web_src/css/modules/navbar.css | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/web_src/css/base.css b/web_src/css/base.css index 4330fb1df0..53c6f78206 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -245,6 +245,7 @@ --color-tooltip-bg: #000000f0; --color-nav-bg: #ffffff; --color-nav-hover-bg: #ebebeb; + --color-nav-text: var(--color-text); --color-label-text: #232323; --color-label-bg: #cacaca5b; --color-label-hover-bg: #cacacaa0; diff --git a/web_src/css/modules/navbar.css b/web_src/css/modules/navbar.css index de25ea6811..61dffb3c80 100644 --- a/web_src/css/modules/navbar.css +++ b/web_src/css/modules/navbar.css @@ -34,6 +34,10 @@ justify-content: center; } +#navbar > .menu > .item { + color: var(--color-nav-text); +} + #navbar .dropdown .item { justify-content: stretch; } |