Monorepo for wisp.place. A static site hosting service built on top of the AT Protocol. wisp.place
at v1.0.0 5.1 kB view raw
1@import "tailwindcss"; 2@import "tw-animate-css"; 3 4@custom-variant dark (&:is(.dark *)); 5 6:root { 7 /* Warm beige background inspired by Sunset design #E9DDD8 */ 8 --background: oklch(0.90 0.012 35); 9 /* Very dark brown text for strong contrast #2A2420 */ 10 --foreground: oklch(0.18 0.01 30); 11 12 /* Slightly lighter card background */ 13 --card: oklch(0.93 0.01 35); 14 --card-foreground: oklch(0.18 0.01 30); 15 16 --popover: oklch(0.93 0.01 35); 17 --popover-foreground: oklch(0.18 0.01 30); 18 19 /* Dark brown primary inspired by #645343 */ 20 --primary: oklch(0.35 0.02 35); 21 --primary-foreground: oklch(0.95 0.01 35); 22 23 /* Bright pink accent for links #FFAAD2 */ 24 --accent: oklch(0.78 0.15 345); 25 --accent-foreground: oklch(0.18 0.01 30); 26 27 /* Medium taupe secondary inspired by #867D76 */ 28 --secondary: oklch(0.52 0.015 30); 29 --secondary-foreground: oklch(0.95 0.01 35); 30 31 /* Light warm muted background */ 32 --muted: oklch(0.88 0.01 35); 33 --muted-foreground: oklch(0.42 0.015 30); 34 35 --border: oklch(0.75 0.015 30); 36 --input: oklch(0.92 0.01 35); 37 --ring: oklch(0.72 0.08 15); 38 39 --destructive: oklch(0.577 0.245 27.325); 40 --destructive-foreground: oklch(0.985 0 0); 41 42 --chart-1: oklch(0.78 0.15 345); 43 --chart-2: oklch(0.32 0.04 285); 44 --chart-3: oklch(0.56 0.08 220); 45 --chart-4: oklch(0.85 0.02 130); 46 --chart-5: oklch(0.93 0.03 85); 47 48 --radius: 0.75rem; 49 --sidebar: oklch(0.985 0 0); 50 --sidebar-foreground: oklch(0.145 0 0); 51 --sidebar-primary: oklch(0.205 0 0); 52 --sidebar-primary-foreground: oklch(0.985 0 0); 53 --sidebar-accent: oklch(0.97 0 0); 54 --sidebar-accent-foreground: oklch(0.205 0 0); 55 --sidebar-border: oklch(0.922 0 0); 56 --sidebar-ring: oklch(0.708 0 0); 57} 58 59.dark { 60 /* #413C58 - violet background for dark mode */ 61 --background: oklch(0.28 0.04 285); 62 /* #F2E7C9 - parchment text */ 63 --foreground: oklch(0.93 0.03 85); 64 65 --card: oklch(0.32 0.04 285); 66 --card-foreground: oklch(0.93 0.03 85); 67 68 --popover: oklch(0.32 0.04 285); 69 --popover-foreground: oklch(0.93 0.03 85); 70 71 /* #FFAAD2 - pink primary in dark mode */ 72 --primary: oklch(0.78 0.15 345); 73 --primary-foreground: oklch(0.32 0.04 285); 74 75 --accent: oklch(0.78 0.15 345); 76 --accent-foreground: oklch(0.32 0.04 285); 77 78 --secondary: oklch(0.56 0.08 220); 79 --secondary-foreground: oklch(0.93 0.03 85); 80 81 --muted: oklch(0.38 0.03 285); 82 --muted-foreground: oklch(0.75 0.02 85); 83 84 --border: oklch(0.42 0.03 285); 85 --input: oklch(0.42 0.03 285); 86 --ring: oklch(0.78 0.15 345); 87 88 --destructive: oklch(0.577 0.245 27.325); 89 --destructive-foreground: oklch(0.985 0 0); 90 91 --chart-1: oklch(0.78 0.15 345); 92 --chart-2: oklch(0.93 0.03 85); 93 --chart-3: oklch(0.56 0.08 220); 94 --chart-4: oklch(0.85 0.02 130); 95 --chart-5: oklch(0.32 0.04 285); 96 --sidebar: oklch(0.205 0 0); 97 --sidebar-foreground: oklch(0.985 0 0); 98 --sidebar-primary: oklch(0.488 0.243 264.376); 99 --sidebar-primary-foreground: oklch(0.985 0 0); 100 --sidebar-accent: oklch(0.269 0 0); 101 --sidebar-accent-foreground: oklch(0.985 0 0); 102 --sidebar-border: oklch(0.269 0 0); 103 --sidebar-ring: oklch(0.439 0 0); 104} 105 106@theme inline { 107 /* optional: --font-sans, --font-serif, --font-mono if they are applied in the layout.tsx */ 108 --color-background: var(--background); 109 --color-foreground: var(--foreground); 110 --color-card: var(--card); 111 --color-card-foreground: var(--card-foreground); 112 --color-popover: var(--popover); 113 --color-popover-foreground: var(--popover-foreground); 114 --color-primary: var(--primary); 115 --color-primary-foreground: var(--primary-foreground); 116 --color-secondary: var(--secondary); 117 --color-secondary-foreground: var(--secondary-foreground); 118 --color-muted: var(--muted); 119 --color-muted-foreground: var(--muted-foreground); 120 --color-accent: var(--accent); 121 --color-accent-foreground: var(--accent-foreground); 122 --color-destructive: var(--destructive); 123 --color-destructive-foreground: var(--destructive-foreground); 124 --color-border: var(--border); 125 --color-input: var(--input); 126 --color-ring: var(--ring); 127 --color-chart-1: var(--chart-1); 128 --color-chart-2: var(--chart-2); 129 --color-chart-3: var(--chart-3); 130 --color-chart-4: var(--chart-4); 131 --color-chart-5: var(--chart-5); 132 --radius-sm: calc(var(--radius) - 4px); 133 --radius-md: calc(var(--radius) - 2px); 134 --radius-lg: var(--radius); 135 --radius-xl: calc(var(--radius) + 4px); 136 --color-sidebar: var(--sidebar); 137 --color-sidebar-foreground: var(--sidebar-foreground); 138 --color-sidebar-primary: var(--sidebar-primary); 139 --color-sidebar-primary-foreground: var(--sidebar-primary-foreground); 140 --color-sidebar-accent: var(--sidebar-accent); 141 --color-sidebar-accent-foreground: var(--sidebar-accent-foreground); 142 --color-sidebar-border: var(--sidebar-border); 143 --color-sidebar-ring: var(--sidebar-ring); 144} 145 146@layer base { 147 * { 148 @apply border-border outline-ring/50; 149 } 150 body { 151 @apply bg-background text-foreground; 152 } 153} 154 155@keyframes arrow-bounce { 156 0%, 100% { 157 transform: translateX(0); 158 } 159 50% { 160 transform: translateX(4px); 161 } 162} 163 164.arrow-animate { 165 animation: arrow-bounce 1.5s ease-in-out infinite; 166}