Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

2.2 KB
Raw Blame
:root {
  /* Surfaces - soft graphite layers for comfortable long-form reading */
  --background: oklch(0.24 0.008 255);
  --foreground: oklch(0.9 0.006 255);

  --card: oklch(0.275 0.009 255);
  --card-foreground: oklch(0.9 0.006 255);
  --control-thumb: var(--foreground);

  /* Popovers float above cards without becoming high-glare panels */
  --popover: oklch(0.32 0.01 255);
  --popover-foreground: oklch(0.92 0.006 255);

  /* Primary - readable blue for selected items, links, and focused controls */
  --primary: oklch(0.66 0.11 250);
  --primary-foreground: oklch(0.24 0.008 255);

  /* Secondary - elevated surface for secondary buttons */
  --secondary: oklch(0.33 0.011 255);
  --secondary-foreground: oklch(0.88 0.006 255);

  /* Muted - inline backgrounds for code, skeletons, metadata, and panels */
  --muted: oklch(0.35 0.011 255);
  --muted-foreground: oklch(0.72 0.007 255);

  /* Accent - hover states with a little more color than muted surfaces */
  --accent: oklch(0.39 0.018 250);
  --accent-foreground: oklch(0.94 0.006 255);

  /* Destructive - visible on dark surfaces without overpowering the palette */
  --destructive: oklch(0.64 0.18 24);
  --destructive-foreground: oklch(0.98 0.004 255);

  /* Feedback - success (green) and warning (amber), tuned brighter for dark surfaces */
  --success: oklch(0.7 0.15 155);
  --success-foreground: oklch(0.2 0.03 155);
  --warning: oklch(0.78 0.14 75);
  --warning-foreground: oklch(0.25 0.03 75);

  /* Floating surfaces separate mostly by their lighter popover tone; the shadow adds depth below. */
  --shadow-float: 0 1px 2px hsl(0 0% 0% / 0.3), 0 8px 24px -6px hsl(0 0% 0% / 0.4), 0 24px 56px -16px hsl(0 0% 0% / 0.5);

  /* Borders - --border for layout dividers, --input for form field borders */
  --border: oklch(0.38 0.01 255);
  --input: oklch(0.42 0.011 255);
  --ring: oklch(0.58 0.095 250);

  /* Overlay - neutral scrim; alpha comes from the utility (bg-overlay/50) */
  --overlay: oklch(0 0 0);

  /* Sidebar - anchored but no longer near-black */
  --sidebar: oklch(0.21 0.009 255);
  --sidebar-foreground: oklch(0.76 0.007 255);
  --sidebar-accent: oklch(0.31 0.015 250);
  --sidebar-accent-foreground: oklch(0.9 0.006 255);
}