Skip to content

Commit dac5b4e

Browse files
authored
fix dark mode lack of button
the button was using the hex code and not the RGB string
1 parent 0ba1f07 commit dac5b4e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

style.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
:root {
55
--ctp-text: var(--ctp-latte-text);
66
--ctp-base: var(--ctp-latte-base-rgb);
7-
--ctp-blue: var(--ctp-latte-blue);
7+
--ctp-blue: var(--ctp-latte-blue-rgb);
88
--ctp-lavender: var(--ctp-latte-lavender);
99
--ctp-antitext: var(--ctp-frappe-text);
1010
--ctp-antibase: var(--ctp-frappe-base-rgb);
@@ -111,7 +111,7 @@ h2:first-child {
111111

112112
/* Links */
113113
a {
114-
color: var(--ctp-blue);
114+
color: rgba(var(--ctp-blue));
115115
font-weight: 600;
116116
text-decoration: none;
117117
cursor: pointer;
@@ -386,11 +386,11 @@ footer {
386386
:root {
387387
--ctp-text: var(--ctp-frappe-text);
388388
--ctp-base: var(--ctp-frappe-base-rgb);
389-
--ctp-blue: var(--ctp-frappe-blue);
389+
--ctp-blue: var(--ctp-frappe-blue-rgb);
390390
--ctp-lavender: var(--ctp-frappe-lavender);
391391
--ctp-antitext: var(--ctp-latte-text);
392392
--ctp-antibase: var(--ctp-latte-base-rgb);
393-
--ctp-antiblue: var(--ctp-latte-blue);
393+
--ctp-antiblue: var(--ctp-latte-blue-rgb);
394394
--ctp-antilavender: var(--ctp-latte-lavender);
395395
}
396396

0 commit comments

Comments
 (0)