Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cda456d

Browse files
committed
feat: add variable to set distinct hyperlink color
useful if links should have a different color than `--primary-color`.
1 parent abd3b9c commit cda456d

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
@@ -15,6 +15,8 @@ html {
1515
--primary-light-color: #70b1e9;
1616
--on-primary-color: #ffffff;
1717

18+
--link-color: var(--primary-color);
19+
1820
/* page base colors */
1921
--page-background-color: #ffffff;
2022
--page-foreground-color: #2f4153;
@@ -315,7 +317,7 @@ p.reference, p.definition {
315317
}
316318

317319
a:link, a:visited, a:hover, a:focus, a:active {
318-
color: var(--primary-color) !important;
320+
color: var(--link-color) !important;
319321
font-weight: 500;
320322
background: none;
321323
}

0 commit comments

Comments
 (0)