lietzsche;noether
Pages

updated 2026-11-26·3 min read

Component Variables

CSS tokens and utility classes for Noether interactive controls including buttons (.noether-btn), inputs, toggle switches (.noether-switch), cards, and popovers.

CSS tokens and component classes defined in src/index.css and src/components/ui/ for buttons, inputs, toggle switches, cards, and popovers.

1. Buttons (.noether-btn & .noether-toolbar-btn)

Buttons consume surface and accent tokens rather than separate button-specific color variables:

Selector / TokenDark DefaultLight DefaultUsage
.noether-btnvar(--noether-bg-card-hover, #2a2a2a)var(--noether-bg-card, #f4f4f5)Default button surface (border-radius: 5px, padding: 5px 12px).
.noether-btn-primaryvar(--noether-accent, #eb584d)var(--noether-accent, #eb584d)Primary CTA button (color: #ffffff).
.noether-btn-danger#e11d48#e11d48Destructive action button (color: #ffffff).
--noether-btn-hover-bgrgba(255, 255, 255, 0.05)rgba(0, 0, 0, 0.04)Hover background for .noether-toolbar-btn and ghost actions.
--noether-btn-active-bgrgba(255, 255, 255, 0.09)rgba(0, 0, 0, 0.08)Active / pressed background for .noether-toolbar-btn and selected menu rows.

2. Text Inputs

TextInput and base form fields in src/index.css use the input surface and border tokens:

TokenDark DefaultLight DefaultDescription
--noether-bg-input#181818#f0f0f2Text input, select, and textarea background.
--noether-bg-input-focus#222222#ffffffFocused input background.
--noether-border-base#292929#e4e4e7Default input border.
--noether-border-strong#383838#cbd5e1TextInput border (focus:border-[var(--noether-accent)]).
--noether-text-primary#ffffff#09090bInput text color.
--noether-text-faint#555555#71717aPlaceholder text color in dark mode (--noether-text-muted in .theme-light).

3. Toggle Switches (.noether-switch)

ToggleSwitch and SettingBuilder.addToggle() style switches via .noether-switch and .noether-switch-knob:

SelectorTrack / Knob StylingDescription
.noether-switch[aria-checked="false"]var(--noether-bg-card-hover, #2a2a2a) (light: var(--noether-border-base))Inactive toggle track.
.noether-switch[aria-checked="true"]var(--noether-accent, #eb584d)Active toggle track.
.noether-switch-knob#ffffffCircular sliding knob.

4. Cards, Popovers & Modals

TokenDark DefaultLight DefaultDescription
--noether-bg-card#222222#ffffffSettingCard and [data-card="true"] surface.
--noether-border-subtle#202020#f0f0f2Dividers between SettingItem rows.
--noether-bg-popover#232323#ffffffFloating menus (CustomSelect, StatusBar mode menu, context menus).
--noether-shadow-20 4px 16px 0 rgba(0, 0, 0, 0.4)0 4px 12px -2px rgba(0, 0, 0, 0.06), ...Popover and dropdown elevation.
--noether-shadow-30 8px 32px 0 rgba(0, 0, 0, 0.6)0 10px 24px -4px rgba(0, 0, 0, 0.08), ...Dialog and modal elevation ([role="dialog"]).

Search wiki and portfolio

type to search across all entries.