Skip to main content

Crate clankerdiff_theme

Crate clankerdiff_theme 

Source
Expand description

Renderer-neutral colors, semantic diff palettes, and syntax themes.

Structs§

ControlState
Complete semantic state for an action control.
DiffPalette
Colors used by diff renderers.
Fingerprint
FontStyle
Text modifiers returned by the syntax engine.
HighlightSpan
A highlighted, UTF-8-safe byte range into the supplied source.
MarkdownPalette
ReviewTheme
ReviewThemeBuilder
Rgba
An sRGB color with an explicit alpha channel.
SemanticStyle
Renderer-neutral visual result for one semantic component state.
SyntaxStyle
Style assigned to a Tree-sitter capture name.
SyntaxTheme
ThemeChoice
ThemeDescriptor
Summary metadata for a theme offered by the built-in catalog.
ThemeSelection
ToneColors
Foreground and background colors resolved for one DiffTone.
UiPalette
Renderer-neutral application colors derived from a diff palette.

Enums§

ButtonVariant
Semantic intent shared by renderer-native action controls.
ControlSize
Semantic size shared by renderer-native controls.
DiffTone
Semantic tint for a diff cell.
FingerprintError
Errors produced while decoding a hexadecimal fingerprint.
InteractionState
Interaction state shared by renderer-native controls.
ModalSize
Cross-renderer modal size category.
NoticeTone
Semantic tone for notices and status messages.
SelectionState
Semantic state for selectable content.
ThemeError
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.