nextjs-tailwindcss-headless.../app/globals.css

23 lines
584 B
CSS
Raw Normal View History

2023-08-25 12:43:48 +08:00
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
2023-08-25 13:14:23 +08:00
--foreground-rgb: 0, 0, 0;
--background-start-rgb: 214, 219, 220;
--background-end-rgb: 255, 255, 255;
2023-08-25 12:43:48 +08:00
}
2023-08-25 13:14:23 +08:00
/*@media (prefers-color-scheme: dark) {*/
/* :root {*/
/* --foreground-rgb: 255, 255, 255;*/
/* --background-start-rgb: 0, 0, 0;*/
/* --background-end-rgb: 0, 0, 0;*/
/* }*/
/*}*/
2023-08-25 12:43:48 +08:00
body {
2023-08-25 13:14:23 +08:00
color: rgb(var(--foreground-rgb));
background: /*linear-gradient(*/ /* to bottom,*/ /* transparent,*/ /* rgb(var(--background-end-rgb))*/ /* )*/ rgb(var(--background-start-rgb));
2023-08-25 12:43:48 +08:00
}