177 lines
5.6 KiB
CSS
177 lines
5.6 KiB
CSS
/*
|
|
* globals.css — Main CSS entry point
|
|
* Theme: shadcn preset b1G3f4DGS (Nova + Inter)
|
|
*/
|
|
|
|
/* Tailwind CSS */
|
|
@import 'tailwindcss';
|
|
@import 'tw-animate-css';
|
|
@import 'shadcn/tailwind.css';
|
|
|
|
/* local styles */
|
|
@import './shadcn-ui.css';
|
|
@import './markdoc.css';
|
|
@import './makerkit.css';
|
|
|
|
@custom-variant dark (&:is(.dark *));
|
|
|
|
/* content sources */
|
|
@source '../../../packages/*/src/**/*.{ts,tsx}';
|
|
@source '../../../packages/features/*/src/**/*.{ts,tsx}';
|
|
@source '../../../packages/billing/*/src/**/*.{ts,tsx}';
|
|
@source '../../../packages/plugins/*/src/**/*.{ts,tsx}';
|
|
@source '../../../packages/cms/*/src/**/*.{ts,tsx}';
|
|
@source '../{app,components,config,lib}/**/*.{ts,tsx}';
|
|
|
|
@layer base {
|
|
body {
|
|
@apply bg-background text-foreground;
|
|
font-feature-settings:
|
|
'rlig' 1,
|
|
'calt' 1;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
scroll-padding-top: 56px;
|
|
}
|
|
|
|
[id] {
|
|
scroll-margin-top: 56px;
|
|
}
|
|
|
|
*,
|
|
::after,
|
|
::before,
|
|
::backdrop,
|
|
::file-selector-button {
|
|
border-color: var(--border, currentColor);
|
|
}
|
|
|
|
input::placeholder,
|
|
textarea::placeholder {
|
|
color: theme(--color-muted-foreground);
|
|
}
|
|
|
|
* {
|
|
@apply border-border outline-ring/50;
|
|
}
|
|
}
|
|
|
|
@utility container {
|
|
@apply mx-auto px-4 lg:px-8 xl:max-w-[80rem];
|
|
}
|
|
|
|
@theme inline {
|
|
--font-heading: var(--font-sans);
|
|
--font-serif: var(--font-sans);
|
|
--color-background: var(--background);
|
|
--color-foreground: var(--foreground);
|
|
--color-card: var(--card);
|
|
--color-card-foreground: var(--card-foreground);
|
|
--color-popover: var(--popover);
|
|
--color-popover-foreground: var(--popover-foreground);
|
|
--color-primary: var(--primary);
|
|
--color-primary-foreground: var(--primary-foreground);
|
|
--color-secondary: var(--secondary);
|
|
--color-secondary-foreground: var(--secondary-foreground);
|
|
--color-muted: var(--muted);
|
|
--color-muted-foreground: var(--muted-foreground);
|
|
--color-accent: var(--accent);
|
|
--color-accent-foreground: var(--accent-foreground);
|
|
--color-destructive: var(--destructive);
|
|
--color-border: var(--border);
|
|
--color-input: var(--input);
|
|
--color-ring: var(--ring);
|
|
--color-chart-1: var(--chart-1);
|
|
--color-chart-2: var(--chart-2);
|
|
--color-chart-3: var(--chart-3);
|
|
--color-chart-4: var(--chart-4);
|
|
--color-chart-5: var(--chart-5);
|
|
--color-sidebar: var(--sidebar);
|
|
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
--color-sidebar-primary: var(--sidebar-primary);
|
|
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
--color-sidebar-accent: var(--sidebar-accent);
|
|
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
--color-sidebar-border: var(--sidebar-border);
|
|
--color-sidebar-ring: var(--sidebar-ring);
|
|
--radius-sm: calc(var(--radius) * 0.6);
|
|
--radius-md: calc(var(--radius) * 0.8);
|
|
--radius-lg: var(--radius);
|
|
--radius-xl: calc(var(--radius) * 1.4);
|
|
--radius-2xl: calc(var(--radius) * 1.8);
|
|
--radius-3xl: calc(var(--radius) * 2.2);
|
|
--radius-4xl: calc(var(--radius) * 2.6);
|
|
}
|
|
|
|
/* Theme: Preset b1G3f4DGS — teal primary, warm neutral base */
|
|
:root {
|
|
--background: oklch(1 0 0);
|
|
--foreground: oklch(0.153 0.006 107.1);
|
|
--card: oklch(1 0 0);
|
|
--card-foreground: oklch(0.153 0.006 107.1);
|
|
--popover: oklch(1 0 0);
|
|
--popover-foreground: oklch(0.153 0.006 107.1);
|
|
--primary: oklch(0.52 0.105 223.128);
|
|
--primary-foreground: oklch(0.984 0.019 200.873);
|
|
--secondary: oklch(0.967 0.001 286.375);
|
|
--secondary-foreground: oklch(0.21 0.006 285.885);
|
|
--muted: oklch(0.966 0.005 106.5);
|
|
--muted-foreground: oklch(0.58 0.031 107.3);
|
|
--accent: oklch(0.966 0.005 106.5);
|
|
--accent-foreground: oklch(0.228 0.013 107.4);
|
|
--destructive: oklch(0.577 0.245 27.325);
|
|
--border: oklch(0.93 0.007 106.5);
|
|
--input: oklch(0.93 0.007 106.5);
|
|
--ring: oklch(0.737 0.021 106.9);
|
|
--chart-1: oklch(0.879 0.169 91.605);
|
|
--chart-2: oklch(0.769 0.188 70.08);
|
|
--chart-3: oklch(0.666 0.179 58.318);
|
|
--chart-4: oklch(0.555 0.163 48.998);
|
|
--chart-5: oklch(0.473 0.137 46.201);
|
|
--radius: 0.625rem;
|
|
--sidebar: oklch(0.988 0.003 106.5);
|
|
--sidebar-foreground: oklch(0.153 0.006 107.1);
|
|
--sidebar-primary: oklch(0.609 0.126 221.723);
|
|
--sidebar-primary-foreground: oklch(0.984 0.019 200.873);
|
|
--sidebar-accent: oklch(0.966 0.005 106.5);
|
|
--sidebar-accent-foreground: oklch(0.228 0.013 107.4);
|
|
--sidebar-border: oklch(0.93 0.007 106.5);
|
|
--sidebar-ring: oklch(0.737 0.021 106.9);
|
|
}
|
|
|
|
.dark {
|
|
--background: oklch(0.153 0.006 107.1);
|
|
--foreground: oklch(0.988 0.003 106.5);
|
|
--card: oklch(0.228 0.013 107.4);
|
|
--card-foreground: oklch(0.988 0.003 106.5);
|
|
--popover: oklch(0.228 0.013 107.4);
|
|
--popover-foreground: oklch(0.988 0.003 106.5);
|
|
--primary: oklch(0.45 0.085 224.283);
|
|
--primary-foreground: oklch(0.984 0.019 200.873);
|
|
--secondary: oklch(0.274 0.006 286.033);
|
|
--secondary-foreground: oklch(0.985 0 0);
|
|
--muted: oklch(0.286 0.016 107.4);
|
|
--muted-foreground: oklch(0.737 0.021 106.9);
|
|
--accent: oklch(0.286 0.016 107.4);
|
|
--accent-foreground: oklch(0.988 0.003 106.5);
|
|
--destructive: oklch(0.704 0.191 22.216);
|
|
--border: oklch(1 0 0 / 10%);
|
|
--input: oklch(1 0 0 / 15%);
|
|
--ring: oklch(0.58 0.031 107.3);
|
|
--chart-1: oklch(0.879 0.169 91.605);
|
|
--chart-2: oklch(0.769 0.188 70.08);
|
|
--chart-3: oklch(0.666 0.179 58.318);
|
|
--chart-4: oklch(0.555 0.163 48.998);
|
|
--chart-5: oklch(0.473 0.137 46.201);
|
|
--sidebar: oklch(0.228 0.013 107.4);
|
|
--sidebar-foreground: oklch(0.988 0.003 106.5);
|
|
--sidebar-primary: oklch(0.715 0.143 215.221);
|
|
--sidebar-primary-foreground: oklch(0.302 0.056 229.695);
|
|
--sidebar-accent: oklch(0.286 0.016 107.4);
|
|
--sidebar-accent-foreground: oklch(0.988 0.003 106.5);
|
|
--sidebar-border: oklch(1 0 0 / 10%);
|
|
--sidebar-ring: oklch(0.58 0.031 107.3);
|
|
}
|