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;
3131
3232/* Body */
3333body {
34- background: var(--ctp-base);
34+ background: rgb( var(--ctp-base) );
3535 color: var(--ctp-text);
3636 margin: 0;
3737 font-size: 1rem;
136136
137137/* Footer */
138138body > 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