NEURALNG

EDITOR

Design tokens

Neutral, dark mode and experimental themes share the same component-token surface. Import the matching Core theme before @neural-ng/editor/themes/neutral.css.

Component tokens

--neural-editor-width

Component inline size.

--neural-editor-min-height

Component minimum block size.

--neural-editor-max-height

Component maximum block size.

--neural-editor-color

Component foreground color.

--neural-editor-color-readonly

Readonly component foreground color.

--neural-editor-background

Component background surface.

--neural-editor-content-background

Content background surface.

--neural-editor-content-color

Content foreground color.

--neural-editor-border

Component border shorthand.

--neural-editor-border-color-focus

Focused component border color.

--neural-editor-border-color-invalid

Invalid component border color.

--neural-editor-radius

Component corner radius.

--neural-editor-shadow

Component box shadow.

--neural-editor-shadow-focus

Focused component box shadow.

--neural-editor-shadow-invalid

Invalid component box shadow.

--neural-editor-font-family

Component font family.

--neural-editor-font-size

Component font size.

--neural-editor-line-height

Component line height.

--neural-editor-content-padding

Content internal spacing.

--neural-editor-caret-color

Component text caret color.

--neural-editor-placeholder-color

Placeholder foreground color.

--neural-editor-placeholder-opacity

Opacity of the editor placeholder when the document is empty.

--neural-editor-heading-color

Heading foreground color.

--neural-editor-blockquote-color

Blockquote foreground color.

--neural-editor-blockquote-border

Blockquote border shorthand.

--neural-editor-inline-code-background

Inline code background surface.

--neural-editor-code-block-color

Code block foreground color.

--neural-editor-code-block-background

Code block background surface.

--neural-editor-link-color

Link foreground color.

--neural-editor-rule-border

Rule border shorthand.

--neural-editor-selection-background

Selection background surface.

--neural-editor-toolbar-gap

Spacing between toolbar items.

--neural-editor-toolbar-padding

Toolbar internal spacing.

--neural-editor-toolbar-background

Toolbar background surface.

--neural-editor-toolbar-border

Toolbar border shorthand.

--neural-editor-toolbar-button-size

Toolbar button width and height.

--neural-editor-toolbar-button-color

Toolbar button foreground color.

--neural-editor-toolbar-button-background

Toolbar button background surface.

--neural-editor-toolbar-button-background-hover

Hovered toolbar button background surface.

--neural-editor-toolbar-button-color-hover

Hovered toolbar button foreground color.

--neural-editor-toolbar-button-background-active

Active toolbar button background surface.

--neural-editor-toolbar-button-color-active

Active toolbar button foreground color.

--neural-editor-toolbar-button-radius

Toolbar button corner radius.

--neural-editor-toolbar-separator-color

Toolbar separator foreground color.

--neural-editor-toolbar-menu-color

Toolbar menu foreground color.

--neural-editor-toolbar-menu-background

Toolbar menu background surface.

--neural-editor-toolbar-menu-border

Toolbar menu border shorthand.

--neural-editor-toolbar-menu-radius

Toolbar menu corner radius.

--neural-editor-toolbar-menu-shadow

Toolbar menu box shadow.

--neural-editor-toolbar-color-swatch-border

Toolbar color swatch border shorthand.

--neural-editor-task-checkbox-accent

Task checkbox accent color.

--neural-editor-table-cell-border

Table cell border shorthand.

--neural-editor-table-header-background

Table header background surface.

--neural-editor-table-selection-background

Table selection background surface.

--neural-editor-link-input-background

Link input background surface.

--neural-editor-link-input-border

Link input border shorthand.

--neural-editor-link-input-radius

Link input corner radius.

--neural-editor-link-action-color

Link action foreground color.

--neural-editor-link-action-background

Link action background surface.

--neural-editor-link-action-border

Link action border shorthand.

--neural-editor-link-action-radius

Link action corner radius.

--neural-editor-context-menu-z-index

Context menu stacking order.

--neural-editor-context-menu-color

Context menu foreground color.

--neural-editor-context-menu-background

Context menu background surface.

--neural-editor-context-menu-border

