mirror of
https://github.com/yusufipk/OpenFrame.git
synced 2026-09-11 17:46:06 +00:00
144 lines
4.7 KiB
CSS
144 lines
4.7 KiB
CSS
@import "tailwindcss";
|
|
@import "tw-animate-css";
|
|
@import "shadcn/tailwind.css";
|
|
|
|
@custom-variant dark (&:is(.dark *));
|
|
|
|
@theme inline {
|
|
--color-background: var(--background);
|
|
--color-foreground: var(--foreground);
|
|
--font-sans: var(--font-sans);
|
|
--font-mono: var(--font-geist-mono);
|
|
--color-sidebar-ring: var(--sidebar-ring);
|
|
--color-sidebar-border: var(--sidebar-border);
|
|
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
--color-sidebar-accent: var(--sidebar-accent);
|
|
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
--color-sidebar-primary: var(--sidebar-primary);
|
|
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
--color-sidebar: var(--sidebar);
|
|
--color-chart-5: var(--chart-5);
|
|
--color-chart-4: var(--chart-4);
|
|
--color-chart-3: var(--chart-3);
|
|
--color-chart-2: var(--chart-2);
|
|
--color-chart-1: var(--chart-1);
|
|
--color-ring: var(--ring);
|
|
--color-input: var(--input);
|
|
--color-border: var(--border);
|
|
--color-destructive: var(--destructive);
|
|
--color-accent-foreground: var(--accent-foreground);
|
|
--color-accent: var(--accent);
|
|
--color-muted-foreground: var(--muted-foreground);
|
|
--color-muted: var(--muted);
|
|
--color-secondary-foreground: var(--secondary-foreground);
|
|
--color-secondary: var(--secondary);
|
|
--color-primary-foreground: var(--primary-foreground);
|
|
--color-primary: var(--primary);
|
|
--color-popover-foreground: var(--popover-foreground);
|
|
--color-popover: var(--popover);
|
|
--color-card-foreground: var(--card-foreground);
|
|
--color-card: var(--card);
|
|
--radius-sm: calc(var(--radius) - 4px);
|
|
--radius-md: calc(var(--radius) - 2px);
|
|
--radius-lg: var(--radius);
|
|
--radius-xl: calc(var(--radius) + 4px);
|
|
--radius-2xl: calc(var(--radius) + 8px);
|
|
--radius-3xl: calc(var(--radius) + 12px);
|
|
--radius-4xl: calc(var(--radius) + 16px);
|
|
}
|
|
|
|
:root {
|
|
--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.61 0.11 222);
|
|
--primary-foreground: oklch(0.98 0.02 201);
|
|
--secondary: oklch(0.967 0.001 286.375);
|
|
--secondary-foreground: oklch(0.21 0.006 285.885);
|
|
--muted: oklch(0.97 0.001 106.424);
|
|
--muted-foreground: oklch(0.553 0.013 58.071);
|
|
--accent: oklch(0.61 0.11 222);
|
|
--accent-foreground: oklch(0.98 0.02 201);
|
|
--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.87 0.12 207);
|
|
--chart-2: oklch(0.80 0.13 212);
|
|
--chart-3: oklch(0.71 0.13 215);
|
|
--chart-4: oklch(0.61 0.11 222);
|
|
--chart-5: oklch(0.52 0.09 223);
|
|
--radius: 0;
|
|
--sidebar: oklch(0.985 0.001 106.423);
|
|
--sidebar-foreground: oklch(0.147 0.004 49.25);
|
|
--sidebar-primary: oklch(0.61 0.11 222);
|
|
--sidebar-primary-foreground: oklch(0.98 0.02 201);
|
|
--sidebar-accent: oklch(0.61 0.11 222);
|
|
--sidebar-accent-foreground: oklch(0.98 0.02 201);
|
|
--sidebar-border: oklch(0.923 0.003 48.717);
|
|
--sidebar-ring: oklch(0.709 0.01 56.259);
|
|
}
|
|
|
|
.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.71 0.13 215);
|
|
--primary-foreground: oklch(0.30 0.05 230);
|
|
--secondary: oklch(0.274 0.006 286.033);
|
|
--secondary-foreground: oklch(0.985 0 0);
|
|
--muted: oklch(0.268 0.007 34.298);
|
|
--muted-foreground: oklch(0.709 0.01 56.259);
|
|
--accent: oklch(0.71 0.13 215);
|
|
--accent-foreground: oklch(0.30 0.05 230);
|
|
--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.87 0.12 207);
|
|
--chart-2: oklch(0.80 0.13 212);
|
|
--chart-3: oklch(0.71 0.13 215);
|
|
--chart-4: oklch(0.61 0.11 222);
|
|
--chart-5: oklch(0.52 0.09 223);
|
|
--sidebar: oklch(0.216 0.006 56.043);
|
|
--sidebar-foreground: oklch(0.985 0.001 106.423);
|
|
--sidebar-primary: oklch(0.80 0.13 212);
|
|
--sidebar-primary-foreground: oklch(0.30 0.05 230);
|
|
--sidebar-accent: oklch(0.71 0.13 215);
|
|
--sidebar-accent-foreground: oklch(0.30 0.05 230);
|
|
--sidebar-border: oklch(1 0 0 / 10%);
|
|
--sidebar-ring: oklch(0.553 0.013 58.071);
|
|
}
|
|
|
|
@layer base {
|
|
* {
|
|
@apply border-border outline-ring/50;
|
|
}
|
|
body {
|
|
@apply bg-background text-foreground;
|
|
}
|
|
}
|
|
|
|
.noise-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
z-index: 40;
|
|
opacity: 0.03;
|
|
filter: url(#openframe-noise);
|
|
mix-blend-mode: soft-light;
|
|
}
|
|
|
|
.noise-overlay::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
background: var(--foreground);
|
|
}
|