Files
loki/scripts/site-template/app/globals.css
Catoandgithub-actions[bot] d7a882fbec chore(starter): sync scripts/site-template to bitbaum/fleet@5dc0be8081 (#1467)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-10-29 12:15:40 +01:00

79 lines
2.6 KiB
CSS

@import "@bitbaum/design-tokens/tokens.css";
@import "tailwindcss";
@import "@bitbaum/sitekit/styles.css";
@import "@bitbaum/accountkit/styles.css";
@import "@bitbaum/chatkit/styles.css";
@import "bip-kit/styles.css";
@config "../tailwind.config.mjs";
/*
* The product owns almost no design of its own. Every colour, face, weight,
* tracking and radius is @bitbaum/design-tokens (imported above), the brand
* SSOT OrangeCat, Loki and Solon share. Do not redefine a token here; only
* compositions of shared tokens belong below.
*
* A CLIENT-owned app replaces the import above and the preset in
* tailwind.config.mjs with the client's own tokens (fleet SHARED.md).
*/
html {
color-scheme: light;
}
/* The tokens' dark theme is the `.dark` class; layout.tsx sets it from the
reader's system preference before the first paint. */
html.dark {
color-scheme: dark;
}
:root {
--sk-bg: hsl(var(--surface-page));
--sk-fg: hsl(var(--text-primary));
--sk-muted: hsl(var(--text-secondary));
--sk-raised: hsl(var(--surface-raised));
--sk-line: hsl(var(--border-subtle));
--sk-focus: var(--accent-primary);
--sk-font: var(--font-sans);
--sk-display: var(--font-display);
--sk-width: var(--shell-max);
--sk-radius: var(--radius-control);
--acct-panel: hsl(var(--surface-base));
--acct-trigger-bg: hsl(var(--surface-raised));
--acct-fg: hsl(var(--text-primary));
--acct-fg-2: hsl(var(--text-secondary));
--acct-fg-3: hsl(var(--text-tertiary));
--acct-line: hsl(var(--border-subtle));
--acct-line-2: hsl(var(--border-default));
--acct-action: hsl(var(--text-primary));
--acct-on-action: hsl(var(--surface-page));
--acct-focus: var(--accent-primary);
--ck-page: hsl(var(--surface-page));
--ck-bg: hsl(var(--surface-base));
--ck-raised: hsl(var(--surface-raised));
--ck-overlay: hsl(var(--surface-base));
--ck-fg: hsl(var(--text-primary));
--ck-fg-2: hsl(var(--text-secondary));
--ck-fg-3: hsl(var(--text-tertiary));
--ck-muted: hsl(var(--text-muted));
--ck-line: hsl(var(--border-subtle));
--ck-line-2: hsl(var(--border-default));
--ck-accent: hsl(var(--accent-primary));
--ck-on-accent: hsl(var(--on-accent));
--ck-font: var(--font-sans);
--ck-radius: var(--radius-surface);
--ck-radius-sm: var(--radius-control);
}
:root {
--bp-bg: hsl(var(--surface-page));
--bp-surface: hsl(var(--surface-base));
--bp-fg: hsl(var(--text-primary));
--bp-fg-muted: hsl(var(--text-secondary));
--bp-fg-faint: hsl(var(--text-secondary));
--bp-border: hsl(var(--border-subtle));
--bp-accent: hsl(var(--text-primary));
--bp-font-sans: var(--font-sans);
--bp-font-mono: var(--font-mono);
--bp-radius: var(--radius-surface);
}