Skip to content

Commit d28ae95

Browse files
authored
Update style.css
1 parent f91d549 commit d28ae95

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

style.css

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
/* Root Variables - Light Mode (Default) */
44
:root {
55
--ctp-text: var(--ctp-latte-text);
6-
--ctp-base: var(--ctp-latte-base);
6+
--ctp-base: var(--ctp-latte-base-rgb);
77
--ctp-blue: var(--ctp-latte-blue);
88
--ctp-lavender: var(--ctp-latte-lavender);
99
--ctp-antitext: var(--ctp-frappe-text);
10-
--ctp-antibase: var(--ctp-frappe-base);
10+
--ctp-antibase: var(--ctp-frappe-base-rgb);
1111
--ctp-antiblue: var(--ctp-frappe-blue);
1212
--ctp-antilavender: var(--ctp-frappe-lavender);
1313
font-family: Inter, sans-serif;
@@ -31,7 +31,7 @@ html {
3131

3232
/* Body */
3333
body {
34-
background: var(--ctp-base);
34+
background: rgb(var(--ctp-base));
3535
color: var(--ctp-text);
3636
margin: 0;
3737
font-size: 1rem;
@@ -136,7 +136,7 @@ h1 {
136136

137137
/* Footer */
138138
body > footer {
139-
background-color: var(--ctp-antibase);
139+
background-color: rgb(var(--ctp-antibase));
140140
color: var(--ctp-antitext);
141141
line-height: 4em;
142142
padding: 1rem 1rem 0;
@@ -185,7 +185,7 @@ body > footer {
185185
margin: 1rem;
186186
padding: 54px;
187187
border-radius: 24px;
188-
background-color: var(--ctp-antibase);
188+
background-color: rgb(var(--ctp-antibase));
189189
color: var(--ctp-antitext);
190190
}
191191

@@ -218,11 +218,11 @@ a[href^="http"]:not(:has(.arrow)):not(:has(img)):not(:has(svg))::after {
218218
@media (prefers-color-scheme: dark) {
219219
:root {
220220
--ctp-text: var(--ctp-frappe-text);
221-
--ctp-base: var(--ctp-frappe-base);
221+
--ctp-base: var(--ctp-frappe-base-rgb);
222222
--ctp-blue: var(--ctp-frappe-blue);
223223
--ctp-lavender: var(--ctp-frappe-lavender);
224224
--ctp-antitext: var(--ctp-latte-text);
225-
--ctp-antibase: var(--ctp-latte-base);
225+
--ctp-antibase: var(--ctp-latte-base-rgb);
226226
--ctp-antiblue: var(--ctp-latte-blue);
227227
--ctp-antilavender: var(--ctp-latte-lavender);
228228
}
@@ -235,4 +235,4 @@ a[href^="http"]:not(:has(.arrow)):not(:has(img)):not(:has(svg))::after {
235235
.view-switcher .current {
236236
background-color: rgb(255 255 255 / 5%);
237237
}
238-
}
238+
}

0 commit comments

Comments
 (0)