there are 3 ways to work with CSS: `kotlin-csstype...
# javascript
p
there are 3 ways to work with CSS:
kotlin-csstype
,
kotlin-css
and I think sometimes I need to use dynamic JS object. Are there any plans to unify it? 😅 it's especially inconvenient when both
kotlin-csstype
and
kotlin-css
has the same names of functions and need to be imported in the same file, e.g. when using React and Styled Components in the same component
t
kotlin-csstype
- base and lightweight + generated “from MDN”. Only for JS platform
kotlin-css
- written manualy. Multiplatform
In case of JS project -
kotlin-csstype
is preferred
p
Thanks! Are there any plans to unify these worlds?
Like e. g. kotlin-csstype but multiplatform?
I'm also wondering if CSS in non-JS backend is really needed
t
CSS blocks in static html