SilkWidgetVariables
Deprecated
Silk styling has been streamlined to operate based on a single color mode class, which automatically provides widget variables. Use `ColorModeAware` to set this class instead.
Set all CSS variables needed by the Silk library to work.
Parameters
An element which must live at a point in the DOM tree above any Silk widgets. This method will be called inside a remember
block, meaning it will only be triggered once per composition.
Deprecated
Silk styling has been streamlined to operate based on a single color mode class, which automatically provides widget variables. Use `ColorModeAware` to set this class instead.
Replace with
ColorModeAware()
Set all Silk variables on the DOM root.
Deprecated
Silk styling has been streamlined to operate based on a single color mode class, which automatically provides widget variables. Use `ColorModeAware` to set this class instead.
Replace with
ColorModeAware(elementId)
Set all Silk variables on an element with the target ID name.
Deprecated
Silk styling has been streamlined to operate based on a single color mode class, which automatically provides widget variables. Use `ColorModeAware` to set this class instead.
Replace with
ColorModeAware(element)