Spaces:
Sleeping
Sleeping
| @tailwind base; | |
| @tailwind components; | |
| @tailwind utilities; | |
| /* LIGHT MODE */ | |
| :root { | |
| --button-outline: rgba(0,0,0, .10); | |
| --badge-outline: rgba(0,0,0, .05); | |
| /* Automatic computation of border around primary / danger buttons */ | |
| --opaque-button-border-intensity: -8; /* In terms of percentages */ | |
| /* Backgrounds applied on top of other backgrounds when hovered/active */ | |
| --elevate-1: rgba(0,0,0, .03); | |
| --elevate-2: rgba(0,0,0, .08); | |
| --background: 210 20% 98%; | |
| --foreground: 222 47% 11%; | |
| --border: 214 20% 88%; | |
| --card: 0 0% 100%; | |
| --card-foreground: 222 47% 11%; | |
| --card-border: 214 20% 90%; | |
| --sidebar: 210 25% 96%; | |
| --sidebar-foreground: 222 47% 11%; | |
| --sidebar-border: 214 20% 88%; | |
| --sidebar-primary: 250 84% 54%; | |
| --sidebar-primary-foreground: 0 0% 100%; | |
| --sidebar-accent: 250 50% 95%; | |
| --sidebar-accent-foreground: 250 84% 40%; | |
| --sidebar-ring: 250 84% 54%; | |
| --popover: 0 0% 100%; | |
| --popover-foreground: 222 47% 11%; | |
| --popover-border: 214 20% 88%; | |
| --primary: 250 84% 54%; | |
| --primary-foreground: 0 0% 100%; | |
| --secondary: 214 20% 94%; | |
| --secondary-foreground: 222 47% 20%; | |
| --muted: 214 20% 94%; | |
| --muted-foreground: 215 16% 47%; | |
| --accent: 250 50% 95%; | |
| --accent-foreground: 250 84% 40%; | |
| --destructive: 0 72% 51%; | |
| --destructive-foreground: 0 0% 100%; | |
| --input: 214 20% 85%; | |
| --ring: 250 84% 54%; | |
| --chart-1: 250 84% 54%; | |
| --chart-2: 173 58% 39%; | |
| --chart-3: 197 71% 52%; | |
| --chart-4: 43 96% 56%; | |
| --chart-5: 27 96% 61%; | |
| --font-sans: 'Inter', sans-serif; | |
| --font-serif: Georgia, serif; | |
| --font-mono: 'JetBrains Mono', monospace; | |
| --radius: .5rem; | |
| --shadow-2xs: 0px 1px 2px 0px rgba(0,0,0, 0.03); | |
| --shadow-xs: 0px 1px 3px 0px rgba(0,0,0, 0.05); | |
| --shadow-sm: 0px 2px 4px -1px rgba(0,0,0, 0.06), 0px 1px 2px -1px rgba(0,0,0, 0.03); | |
| --shadow: 0px 4px 6px -1px rgba(0,0,0, 0.07), 0px 2px 4px -1px rgba(0,0,0, 0.04); | |
| --shadow-md: 0px 6px 10px -2px rgba(0,0,0, 0.08), 0px 3px 6px -2px rgba(0,0,0, 0.04); | |
| --shadow-lg: 0px 10px 15px -3px rgba(0,0,0, 0.08), 0px 4px 6px -2px rgba(0,0,0, 0.04); | |
| --shadow-xl: 0px 20px 25px -5px rgba(0,0,0, 0.10), 0px 10px 10px -5px rgba(0,0,0, 0.04); | |
| --shadow-2xl: 0px 25px 50px -12px rgba(0,0,0, 0.25); | |
| --tracking-normal: 0em; | |
| --spacing: 0.25rem; | |
| /* Automatically computed borders */ | |
| --sidebar-primary-border: hsl(var(--sidebar-primary)); | |
| --sidebar-primary-border: hsl(from hsl(var(--sidebar-primary)) h s calc(l + var(--opaque-button-border-intensity)) / alpha); | |
| --sidebar-accent-border: hsl(var(--sidebar-accent)); | |
| --sidebar-accent-border: hsl(from hsl(var(--sidebar-accent)) h s calc(l + var(--opaque-button-border-intensity)) / alpha); | |
| --primary-border: hsl(var(--primary)); | |
| --primary-border: hsl(from hsl(var(--primary)) h s calc(l + var(--opaque-button-border-intensity)) / alpha); | |
| --secondary-border: hsl(var(--secondary)); | |
| --secondary-border: hsl(from hsl(var(--secondary)) h s calc(l + var(--opaque-button-border-intensity)) / alpha); | |
| --muted-border: hsl(var(--muted)); | |
| --muted-border: hsl(from hsl(var(--muted)) h s calc(l + var(--opaque-button-border-intensity)) / alpha); | |
| --accent-border: hsl(var(--accent)); | |
| --accent-border: hsl(from hsl(var(--accent)) h s calc(l + var(--opaque-button-border-intensity)) / alpha); | |
| --destructive-border: hsl(var(--destructive)); | |
| --destructive-border: hsl(from hsl(var(--destructive)) h s calc(l + var(--opaque-button-border-intensity)) / alpha); | |
| } | |
| .dark { | |
| --button-outline: rgba(255,255,255, .10); | |
| --badge-outline: rgba(255,255,255, .05); | |
| --opaque-button-border-intensity: 9; | |
| /* Backgrounds applied on top of other backgrounds when hovered/active */ | |
| --elevate-1: rgba(255,255,255, .04); | |
| --elevate-2: rgba(255,255,255, .09); | |
| --background: 224 32% 8%; | |
| --foreground: 210 20% 98%; | |
| --border: 217 19% 18%; | |
| --card: 224 28% 12%; | |
| --card-foreground: 210 20% 98%; | |
| --card-border: 217 19% 20%; | |
| --sidebar: 224 30% 10%; | |
| --sidebar-foreground: 210 20% 98%; | |
| --sidebar-border: 217 19% 18%; | |
| --sidebar-primary: 250 84% 64%; | |
| --sidebar-primary-foreground: 0 0% 100%; | |
| --sidebar-accent: 250 40% 18%; | |
| --sidebar-accent-foreground: 250 84% 75%; | |
| --sidebar-ring: 250 84% 64%; | |
| --popover: 224 28% 12%; | |
| --popover-foreground: 210 20% 98%; | |
| --popover-border: 217 19% 20%; | |
| --primary: 250 84% 64%; | |
| --primary-foreground: 0 0% 100%; | |
| --secondary: 217 19% 18%; | |
| --secondary-foreground: 210 20% 90%; | |
| --muted: 217 19% 18%; | |
| --muted-foreground: 215 16% 57%; | |
| --accent: 250 40% 18%; | |
| --accent-foreground: 250 84% 75%; | |
| --destructive: 0 62% 55%; | |
| --destructive-foreground: 0 0% 100%; | |
| --input: 217 19% 25%; | |
| --ring: 250 84% 64%; | |
| --chart-1: 250 84% 64%; | |
| --chart-2: 173 58% 49%; | |
| --chart-3: 197 71% 62%; | |
| --chart-4: 43 96% 66%; | |
| --chart-5: 27 96% 71%; | |
| --shadow-2xs: 0px 1px 2px 0px rgba(0,0,0, 0.15); | |
| --shadow-xs: 0px 1px 3px 0px rgba(0,0,0, 0.20); | |
| --shadow-sm: 0px 2px 4px -1px rgba(0,0,0, 0.25), 0px 1px 2px -1px rgba(0,0,0, 0.15); | |
| --shadow: 0px 4px 6px -1px rgba(0,0,0, 0.30), 0px 2px 4px -1px rgba(0,0,0, 0.20); | |
| --shadow-md: 0px 6px 10px -2px rgba(0,0,0, 0.35), 0px 3px 6px -2px rgba(0,0,0, 0.20); | |
| --shadow-lg: 0px 10px 15px -3px rgba(0,0,0, 0.35), 0px 4px 6px -2px rgba(0,0,0, 0.20); | |
| --shadow-xl: 0px 20px 25px -5px rgba(0,0,0, 0.40), 0px 10px 10px -5px rgba(0,0,0, 0.20); | |
| --shadow-2xl: 0px 25px 50px -12px rgba(0,0,0, 0.50); | |
| } | |
| @layer base { | |
| * { | |
| @apply border-border; | |
| } | |
| body { | |
| @apply font-sans antialiased bg-background text-foreground; | |
| } | |
| } | |
| /** | |
| * Using the elevate system. | |
| */ | |
| @layer utilities { | |
| input[type="search"]::-webkit-search-cancel-button { | |
| @apply hidden; | |
| } | |
| [contenteditable][data-placeholder]:empty::before { | |
| content: attr(data-placeholder); | |
| color: hsl(var(--muted-foreground)); | |
| pointer-events: none; | |
| } | |
| .no-default-hover-elevate {} | |
| .no-default-active-elevate {} | |
| .toggle-elevate::before, | |
| .toggle-elevate-2::before { | |
| content: ""; | |
| pointer-events: none; | |
| position: absolute; | |
| inset: 0px; | |
| border-radius: inherit; | |
| z-index: -1; | |
| } | |
| .toggle-elevate.toggle-elevated::before { | |
| background-color: var(--elevate-2); | |
| } | |
| .border.toggle-elevate::before { | |
| inset: -1px; | |
| } | |
| .hover-elevate:not(.no-default-hover-elevate), | |
| .active-elevate:not(.no-default-active-elevate), | |
| .hover-elevate-2:not(.no-default-hover-elevate), | |
| .active-elevate-2:not(.no-default-active-elevate) { | |
| position: relative; | |
| z-index: 0; | |
| } | |
| .hover-elevate:not(.no-default-hover-elevate)::after, | |
| .active-elevate:not(.no-default-active-elevate)::after, | |
| .hover-elevate-2:not(.no-default-hover-elevate)::after, | |
| .active-elevate-2:not(.no-default-active-elevate)::after { | |
| content: ""; | |
| pointer-events: none; | |
| position: absolute; | |
| inset: 0px; | |
| border-radius: inherit; | |
| z-index: 999; | |
| } | |
| .hover-elevate:hover:not(.no-default-hover-elevate)::after, | |
| .active-elevate:active:not(.no-default-active-elevate)::after { | |
| background-color: var(--elevate-1); | |
| } | |
| .hover-elevate-2:hover:not(.no-default-hover-elevate)::after, | |
| .active-elevate-2:active:not(.no-default-active-elevate)::after { | |
| background-color: var(--elevate-2); | |
| } | |
| .border.hover-elevate:not(.no-hover-interaction-elevate)::after, | |
| .border.active-elevate:not(.no-active-interaction-elevate)::after, | |
| .border.hover-elevate-2:not(.no-hover-interaction-elevate)::after, | |
| .border.active-elevate-2:not(.no-active-interaction-elevate)::after, | |
| .border.hover-elevate:not(.no-hover-interaction-elevate)::after { | |
| inset: -1px; | |
| } | |
| } | |