Ayfri
08/15/2022, 7:11 PMobject FooterStyle : StyleSheet() {
val buttonColor by variable<CSSColorValue>()
val button by style {
backgroundColor(buttonColor.value())
...
}
}
// somewhere in a @Composable
A(href = "/my-route", {
target(ATarget.blank)
classes(FooterStyle.button)
style {
FooterStye.buttonColor(Color.gray)
}
}) {
Text("Download")
}
But the variable isn't set in my resulting CSS and there's even no inline style at all 🤔