setSilkWidgetVariables

Deprecated

Silk styling has been streamlined to operate based on a single color mode class, which automatically provides widget variables. Use `HTMLElement.setStyleFor` to set this class instead.

Replace with

import com.varabyte.kobweb.silk.setStyleFor
this.setStyleFor(colorMode)