aboutsummaryrefslogtreecommitdiff
path: root/src/index.css
blob: b32d17c86560f24fcb3d512cff372eeea4c214a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

@import "tailwindcss";

@custom-variant dark (&:where(.dark, .dark *));

@layer base {
  body { @apply bg-white dark:bg-black/95; }
  span, p, a, li, code { @apply dark:text-gray-200; }
  svg:not(.no-global) { @apply transform duration-200 ease-in-out hover:scale-110 dark:text-gray-200 hover:text-gray-400 hover:dark:text-white;}
  h1 { @apply text-4xl font-bold mb-4 dark:text-gray-200; }
  h2 { @apply text-2xl font-semibold mb-2 dark:text-gray-200; }
  h3 { @apply text-xl font-semibold dark:text-gray-200; }

  * {
    transition: background-color 0.25s, color 0.25s, border-color 0.25s;
  }
}