Big Chungus
02/23/2021, 8:55 AMHampus Londögård
02/23/2021, 9:04 AMval
like
val veryImportant: Style<BasicParams> = {
boxShadow { raised }
background { color { danger } }
color { light }
radius { "1.5rem" }
}
As shown in examples makes the code look pretty OK. My understanding is that this also allows composition of multiple styles, which is cool.
One thing I’d wish for though is scoped styling somehow (might be possible already?). Like in the scope of a form
all input
has the same styling applied.