xonecas.io
471
Nb

nextjs-boilerplate / files

nextjs-boilerplate / app / globals.css

606 bytes
1@tailwind base;
2@tailwind components;
3@tailwind utilities;
4
5:root {
6  --foreground-rgb: 0, 0, 0;
7  --background-start-rgb: 214, 219, 220;
8  --background-end-rgb: 255, 255, 255;
9}
10
11@media (prefers-color-scheme: dark) {
12  :root {
13    --foreground-rgb: 255, 255, 255;
14    --background-start-rgb: 0, 0, 0;
15    --background-end-rgb: 0, 0, 0;
16  }
17}
18
19body {
20  color: rgb(var(--foreground-rgb));
21  background: linear-gradient(
22      to bottom,
23      transparent,
24      rgb(var(--background-end-rgb))
25    )
26    rgb(var(--background-start-rgb));
27}
28
29@layer utilities {
30  .text-balance {
31    text-wrap: balance;
32  }
33}