Skip to content

Commit 79f7329

Browse files
authored
Make it posible to customize nav text color via css var (#26807)
--- *Sponsored by Kithara Software GmbH*
1 parent a625f3a commit 79f7329

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

web_src/css/base.css

+1
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@
245245
--color-tooltip-bg: #000000f0;
246246
--color-nav-bg: #ffffff;
247247
--color-nav-hover-bg: #ebebeb;
248+
--color-nav-text: var(--color-text);
248249
--color-label-text: #232323;
249250
--color-label-bg: #cacaca5b;
250251
--color-label-hover-bg: #cacacaa0;

web_src/css/modules/navbar.css

+4
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@
3434
justify-content: center;
3535
}
3636

37+
#navbar > .menu > .item {
38+
color: var(--color-nav-text);
39+
}
40+
3741
#navbar .dropdown .item {
3842
justify-content: stretch;
3943
}

0 commit comments

Comments
 (0)