Crate skribble_core

Crate skribble_core 

Source

Structs§

IndentProps
Options
Options to use in the configuration.
StyleConfig
The style configuration which can also use the builder pattern.

Enums§

ColorFormat
CssValue
The min width can either be a string or a number. If a number it will be interpreted as a pixel measurement.
Error
IndentStyle

Constants§

INDENTATION
ROOT_SELECTOR

Functions§

convert_css_value_to_color
Convert the color to a valid css value with the opacity set to the provided css variable.
escape_css_string
Escape a css string.
get_css_variables_from_string
Retrieve the css variables from the provided css value.
get_rgba_color_from_string
Will return the string unchanged if the color provided is not valid.
indent
Indent the string with the given amount of spaces.
wrap_css_variable
Wrap the opacity value in var() if not already done in the config.

Type Aliases§

Result