lietzsche;noether
Pages

updated 2026-11-26·6 min read

CSS Variables & Design Tokens

Master catalog of Noether's CSS custom properties covering background surfaces, borders, typography, brand accents, link attributes, selection, shadows, and system font stacks.

Noether’s styling runs on standard CSS custom properties (--noether-*). Sidebars, modals, tabs, file trees, and editor blocks all read from these tokens.

Use these tokens in extensions and themes instead of hardcoding hex colors, so your UI follows dark/light switches and user accent settings automatically.

1. Background Surface Tokens

Noether uses a layered hierarchy of background tokens to convey visual depth and structure without clutter.

TokenDark DefaultLight DefaultDescription
--noether-bg-app#141414#f4f4f5The outermost application viewport background.
--noether-bg-topbar#0d0d0d#f4f4f5Window title bar and window control draggable zone.
--noether-bg-ribbon#111111#eceff1The far-left Action Rail / Ribbon icon strip.
--noether-bg-sidebar#151515#f8f9faLeft and right collapsible navigation panels.
--noether-bg-sidebar-hover#1f1f1frgba(0, 0, 0, 0.04)Hover state for tree items, navigation tabs, and file rows.
--noether-bg-sidebar-active#272727rgba(0, 0, 0, 0.08)Selected active state for tree items and navigation tabs.
--noether-bg-main#1c1c1c#ffffffPrimary editor reading canvas and main document area.
--noether-bg-card#222222#ffffffSettings cards, callout boxes, and informational panels.
--noether-bg-card-hover#2a2a2a#f4f4f5Interactive hover state for cards and list items.
--noether-bg-popover#232323#ffffffFloating dropdown menus, tooltips, and context menus.
--noether-bg-input#181818#f0f0f2Text inputs, search boxes, and editable textareas.
--noether-bg-input-focus#222222#ffffffFocused input background state.
--noether-bg-tab-active#1c1c1c#ffffffActive document tab in the split tab bar.
--noether-bg-tab-hover#232323#f4f4f5Hovered inactive tab in the split tab bar.
--noether-bg-statusbar#1f1f1f#f4f4f5Bottom status bar strip.

Usage Example

.my-custom-extension-card {
  background-color: var(--noether-bg-card);
  border: 1px solid var(--noether-border-base);
  color: var(--noether-text-primary);
  border-radius: 8px;
  padding: 16px;
}

.my-custom-extension-card:hover {
  background-color: var(--noether-bg-card-hover);
  border-color: var(--noether-border-strong);
}

2. Border Tokens

Borders establish subtle separation between split panes, cards, and input fields.

TokenDark DefaultDescription
--noether-border-subtle#202020Faint divider lines, tab group separators, and outline guidelines.
--noether-border-base#292929Standard component borders, card edges, and input outlines.
--noether-border-strong#383838Emphasized dividers, active input borders, and modal window borders.

3. Typography & Text Tokens

Noether relies on high-contrast, accessible typography tokens with clear hierarchy.

TokenDark DefaultDescription
--noether-text-primary#ffffffPrimary body copy, document headings, active labels, and button text.
--noether-text-secondary#dcdddeSecondary document text, descriptions, and file tree node titles.
--noether-text-muted#888888Muted labels, timestamps, keyboard shortcuts, and meta captions.
--noether-text-faint#555555Placeholders, disabled states, and collapsed folder counts.

The default Noether brand accent is warm coral (#eb584d), used for primary call-to-actions, Wikilinks, active tab indicators, and graph focal points.

TokenDefault ValueDescription
--noether-accent#eb584dPrimary brand accent color.
--noether-accent-hover#d94338Hover state for primary buttons and interactive accents.
--noether-accent-active#b83228Pressed / active state for accent controls.
--noether-accent-subtlergba(235, 88, 77, 0.15)Subtle accent tint for selections and highlights.
--noether-accent-gradientlinear-gradient(135deg, #eb584d 0%, #d94338 100%)Gradient accent for hero elements.
--noether-link-colorvar(--noether-accent)Color of internal [[Wikilinks]] and external anchors.
--noether-link-hovervar(--noether-accent-hover)Hover state for links.
--noether-link-visitedvar(--noether-accent)Visited link color.
--noether-link-decoration-colorvar(--noether-border-strong)Underline decoration color for links.
--noether-link-icon-colorvar(--noether-text-muted)Color of trailing external link icons.

Noether supports workspace-wide and per-theme link overrides via root attributes:

  • [data-no-link-accent="true"] / .noether-no-link-accent: Removes the colored accent from links, rendering them in standard secondary text color with an underline.
  • [data-blue-links="true"] / .noether-blue-links: Switches links to classic web blue (#58a6ff in dark mode, #0000ee in light mode).
  • [data-color-link-underline="true"] / .noether-color-link-underline: Forces link underlines to match link text color.
  • [data-color-link-icon="true"] / .noether-color-link-icon: Forces external link icons to match link text color instead of muted gray.

5. Selection & Code Tokens

Tokens governing code blocks, inline monospaced snippets, and text selections.

TokenDefault ValueDescription
--noether-selection-bg#4a4e57Background highlight for selected text in editor and inputs.
--noether-selection-text#ffffffForeground color of selected text.
--noether-code-bg#242424Background for inline code and fenced code blocks.
--noether-code-text#e5e7ebMonospace code text color.

6. Elevation & Shadow Tokens

Box shadows for floating panels, dropdown menus, and modal dialogs.

TokenDefault ValueDescription
--noether-shadow-10 1px 3px 0 rgba(0, 0, 0, 0.25)Subtle elevation for cards, dropdown buttons, and toolbars.
--noether-shadow-20 4px 16px 0 rgba(0, 0, 0, 0.40)Floating popovers, context menus, and search palettes.
--noether-shadow-30 8px 32px 0 rgba(0, 0, 0, 0.60)Modal dialog backdrops, image lightboxes, and graph overlays.

7. Native System Font Stacks

Noether uses native system font stacks to avoid external web font downloads and startup layout shifts:

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

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

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

/* Configurable editor base sizing */
--editor-font-size: 16px;

8. Theme Authoring & Overrides

To build a custom theme for Noether, author a ThemeDefinition JSON object (or create/import it under Settings -> Appearance) and optionally supply customCss rules overriding any --noether-* token:

{
  "id": "nordic-frost",
  "name": "Nordic Frost",
  "mode": "dark",
  "colors": {
    "bgApp": "#242933",
    "bgSidebar": "#2e3440",
    "bgMain": "#3b4252",
    "bgCard": "#434c5e",
    "borderBase": "#4c566a",
    "accent": "#88c0d0",
    "accentHover": "#81a1c1",
    "textPrimary": "#eceff4",
    "textSecondary": "#d8dee9"
  }
}

For complete instructions on testing and packaging themes, read Build Your First Theme. To see how these variables style Noether’s native UI elements, check Noether UI Components.

Search wiki and portfolio

type to search across all entries.