Crate stylish_style

Source
Expand description

Internal implementation details of stylish-core.

Do not depend on this crate directly.

Structs§

Background
A Restyle implementor for setting Style::background.
Foreground
A Restyle implementor for setting Style::foreground.
Style
A style to render text with, setting the foreground and background colors, along with intensity.
StyleDiff
A diff between two styles.

Enums§

Color
A color that can be used with Foreground to modify Style::foreground or Background to modify Style::background.
Intensity
An intensity to render text with, to emphasise or de-emphasise it as needed.

Traits§

Restyle
A trait for modifications to Style, allowing an ergonomic API with Style::with and stylish::Formatter::with.