iterate.com / stdlib

git clone https://git.iterate.com/repos/stdlib

stdlib / theme.cssmain at 41005ca

/* theme.css — THE LOOK OF THIS MIND'S APPS. Every app serves this one file as its /theme.css and
   links it after the UI kit's own style sheet, so a value changed here changes every app: the
   colours, the corners.

   TO MAKE EVERY APP DARK, change `light` to `dark` in the first line of the rule below.

   A MIND BORN FROM ANOTHER MIND'S REPOS has its own copy of this file. A change made upstream
   reaches it when it pulls /repos/stdlib. A change made in it is its own.

   The values are shadcn's neutral theme (https://ui.shadcn.com/themes). Each colour is
   light-dark(light, dark), and `color-scheme` picks the side. */
:root {
  color-scheme: light;

  --radius: 0.625rem;
  --background: light-dark(oklch(1 0 0), oklch(0.145 0 0));
  --foreground: light-dark(oklch(0.145 0 0), oklch(0.985 0 0));
  --card: light-dark(oklch(1 0 0), oklch(0.205 0 0));
  --card-foreground: light-dark(oklch(0.145 0 0), oklch(0.985 0 0));
  --popover: light-dark(oklch(1 0 0), oklch(0.205 0 0));
  --popover-foreground: light-dark(oklch(0.145 0 0), oklch(0.985 0 0));
  --primary: light-dark(oklch(0.205 0 0), oklch(0.922 0 0));
  --primary-foreground: light-dark(oklch(0.985 0 0), oklch(0.205 0 0));
  --secondary: light-dark(oklch(0.97 0 0), oklch(0.269 0 0));
  --secondary-foreground: light-dark(oklch(0.205 0 0), oklch(0.985 0 0));
  --muted: light-dark(oklch(0.97 0 0), oklch(0.269 0 0));
  --muted-foreground: light-dark(oklch(0.556 0 0), oklch(0.708 0 0));
  --accent: light-dark(oklch(0.97 0 0), oklch(0.269 0 0));
  --accent-foreground: light-dark(oklch(0.205 0 0), oklch(0.985 0 0));
  --destructive: light-dark(oklch(0.577 0.245 27.325), oklch(0.704 0.191 22.216));
  --border: light-dark(oklch(0.922 0 0), oklch(1 0 0 / 10%));
  --input: light-dark(oklch(0.922 0 0), oklch(1 0 0 / 15%));
  --ring: light-dark(oklch(0.708 0 0), oklch(0.556 0 0));
  --sidebar: light-dark(oklch(0.985 0 0), oklch(0.205 0 0));
  --sidebar-foreground: light-dark(oklch(0.145 0 0), oklch(0.985 0 0));
  --sidebar-primary: light-dark(oklch(0.205 0 0), oklch(0.488 0.243 264.376));
  --sidebar-primary-foreground: light-dark(oklch(0.985 0 0), oklch(0.985 0 0));
  --sidebar-accent: light-dark(oklch(0.97 0 0), oklch(0.269 0 0));
  --sidebar-accent-foreground: light-dark(oklch(0.205 0 0), oklch(0.985 0 0));
  --sidebar-border: light-dark(oklch(0.922 0 0), oklch(1 0 0 / 10%));
  --sidebar-ring: light-dark(oklch(0.708 0 0), oklch(0.556 0 0));
}