lietzsche;noether
Pages

updated 2026-11-26·5 min read

Foundations CSS Variables

Core surface hierarchy, interactive button tokens, borders, typography colors, brand accents, box shadows, and native system font stacks from NOETHER_THEME.

Core palette, typography, elevation shadow, and font stack tokens defined in src/core/themes/preinstalled/noether.ts (NOETHER_THEME) and src/index.css.

1. Surface & Background Tokens

TokenDark DefaultLight DefaultDescription
--noether-bg-app#141414#f4f4f5Outermost application shell background.
--noether-bg-topbar#0d0d0d#f4f4f5Window title bar and tab strip background.
--noether-bg-ribbon#111111#eceff1Left vertical Action Rail icon strip.
--noether-bg-sidebar#151515#f8f9faLeft and right collapsible sidebars.
--noether-bg-sidebar-hoverrgba(255, 255, 255, 0.05)rgba(0, 0, 0, 0.04)Hover state for tree items and sidebar tabs.
--noether-bg-sidebar-activergba(255, 255, 255, 0.09)rgba(0, 0, 0, 0.08)Active state for tree items and sidebar tabs.
--noether-bg-main#1c1c1c#ffffffPrimary editor and reading canvas.
--noether-bg-card#222222#ffffffSettings cards, callouts, and info panels.
--noether-bg-card-hover#2a2a2a#f4f4f5Hover state for interactive cards and .noether-btn.
--noether-bg-popover#232323#ffffffFloating dropdown and context menus.
--noether-bg-input#181818#f0f0f2Text inputs, search boxes, and textareas.
--noether-bg-input-focus#222222#ffffffFocused input background.
--noether-bg-tab-active#1c1c1c#ffffffActive document tab surface.
--noether-bg-tab-hover#232323#f4f4f5Hovered inactive tab surface.
--noether-bg-statusbar#1f1f1f#f4f4f5Bottom status bar strip.

2. Interactive Surface & Button Tokens

When themes omit btnHoverBg or btnActiveBg, themeRegistry.generateCssVariables() applies dark/light translucent defaults; custom user accent colors derive --noether-accent-hover, --noether-accent-active, --noether-accent-subtle, and --noether-accent-gradient:

TokenDark DefaultLight DefaultDescription
--noether-btn-hover-bgrgba(255, 255, 255, 0.05)rgba(0, 0, 0, 0.04)Hover tint for toolbar and icon buttons.
--noether-btn-active-bgrgba(255, 255, 255, 0.09)rgba(0, 0, 0, 0.08)Active / pressed tint for toolbar buttons and selected menu items.

3. Border Tokens

TokenDark DefaultLight DefaultDescription
--noether-border-subtle#202020#f0f0f2Faint divider lines and setting row separators.
--noether-border-base#292929#e4e4e7Standard component borders and card outlines.
--noether-border-strong#383838#cbd5e1Emphasized dividers, active borders, and modal edges.

4. Typography & Text Colors

TokenDark DefaultLight DefaultDescription
--noether-text-primary#ffffff#09090bPrimary headings, active labels, and body copy in .ProseMirror.
--noether-text-secondary#dcddde#27272aSecondary text, file tree items, and subtitles.
--noether-text-muted#888888#52525bMuted captions, timestamps, and hotkey hints.
--noether-text-faint#555555#71717aPlaceholders and disabled labels.

5. Accent & Brand Palette

The default Noether brand accent is warm coral (#eb584d):

TokenDark DefaultLight DefaultDescription
--noether-accent#eb584d#eb584dPrimary brand accent color.
--noether-accent-hover#d94338#d94338Hover state for primary controls.
--noether-accent-active#b83228#b83228Pressed / active state for accent buttons.
--noether-accent-subtlergba(235, 88, 77, 0.15)rgba(235, 88, 77, 0.12)Subtle background tint for active selections.
--noether-accent-gradientlinear-gradient(135deg, #eb584d 0%, #f07167 100%)linear-gradient(135deg, #eb584d 0%, #f07167 100%)2-stop gradient accent.

6. Elevation & Box Shadows

TokenDark DefaultLight DefaultDescription
--noether-shadow-10 1px 3px 0 rgba(0, 0, 0, 0.25)0 1px 2px 0 rgba(0, 0, 0, 0.03)Subtle card elevation.
--noether-shadow-20 4px 16px 0 rgba(0, 0, 0, 0.4)0 4px 12px -2px rgba(0, 0, 0, 0.06), 0 2px 4px -1px rgba(0, 0, 0, 0.03)Floating popovers and context menus.
--noether-shadow-30 8px 32px 0 rgba(0, 0, 0, 0.6)0 10px 24px -4px rgba(0, 0, 0, 0.08), 0 4px 8px -2px rgba(0, 0, 0, 0.04)Modal dialogs and overlays.

7. System Font Stacks

/* UI and navigation controls */
--font-interface-fallback: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
--font-interface: var(--font-interface-fallback);

/* Long-form document reading and writing */
--font-text-fallback: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
--font-text: var(--font-text-fallback);

/* Monospace code blocks and inline syntax */
--font-monospace-fallback: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
--font-monospace: var(--font-monospace-fallback);

Search wiki and portfolio

type to search across all entries.