199 lines
6.2 KiB
CSS
199 lines
6.2 KiB
CSS
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
:root {
|
|
--theme-light-background: 230 33% 99%;
|
|
--theme-light-foreground: 229 40% 15%;
|
|
--theme-light-card: 0 0% 100%;
|
|
--theme-light-card-foreground: 229 40% 15%;
|
|
--theme-light-popover: 0 0% 100%;
|
|
--theme-light-popover-foreground: 229 40% 15%;
|
|
--theme-light-primary: 248 85% 60%;
|
|
--theme-light-primary-foreground: 0 0% 100%;
|
|
--theme-light-secondary: 230 30% 96%;
|
|
--theme-light-secondary-foreground: 229 40% 20%;
|
|
--theme-light-muted: 228 25% 94%;
|
|
--theme-light-muted-foreground: 227 12% 40%;
|
|
--theme-light-accent: 248 80% 96%;
|
|
--theme-light-accent-foreground: 248 55% 35%;
|
|
--theme-light-destructive: 0 84% 60%;
|
|
--theme-light-destructive-foreground: 0 0% 100%;
|
|
--theme-light-border: 230 20% 88%;
|
|
--theme-light-input: 230 20% 88%;
|
|
--theme-light-ring: 248 85% 60%;
|
|
--theme-light-glow-1: 248 85% 60%;
|
|
--theme-light-glow-2: 234 80% 72%;
|
|
--theme-light-bg-image:
|
|
radial-gradient(circle at 15% -20%, hsl(248 85% 60% / 0.16) 0%, transparent 40%),
|
|
radial-gradient(circle at 85% -15%, hsl(234 80% 72% / 0.12) 0%, transparent 35%),
|
|
linear-gradient(180deg, hsl(230 33% 99%) 0%, hsl(228 29% 97%) 100%);
|
|
--theme-light-surface-shadow: 0 12px 34px rgba(30, 41, 59, 0.08);
|
|
|
|
--theme-dark-background: 224 28% 10%;
|
|
--theme-dark-foreground: 220 17% 97%;
|
|
--theme-dark-card: 223 25% 14%;
|
|
--theme-dark-card-foreground: 220 17% 97%;
|
|
--theme-dark-popover: 223 25% 14%;
|
|
--theme-dark-popover-foreground: 220 17% 97%;
|
|
--theme-dark-primary: 247 78% 69%;
|
|
--theme-dark-primary-foreground: 230 35% 11%;
|
|
--theme-dark-secondary: 225 18% 18%;
|
|
--theme-dark-secondary-foreground: 220 17% 95%;
|
|
--theme-dark-muted: 225 12% 20%;
|
|
--theme-dark-muted-foreground: 225 10% 70%;
|
|
--theme-dark-accent: 245 45% 25%;
|
|
--theme-dark-accent-foreground: 220 17% 97%;
|
|
--theme-dark-destructive: 0 62% 48%;
|
|
--theme-dark-destructive-foreground: 220 17% 95%;
|
|
--theme-dark-border: 225 15% 24%;
|
|
--theme-dark-input: 225 15% 24%;
|
|
--theme-dark-ring: 247 78% 69%;
|
|
--theme-dark-glow-1: 247 78% 69%;
|
|
--theme-dark-glow-2: 265 78% 66%;
|
|
--theme-dark-bg-image:
|
|
radial-gradient(circle at 20% -10%, hsl(247 78% 69% / 0.22) 0%, transparent 42%),
|
|
radial-gradient(circle at 80% -20%, hsl(265 78% 66% / 0.2) 0%, transparent 36%),
|
|
linear-gradient(180deg, hsl(224 28% 10%) 0%, hsl(228 22% 8%) 100%);
|
|
--theme-dark-surface-shadow: 0 22px 44px rgba(2, 6, 23, 0.42);
|
|
|
|
--background: var(--theme-light-background);
|
|
--foreground: var(--theme-light-foreground);
|
|
--card: var(--theme-light-card);
|
|
--card-foreground: var(--theme-light-card-foreground);
|
|
--popover: var(--theme-light-popover);
|
|
--popover-foreground: var(--theme-light-popover-foreground);
|
|
--primary: var(--theme-light-primary);
|
|
--primary-foreground: var(--theme-light-primary-foreground);
|
|
--secondary: var(--theme-light-secondary);
|
|
--secondary-foreground: var(--theme-light-secondary-foreground);
|
|
--muted: var(--theme-light-muted);
|
|
--muted-foreground: var(--theme-light-muted-foreground);
|
|
--accent: var(--theme-light-accent);
|
|
--accent-foreground: var(--theme-light-accent-foreground);
|
|
--destructive: var(--theme-light-destructive);
|
|
--destructive-foreground: var(--theme-light-destructive-foreground);
|
|
--border: var(--theme-light-border);
|
|
--input: var(--theme-light-input);
|
|
--ring: var(--theme-light-ring);
|
|
|
|
--bg-glow-1: var(--theme-light-glow-1);
|
|
--bg-glow-2: var(--theme-light-glow-2);
|
|
--bg-image: var(--theme-light-bg-image);
|
|
--surface-shadow: var(--theme-light-surface-shadow);
|
|
|
|
--font-body: var(--font-inter), "Segoe UI", "Helvetica Neue", Arial, sans-serif;
|
|
--font-heading: var(--font-inter), "Segoe UI", "Helvetica Neue", Arial, sans-serif;
|
|
--radius: 1.05rem;
|
|
}
|
|
|
|
.dark {
|
|
--background: var(--theme-dark-background, 224 28% 10%);
|
|
--foreground: var(--theme-dark-foreground, 220 17% 97%);
|
|
--card: var(--theme-dark-card, 223 25% 14%);
|
|
--card-foreground: var(--theme-dark-card-foreground, 220 17% 97%);
|
|
--popover: var(--theme-dark-popover, 223 25% 14%);
|
|
--popover-foreground: var(--theme-dark-popover-foreground, 220 17% 97%);
|
|
--primary: var(--theme-dark-primary, 247 78% 69%);
|
|
--primary-foreground: var(--theme-dark-primary-foreground, 230 35% 11%);
|
|
--secondary: var(--theme-dark-secondary, 225 18% 18%);
|
|
--secondary-foreground: var(--theme-dark-secondary-foreground, 220 17% 95%);
|
|
--muted: var(--theme-dark-muted, 225 12% 20%);
|
|
--muted-foreground: var(--theme-dark-muted-foreground, 225 10% 70%);
|
|
--accent: var(--theme-dark-accent, 245 45% 25%);
|
|
--accent-foreground: var(--theme-dark-accent-foreground, 220 17% 97%);
|
|
--destructive: var(--theme-dark-destructive, 0 62% 48%);
|
|
--destructive-foreground: var(--theme-dark-destructive-foreground, 220 17% 95%);
|
|
--border: var(--theme-dark-border, 225 15% 24%);
|
|
--input: var(--theme-dark-input, 225 15% 24%);
|
|
--ring: var(--theme-dark-ring, 247 78% 69%);
|
|
|
|
--bg-glow-1: var(--theme-dark-glow-1, 247 78% 69%);
|
|
--bg-glow-2: var(--theme-dark-glow-2, 265 78% 66%);
|
|
--bg-image: var(--theme-dark-bg-image);
|
|
--surface-shadow: var(--theme-dark-surface-shadow);
|
|
}
|
|
|
|
* {
|
|
@apply border-border;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
min-height: 100%;
|
|
}
|
|
|
|
body {
|
|
@apply text-foreground antialiased;
|
|
font-family: var(--font-body);
|
|
background-color: #f8fafc;
|
|
position: relative;
|
|
}
|
|
|
|
body::before,
|
|
body::after {
|
|
display: none;
|
|
}
|
|
|
|
body.calbook-embed::before,
|
|
body.calbook-embed::after {
|
|
display: none;
|
|
}
|
|
|
|
main {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
font-family: var(--font-heading);
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
::selection {
|
|
background: hsl(var(--foreground) / 0.2);
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
}
|
|
|
|
.tap-target {
|
|
min-height: 48px;
|
|
min-width: 48px;
|
|
}
|
|
|
|
.bento-card {
|
|
background: #fff;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 24px;
|
|
padding: 24px;
|
|
}
|
|
|
|
select {
|
|
appearance: none;
|
|
background-image:
|
|
linear-gradient(45deg, transparent 50%, hsl(var(--muted-foreground)) 50%),
|
|
linear-gradient(135deg, hsl(var(--muted-foreground)) 50%, transparent 50%);
|
|
background-position:
|
|
calc(100% - 18px) calc(50% - 3px),
|
|
calc(100% - 13px) calc(50% - 3px);
|
|
background-size: 5px 5px, 5px 5px;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
input[type="checkbox"] {
|
|
accent-color: hsl(var(--foreground));
|
|
}
|
|
|
|
@layer utilities {
|
|
.rounded-2xl {
|
|
border-radius: calc(var(--radius) + 0.15rem);
|
|
}
|
|
}
|