This commit is contained in:
parent
5e811d4bb8
commit
29098d1f61
40 changed files with 3113 additions and 515 deletions
|
|
@ -1,12 +1,13 @@
|
|||
@import "tailwindcss";
|
||||
@import "tw-animate-css";
|
||||
@import "shadcn/tailwind.css";
|
||||
@import "@fontsource-variable/public-sans/wght.css";
|
||||
|
||||
@custom-variant dark (&:is(.dark *));
|
||||
|
||||
@theme inline {
|
||||
--font-heading: var(--font-sans), sans-serif;
|
||||
--font-sans: "Inter", sans-serif;
|
||||
--font-sans: "Public Sans Variable", system-ui, sans-serif;
|
||||
--color-sidebar-ring: var(--sidebar-ring);
|
||||
--color-sidebar-border: var(--sidebar-border);
|
||||
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
||||
|
|
@ -50,15 +51,22 @@
|
|||
}
|
||||
|
||||
:root {
|
||||
--ui-density: 1;
|
||||
--ui-border-width: 1px;
|
||||
--ui-shadow-strength: 0;
|
||||
--ui-surface-contrast: 0;
|
||||
--ui-font-scale: 1;
|
||||
--ui-heading-weight: 600;
|
||||
--ui-motion: 1;
|
||||
--background: oklch(1 0 0);
|
||||
--foreground: oklch(0.145 0 0);
|
||||
--card: oklch(1 0 0);
|
||||
--card-foreground: oklch(0.145 0 0);
|
||||
--popover: oklch(1 0 0);
|
||||
--popover-foreground: oklch(0.145 0 0);
|
||||
--primary: oklch(0.511 0.096 186.391);
|
||||
--primary-foreground: oklch(98.358% 0.0142 181.171);
|
||||
--primary-foreground-alt: oklch(0.704 0.14 182.503);
|
||||
--primary: oklch(0.24 0 0);
|
||||
--primary-foreground: oklch(0.985 0 0);
|
||||
--primary-foreground-alt: oklch(0.42 0 0);
|
||||
--secondary: oklch(0.967 0.001 286.375);
|
||||
--secondary-foreground: oklch(0.21 0.006 285.885);
|
||||
--muted: oklch(0.97 0 0);
|
||||
|
|
@ -68,7 +76,7 @@
|
|||
--destructive: oklch(0.577 0.245 27.325);
|
||||
--border: oklch(0.922 0 0);
|
||||
--input: oklch(0.922 0 0);
|
||||
--ring: oklch(0.708 0 0);
|
||||
--ring: oklch(0.55 0 0);
|
||||
--chart-1: oklch(0.855 0.138 181.071);
|
||||
--chart-2: oklch(0.704 0.14 182.503);
|
||||
--chart-3: oklch(0.6 0.118 184.704);
|
||||
|
|
@ -77,8 +85,8 @@
|
|||
--radius: 0.625rem;
|
||||
--sidebar: oklch(0.985 0 0);
|
||||
--sidebar-foreground: oklch(0.145 0 0);
|
||||
--sidebar-primary: oklch(0.6 0.118 184.704);
|
||||
--sidebar-primary-foreground: oklch(0.984 0.014 180.72);
|
||||
--sidebar-primary: oklch(0.3 0 0);
|
||||
--sidebar-primary-foreground: oklch(0.985 0 0);
|
||||
--sidebar-accent: oklch(0.97 0 0);
|
||||
--sidebar-accent-foreground: oklch(0.205 0 0);
|
||||
--sidebar-border: oklch(0.922 0 0);
|
||||
|
|
@ -92,9 +100,9 @@
|
|||
--card-foreground: oklch(0.985 0 0);
|
||||
--popover: oklch(0.205 0 0);
|
||||
--popover-foreground: oklch(0.985 0 0);
|
||||
--primary: oklch(0.437 0.078 188.216);
|
||||
--primary-foreground: oklch(98.358% 0.0142 181.171);
|
||||
--primary-foreground-alt: oklch(0.704 0.14 182.503);
|
||||
--primary: oklch(0.82 0 0);
|
||||
--primary-foreground: oklch(0.18 0 0);
|
||||
--primary-foreground-alt: oklch(0.72 0 0);
|
||||
--secondary: oklch(0.274 0.006 286.033);
|
||||
--secondary-foreground: oklch(0.985 0 0);
|
||||
--muted: oklch(0.269 0 0);
|
||||
|
|
@ -112,8 +120,8 @@
|
|||
--chart-5: oklch(0.437 0.078 188.216);
|
||||
--sidebar: oklch(0.19 0 0);
|
||||
--sidebar-foreground: oklch(0.985 0 0);
|
||||
--sidebar-primary: oklch(0.704 0.14 182.503);
|
||||
--sidebar-primary-foreground: oklch(0.277 0.046 192.524);
|
||||
--sidebar-primary: oklch(0.78 0 0);
|
||||
--sidebar-primary-foreground: oklch(0.18 0 0);
|
||||
--sidebar-accent: oklch(0.269 0 0);
|
||||
--sidebar-accent-foreground: oklch(0.985 0 0);
|
||||
--sidebar-border: oklch(1 0 0 / 10%);
|
||||
|
|
@ -194,8 +202,58 @@
|
|||
}
|
||||
html {
|
||||
@apply font-sans;
|
||||
font-size: calc(16px * var(--ui-font-scale));
|
||||
}
|
||||
|
||||
html[data-font="system"] {
|
||||
--font-sans:
|
||||
system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
||||
}
|
||||
}
|
||||
|
||||
:where(
|
||||
[data-slot="button"],
|
||||
[data-slot="toggle"],
|
||||
[data-slot="input"],
|
||||
[data-slot="textarea"],
|
||||
[data-slot="native-select"],
|
||||
[data-slot="select-trigger"],
|
||||
[data-slot="input-group"],
|
||||
[data-slot="card"],
|
||||
[data-slot="item"]
|
||||
) {
|
||||
border-width: var(--ui-border-width);
|
||||
transition-duration: calc(140ms * var(--ui-motion));
|
||||
}
|
||||
|
||||
:where([data-slot="button"], [data-slot="toggle"])[data-size="default"],
|
||||
[data-slot="input"],
|
||||
[data-slot="select-trigger"][data-size="default"] {
|
||||
height: calc(2rem * var(--ui-density));
|
||||
}
|
||||
|
||||
:where([data-slot="button"], [data-slot="toggle"]):not([data-size^="icon"]) {
|
||||
padding-inline: calc(0.625rem * var(--ui-density));
|
||||
}
|
||||
|
||||
[data-slot="item"] {
|
||||
padding: calc(0.625rem * var(--ui-density)) calc(0.75rem * var(--ui-density));
|
||||
}
|
||||
[data-slot="card"] {
|
||||
background: color-mix(
|
||||
in oklch,
|
||||
var(--card),
|
||||
var(--foreground) calc(var(--ui-surface-contrast) * 1%)
|
||||
);
|
||||
box-shadow: 0 calc(0.4rem * var(--ui-shadow-strength))
|
||||
calc(1.8rem * var(--ui-shadow-strength))
|
||||
rgb(0 0 0 / calc(0.12 * var(--ui-shadow-strength)));
|
||||
}
|
||||
:where(h1, h2, h3, [data-slot="card-title"], [data-slot="item-title"]) {
|
||||
font-weight: var(--ui-heading-weight);
|
||||
}
|
||||
|
||||
@layer base {
|
||||
::selection {
|
||||
background: var(--color-primary, var(--primary));
|
||||
color: var(--color-primary-foreground, var(--primary-foreground));
|
||||
|
|
|
|||
Loading…
Reference in a new issue