lietzsche;noether
Pages

updated 2026-11-26·3 min read

Editor Variables

CSS custom properties and editor styling classes for TipTap/ProseMirror canvas, selection, heading scales, code blocks, wikilinks, and folding controls.

CSS variables and class selectors in src/index.css for the TipTap/ProseMirror Live Preview editor, Reading View, markdown typography, links, and folding controls.

1. Document Canvas & Sizing

TokenDark DefaultLight DefaultDescription
--noether-bg-main#1c1c1c#ffffffPrimary editor and reading canvas background.
--editor-font-size16px16pxBase editor font size controlled by Appearance > Font size (12px–24px).
--font-textvar(--font-text-fallback)var(--font-text-fallback)Document body font stack (line-height: 1.75 on .ProseMirror / .markdown-prose).
--noether-hang-indentDynamicDynamicHanging indent offset applied on wrapped list items.

2. Selection Tokens

TokenDark DefaultLight DefaultDescription
--noether-selection-bg#4a4e57#e4e4e7Selection highlight background inside .ProseMirror and .markdown-prose.
--noether-selection-text#ffffff#09090bSelected text foreground color.

3. Headings & Markdown Typography

.ProseMirror and .markdown-prose derive heading sizes directly from --editor-font-size and foreground colors from text tokens:

SelectorScaleColor Token
h1calc(var(--editor-font-size, 16px) * 1.85)var(--noether-text-primary)
h2calc(var(--editor-font-size, 16px) * 1.45)var(--noether-text-primary)
h3calc(var(--editor-font-size, 16px) * 1.2)var(--noether-text-secondary) (--noether-text-primary in .theme-light)
h4calc(var(--editor-font-size, 16px) * 1.08)var(--noether-text-secondary) (--noether-text-primary in .theme-light)

4. Code Blocks & Monospace Syntax

TokenDark DefaultLight DefaultDescription
--noether-code-bg#242424#f4f4f5Inline code background (.theme-light .ProseMirror pre uses var(--noether-bg-input)).
--noether-code-text#e5e7eb#09090bMonospace code text color.
--font-monospacevar(--font-monospace-fallback)var(--font-monospace-fallback)Monospace stack for code, pre, kbd, and .font-mono.
TokenDefault ValueDescription
--noether-link-colorvar(--noether-accent)Internal [[Wikilinks]] and external anchors.
--noether-link-hovervar(--noether-accent-hover, var(--noether-accent))Hovered link state.
--noether-link-visitedvar(--noether-accent)Visited link color (#bc8cff dark / #551a8b light when blue-links mode is enabled).
--noether-link-decoration-colorvar(--noether-border-strong)Underline decoration color (currentColor when [data-color-link-underline="true"] is set).
--noether-link-icon-colorvar(--noether-text-muted)Trailing external link icon color (currentColor when [data-color-link-icon="true"] is set).

6. Folding Gutters & Placeholders

Folding widgets and collapsed ellipsis markers in src/index.css use class selectors and existing text tokens:

SelectorStylingDescription
.noether-fold-btn#777777 (hover: #dcddde)Heading and list fold chevron button.
.noether-fold-ellipsis / .noether-fold-placeholdervar(--noether-text-muted, #777777) (hover: var(--noether-text-primary))Collapsed inline ellipsis marker (...).

Search wiki and portfolio

type to search across all entries.