compose-for-web-demos icon indicating copy to clipboard operation
compose-for-web-demos copied to clipboard

Styles and inline styles

Open altavir opened this issue 5 years ago • 0 comments

Contrary to mobile development, in web we usually want yo use styled elements, both with inline styles and with external styles. In order to do so, we must have a block like css in styled, which could accept both string references to external styles and style combinators. It is possible to pass additional configurator labmda block to each element constructor, but I do not like the design. If it would be possible to define css block inside the composable body (to affect parent) it would be much better.

altavir avatar Oct 11 '20 12:10 altavir