Hi, another question related to CSS. How can I deb...
# compose-web
t
Hi, another question related to CSS. How can I debug what CSS rules
AppStyleSheet
produced? In Chrome developer I can see this, but when I click on
<style>
it shows empty element. When using
.css
files then it is clearly visible from where concrete rule comes.
I'll answer myself: You can use
Copy code
println(AppStyleSheet.cssRules.joinToString(separator = "\n") { it.stringPresentation() })
in unit tests and/or in some script.
1