kobweb icon indicating copy to clipboard operation
kobweb copied to clipboard

Remove Modifier extensions that accept strings as inputs

Open bitspittle opened this issue 3 years ago • 1 comments

This isn't type safe and is lazy. If people want those, they can use the styleModifier escape hatch.

This is a backwards incompatible change in a few cases so should be done before 1.0

bitspittle avatar Feb 21 '22 19:02 bitspittle

Keep in mind we will probably want to support variables somehow. We can possibly introduce a CssVariable version for some methods, instead of taking string values directly, though.

bitspittle avatar Mar 26 '22 16:03 bitspittle

Duplicate of #173

bitspittle avatar May 24 '23 18:05 bitspittle