@import "tailwindcss"; @import "tw-animate-css"; /* ---break--- */ @custom-variant dark (&:is(.dark *)); @plugin "@tailwindcss/typography"; @theme { --color-background: #fff5eb; --color-brand-text-50: rgb(15, 13, 10); --color-brand-text-100: rgb(30, 27, 21); --color-brand-text-200: rgb(60, 53, 42); --color-brand-text-300: rgb(90, 80, 63); --color-brand-text-400: rgb(120, 106, 84); --color-brand-text-500: rgb(150, 133, 105); --color-brand-text-600: rgb(171, 157, 135); --color-brand-text-700: rgb(192, 182, 165); --color-brand-text-800: rgb(213, 206, 195); --color-brand-text-900: rgb(234, 231, 225); --color-brand-text-950: rgb(245, 243, 240); --color-brand-background-50: rgb(9, 14, 17); --color-brand-background-100: rgb(18, 28, 33); --color-brand-background-200: rgb(36, 56, 66); --color-brand-background-300: rgb(54, 84, 99); --color-brand-background-400: rgb(71, 112, 133); --color-brand-background-500: rgb(89, 140, 166); --color-brand-background-600: rgb(122, 163, 184); --color-brand-background-700: rgb(156, 186, 201); --color-brand-background-800: rgb(189, 209, 219); --color-brand-background-900: rgb(222, 232, 237); --color-brand-background-950: rgb(238, 244, 246); --color-brand-primary-50: rgb(7, 11, 18); --color-brand-primary-100: rgb(15, 22, 36); --color-brand-primary-200: rgb(29, 44, 73); --color-brand-primary-300: rgb(44, 67, 109); --color-brand-primary-400: rgb(58, 89, 146); --color-brand-primary-500: rgb(73, 111, 182); --color-brand-primary-600: rgb(109, 140, 197); --color-brand-primary-700: rgb(146, 169, 211); --color-brand-primary-800: rgb(182, 197, 226); --color-brand-primary-900: rgb(219, 226, 240); --color-brand-primary-950: rgb(237, 241, 248); /* --color-brand-secondary-50: rgb(9, 17, 9); --color-brand-secondary-100: rgb(18, 33, 18); --color-brand-secondary-200: rgb(35, 67, 36); --color-brand-secondary-300: rgb(53, 100, 54); --color-brand-secondary-400: rgb(70, 134, 72); --color-brand-secondary-500: rgb(88, 167, 91); --color-brand-secondary-600: rgb(121, 185, 123); --color-brand-secondary-700: rgb(155, 202, 156); --color-brand-secondary-800: rgb(188, 220, 189); --color-brand-secondary-900: rgb(222, 237, 222); --color-brand-secondary-950: rgb(238, 246, 239); */ --color-brand-text: rgb(87, 77, 61); --color-brand-background: rgb(242, 246, 248); --color-brand-primary:rgb(134, 159, 207); /* --color-brand-secondary: #8ac18c; --color-brand-accent: #e9e154; */ } /* @theme light { --color-background: #fff5eb; --color-text: #141d31; } @theme dark { --color-background: #141d31; --color-text: #fff5eb; } */ .btn { @apply border px-4 py-2 rounded-lg hover:cursor-pointer transition-colors duration-300 } .btn-primary{ @apply bg-brand-primary text-brand-background border-0 hover:bg-brand-primary-500 transition-colors duration-300 } .prose h1 { @apply text-2xl font-bold m-0 p-0 } .prose h2 { @apply text-xl font-bold m-0 p-0 } .prose p { @apply p-0 m-0 } .prose a { @apply text-brand-primary-500 } .input { @apply block w-full px-4 py-2 rounded-md text-sm text-gray-900 bg-white border border-gray-300 shadow-sm placeholder-gray-400 focus:outline-none focus:ring-2 focus:ring-brand-primary-500 focus:border-brand-primary-500; } .input-bordered { @apply border border-gray-300; } .textarea { @apply block w-full px-4 py-2 rounded-md text-sm text-gray-900 bg-white border border-gray-300 shadow-sm placeholder-gray-400 resize-y min-h-[100px] focus:outline-none focus:ring-2 focus:ring-brand-primary-500 focus:border-brand-primary-500; } .textarea-bordered { @apply border border-gray-300; } /* ---break--- */ @theme inline { --radius-sm: calc(var(--radius) - 4px); --radius-md: calc(var(--radius) - 2px); --radius-lg: var(--radius); --radius-xl: calc(var(--radius) + 4px); --color-background: var(--background); --color-foreground: var(--foreground); --color-card: var(--card); --color-card-foreground: var(--card-foreground); --color-popover: var(--popover); --color-popover-foreground: var(--popover-foreground); --color-primary: var(--primary); --color-primary-foreground: var(--primary-foreground); --color-secondary: var(--secondary); --color-secondary-foreground: var(--secondary-foreground); --color-muted: var(--muted); --color-muted-foreground: var(--muted-foreground); --color-accent: var(--accent); --color-accent-foreground: var(--accent-foreground); --color-destructive: var(--destructive); --color-border: var(--border); --color-input: var(--input); --color-ring: var(--ring); --color-chart-1: var(--chart-1); --color-chart-2: var(--chart-2); --color-chart-3: var(--chart-3); --color-chart-4: var(--chart-4); --color-chart-5: var(--chart-5); --color-sidebar: var(--sidebar); --color-sidebar-foreground: var(--sidebar-foreground); --color-sidebar-primary: var(--sidebar-primary); --color-sidebar-primary-foreground: var(--sidebar-primary-foreground); --color-sidebar-accent: var(--sidebar-accent); --color-sidebar-accent-foreground: var(--sidebar-accent-foreground); --color-sidebar-border: var(--sidebar-border); --color-sidebar-ring: var(--sidebar-ring); } /* ---break--- */ :root { --radius: 0.625rem; --background: oklch(1 0 0); --foreground: oklch(0.147 0.004 49.25); --card: oklch(1 0 0); --card-foreground: oklch(0.147 0.004 49.25); --popover: oklch(1 0 0); --popover-foreground: oklch(0.147 0.004 49.25); --primary: oklch(0.216 0.006 56.043); --primary-foreground: oklch(0.985 0.001 106.423); --secondary: oklch(0.97 0.001 106.424); --secondary-foreground: oklch(0.216 0.006 56.043); --muted: oklch(0.97 0.001 106.424); --muted-foreground: oklch(0.553 0.013 58.071); --accent: oklch(0.97 0.001 106.424); --accent-foreground: oklch(0.216 0.006 56.043); --destructive: oklch(0.577 0.245 27.325); --border: oklch(0.923 0.003 48.717); --input: oklch(0.923 0.003 48.717); --ring: oklch(0.709 0.01 56.259); --chart-1: oklch(0.646 0.222 41.116); --chart-2: oklch(0.6 0.118 184.704); --chart-3: oklch(0.398 0.07 227.392); --chart-4: oklch(0.828 0.189 84.429); --chart-5: oklch(0.769 0.188 70.08); --sidebar: oklch(0.985 0.001 106.423); --sidebar-foreground: oklch(0.147 0.004 49.25); --sidebar-primary: oklch(0.216 0.006 56.043); --sidebar-primary-foreground: oklch(0.985 0.001 106.423); --sidebar-accent: oklch(0.97 0.001 106.424); --sidebar-accent-foreground: oklch(0.216 0.006 56.043); --sidebar-border: oklch(0.923 0.003 48.717); --sidebar-ring: oklch(0.709 0.01 56.259); } /* ---break--- */ .dark { --background: oklch(0.147 0.004 49.25); --foreground: oklch(0.985 0.001 106.423); --card: oklch(0.216 0.006 56.043); --card-foreground: oklch(0.985 0.001 106.423); --popover: oklch(0.216 0.006 56.043); --popover-foreground: oklch(0.985 0.001 106.423); --primary: oklch(0.923 0.003 48.717); --primary-foreground: oklch(0.216 0.006 56.043); --secondary: oklch(0.268 0.007 34.298); --secondary-foreground: oklch(0.985 0.001 106.423); --muted: oklch(0.268 0.007 34.298); --muted-foreground: oklch(0.709 0.01 56.259); --accent: oklch(0.268 0.007 34.298); --accent-foreground: oklch(0.985 0.001 106.423); --destructive: oklch(0.704 0.191 22.216); --border: oklch(1 0 0 / 10%); --input: oklch(1 0 0 / 15%); --ring: oklch(0.553 0.013 58.071); --chart-1: oklch(0.488 0.243 264.376); --chart-2: oklch(0.696 0.17 162.48); --chart-3: oklch(0.769 0.188 70.08); --chart-4: oklch(0.627 0.265 303.9); --chart-5: oklch(0.645 0.246 16.439); --sidebar: oklch(0.216 0.006 56.043); --sidebar-foreground: oklch(0.985 0.001 106.423); --sidebar-primary: oklch(0.488 0.243 264.376); --sidebar-primary-foreground: oklch(0.985 0.001 106.423); --sidebar-accent: oklch(0.268 0.007 34.298); --sidebar-accent-foreground: oklch(0.985 0.001 106.423); --sidebar-border: oklch(1 0 0 / 10%); --sidebar-ring: oklch(0.553 0.013 58.071); } /* ---break--- */ @layer base { * { @apply border-border outline-ring/50; } body { @apply bg-background text-foreground; } }