Expand description
Renderer-neutral colors, semantic diff palettes, and syntax themes.
Structs§
- Control
State - Complete semantic state for an action control.
- Diff
Palette - Colors used by diff renderers.
- Diff
Theme - A capture-based syntax theme plus semantic colors for the diff UI.
- Fingerprint
- Font
Style - Text modifiers returned by the syntax engine.
- Highlight
Span - A highlighted, UTF-8-safe byte range into the supplied source.
- Markdown
Palette - Semantic Markdown roles used by renderer adapters.
- Review
Theme - Aggregate theme shared by terminal and desktop adapters.
- Rgba
- An sRGB color with an explicit alpha channel.
- Semantic
Style - Renderer-neutral visual result for one semantic component state.
- Syntax
Style - Style assigned to a Tree-sitter capture name.
- Syntax
Theme Builder - Builder for syntax themes without exposing the capture map representation.
- Theme
Descriptor - Summary metadata for a theme offered by the built-in catalog.
- Tone
Colors - Foreground and background colors resolved for one
DiffTone. - UiPalette
- Renderer-neutral application colors derived from a diff palette.
Enums§
- Button
Variant - Semantic intent shared by renderer-native action controls.
- Control
Size - Semantic size shared by renderer-native controls.
- Diff
Tone - Semantic tint for a diff cell.
- Fingerprint
Error - Errors produced while decoding a hexadecimal fingerprint.
- Interaction
State - Interaction state shared by renderer-native controls.
- Modal
Size - Cross-renderer modal size category.
- Notice
Tone - Semantic tone for notices and status messages.
- Selection
State - Semantic state for selectable content.
- Theme
Error - Errors produced while loading theme JSON.
- ThemeId
- Stable identifiers for embedded and host-provided themes.
Constants§
- SCRIM_
ALPHA - Alpha applied to the canvas color when it backs a modal scrim.
Type Aliases§
- Syntax
Theme - A syntax-only theme view. This alias keeps the capture API compact while allowing callers to depend on the syntax boundary rather than the diff UI.