In my `StyleSheet` if I have defined a style class...
# compose-web
e
In my
StyleSheet
if I have defined a style class
val x by style {}
and I want to apply it to a raw selector, e.g. a
<button>
, is that possible? For example:
Copy code
object MyStyleSheet : StyleSheet() {
    val x by style {}

    init {
        "button" by style {
            // Here apply class x from above
        }
    }
}
My use case: define 1 style class for round corners and apply that class to the various elements that I want to style like that. Maybe I need a different approach, I'm open to suggestions.