Skip to content

Commit aa91e4d

Browse files
authored
Refactor color variables in custom.css
Updated color variables for better theme consistency.
1 parent d9c3af1 commit aa91e4d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

css/custom.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
/* variables */
44
:root {
5-
--contrast: rgb(44, 110, 73));
5+
--contrast: rgb(44, 110, 73);
66
--contrast-bg : rgba(44, 110, 73, 0.25);
77
--slate: rgb(233, 230, 225);
88
--hover: rgb(243, 167, 18);
@@ -477,7 +477,7 @@ code {
477477

478478
.popover-link {
479479
position: relative;
480-
color: #222;
480+
color: var(--text);
481481
display: block;
482482
padding: 8px 20px;
483483
border-bottom: 1px solid #eee;
@@ -496,8 +496,8 @@ code {
496496
border-bottom-width: 0; }
497497

498498
.popover-link:hover {
499-
color: #fff;
500-
background: var(--contrast); }
499+
color: var(--text);
500+
background: var(--hover); }
501501

502502
.popover-link:hover,
503503
.popover-item:first-child .popover-link:hover:after {

0 commit comments

Comments
 (0)