From 79f73299710fe8596b6ea31c0fa0ab97ab3dc801 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Sat, 2 Sep 2023 05:10:41 +0200 Subject: [PATCH] Make it posible to customize nav text color via css var (#26807) --- *Sponsored by Kithara Software GmbH* --- web_src/css/base.css | 1 + web_src/css/modules/navbar.css | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/web_src/css/base.css b/web_src/css/base.css index 4330fb1df..53c6f7820 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 de25ea681..61dffb3c8 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; }