Join Slack
Powered by
how can I use a sass variable in kotlin react styl...
# javascript
d
Dirk Hoffmann
12/30/2020, 12:03 PM
how can I use a sass variable in kotlin react styledDiv?
Copy code
styledDiv { css { height = "\$pt-navbar-height".toInt().px } ...
m
Marc Knaup
12/30/2020, 1:06 PM
You can't use SASS with Kotlin Styled. I use CSS Variables (Custom Properties) extensively. I don't use Kotlin Styled though.
3
Views
Open in Slack
Previous
Next