Skip to content

Commit 98dd024

Browse files
committed
feat: allow customization of pill foreground color
- new variable `--on-primary-color` - the new variable is used as color for pills and selected top navigation items fixes #172
1 parent af1d903 commit 98dd024

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doxygen-awesome.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ html {
3232
--primary-color: #1779c4;
3333
--primary-dark-color: #335c80;
3434
--primary-light-color: #70b1e9;
35+
--on-primary-color: #ffffff;
3536

3637
/* page base colors */
3738
--page-background-color: #ffffff;
@@ -113,7 +114,7 @@ html {
113114
*/
114115
--menu-display: block;
115116

116-
--menu-focus-foreground: var(--page-background-color);
117+
--menu-focus-foreground: var(--on-primary-color);
117118
--menu-focus-background: var(--primary-color);
118119
--menu-selected-background: rgba(0,0,0,.05);
119120

@@ -944,6 +945,7 @@ td.memSeparator {
944945

945946
span.mlabel {
946947
background: var(--primary-color);
948+
color: var(--on-primary-color);
947949
border: none;
948950
padding: 4px 9px;
949951
border-radius: 12px;

0 commit comments

Comments
 (0)