cloud / core / lib / src / theme / theme.cssmain at aacbc74
/* The look, for a stylesheet Tailwind builds: tokens.css's values under the names the vendored
shadcn components are written against (https://ui.shadcn.com/docs/tailwind-v4), the type and the
corners, and the base rules. A stylesheet imports it after "tailwindcss":
@import "tailwindcss";
@import "iterate/theme.css";
Sharing a theme as a CSS file: https://tailwindcss.com/docs/theme#sharing-across-minds */
@import "./tokens.css";
@theme inline {
--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-success: var(--success);
--color-warning: var(--warning);
--color-info: var(--info);
--color-border: var(--border);
--color-input: var(--input);
--color-ring: var(--ring);
--color-link: var(--link);
--radius-sm: 0;
--radius-md: 0;
--radius-lg: 0;
--radius-xl: 0;
--font-sans: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
--font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
/* One size and two weights. The vendored components ask for `text-sm` and `font-medium`; here
those are the body's, so a button or a label reads as the text around it. `text-xs` is the one
smaller size, for a note under a line. */
--text-xs: 0.8125rem;
--text-xs--line-height: 1.5;
--text-sm: 1rem;
--text-sm--line-height: 1.55;
--text-base: 1rem;
--text-base--line-height: 1.55;
--font-weight-medium: 400;
--font-weight-semibold: 700;
}
@layer base {
* {
@apply border-border outline-ring/50;
}
body {
@apply bg-background text-base text-foreground;
}
h1 {
font-size: 1.75rem;
line-height: 1.3;
font-weight: 700;
}
h2,
h3 {
font-weight: 700;
}
}