Context menu border shorthand.

--neural-editor-context-menu-radius

Context menu corner radius.

--neural-editor-context-menu-shadow

Context menu box shadow.

--neural-editor-context-menu-button-color

Context menu button foreground color.

--neural-editor-context-menu-button-color-active

Active context menu button foreground color.

--neural-editor-context-menu-button-background-active

Active context menu button background surface.

--neural-editor-context-menu-button-radius

Context menu button corner radius.

--neural-editor-image-radius

Image corner radius.

--neural-editor-image-selection-outline

Image selection outline.

--neural-editor-mention-color

Mention foreground color.

--neural-editor-mention-background

Mention background surface.

--neural-editor-suggestion-z-index

Suggestion stacking order.

--neural-editor-suggestion-color

Suggestion foreground color.

--neural-editor-suggestion-background

Suggestion background surface.

--neural-editor-suggestion-border

Suggestion border shorthand.

--neural-editor-suggestion-radius

Suggestion corner radius.

--neural-editor-suggestion-shadow

Suggestion box shadow.

--neural-editor-suggestion-item-color

Suggestion item foreground color.

--neural-editor-suggestion-item-color-active

Active suggestion item foreground color.

--neural-editor-suggestion-item-background-active

Active suggestion item background surface.

--neural-editor-command-palette-z-index

Command palette stacking order.

--neural-editor-command-palette-backdrop

Command palette backdrop color.

--neural-editor-command-palette-background

Command palette background surface.

--neural-editor-command-palette-border

Command palette border shorthand.

--neural-editor-command-palette-radius

Command palette corner radius.

--neural-editor-command-palette-shadow

Command palette box shadow.

--neural-editor-command-palette-input-background

Command palette input background surface.

--neural-editor-command-palette-input-border

Command palette input border shorthand.

--neural-editor-ai-review-z-index

AI review stacking order.

--neural-editor-ai-review-color

AI review foreground color.

--neural-editor-ai-review-muted-color

AI review muted foreground color.

--neural-editor-ai-review-background

AI review background surface.

--neural-editor-ai-review-border

AI review border shorthand.

--neural-editor-ai-review-radius

AI review corner radius.

--neural-editor-ai-review-shadow

AI review box shadow.

--neural-editor-ai-review-button-color

AI review button foreground color.

--neural-editor-ai-review-button-background

AI review button background surface.

--neural-editor-ai-review-button-border

AI review button border shorthand.

--neural-editor-ai-addition-background

AI addition background surface.

--neural-editor-ai-addition-border-color

AI addition border color.

--neural-editor-ai-deletion-background

AI deletion background surface.

--neural-editor-ai-deletion-border-color

AI deletion border color.

--neural-editor-ai-update-border-color

AI update border color.

--neural-editor-ai-selected-outline

AI selected outline.

--neural-editor-footer-gap

Spacing between footer items.

--neural-editor-footer-padding

Footer internal spacing.

--neural-editor-footer-color

Footer foreground color.

--neural-editor-footer-background

Footer background surface.

--neural-editor-footer-border

Footer border shorthand.

--neural-editor-footer-font-size

Footer font size.

--neural-editor-focus-ring

Component keyboard focus ring.

--neural-editor-focus-ring-offset

Component focus ring offset.

--neural-editor-disabled-opacity

Disabled opacity.

--neural-editor-transition

Component CSS transition.

--neural-editor-collaboration-border

Collaboration border shorthand.

--neural-editor-collaboration-input-border

Collaboration input border shorthand.

--neural-editor-collaboration-button-border

Collaboration button border shorthand.

--neural-editor-collaboration-button-background

Collaboration button background surface.

--neural-editor-collaboration-item-border

Collaboration item border shorthand.

--neural-editor-comment-background

Comment background surface.

--neural-editor-comment-border-color

Comment border color.

--neural-editor-tracked-insertion-color

Tracked insertion foreground color.

--neural-editor-tracked-insertion-background

Tracked insertion background surface.

--neural-editor-tracked-deletion-color

Tracked deletion foreground color.

--neural-editor-tracked-deletion-background

Tracked deletion background surface.