You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.
Elm currently doesn't have template strings which is the reason I decided to implement each CSS declaration as a function. Maybe a way to support both would be great so it's faster to get into elm-styled. The problem is that inserting values into a String is pretty ugly in elm currently.
Maybe it's not worth to support that because elm-css is accepted very well in the elm community as well. In addition with this method you would lose the power of typed Css.
The text was updated successfully, but these errors were encountered:
I agree with that maybe it isn't worth it. And as you say, elm-css is a fine alternative. I like the approach of implementing each CSS declaration as a function, so maybe this package should: "Do One Thing and Do It Well."
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Elm currently doesn't have template strings which is the reason I decided to implement each CSS declaration as a function. Maybe a way to support both would be great so it's faster to get into elm-styled. The problem is that inserting values into a String is pretty ugly in elm currently.
Maybe it's not worth to support that because elm-css is accepted very well in the elm community as well. In addition with this method you would lose the power of typed Css.
The text was updated successfully, but these errors were encountered: