Structs§
- Indent
Props - Options
- Options to use in the configuration.
- Style
Config - The style configuration which can also use the builder pattern.
Enums§
- Color
Format - CssValue
- The min width can either be a string or a number. If a number it will be interpreted as a pixel measurement.
- Error
- Indent
Style
Constants§
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.