<button className={`${design}`}>
<CustomButton design:'primary' | 'secondary' | 'tertiary' />
type alias Value compatible =
{ compatible | value : String }
type alias All compatible =
{ compatible | value : String, all : Compatible }
--
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
> burdening the compiler with excessive language features.
Html.Styles module because best practices for working with HTML suggest that this should primarily be specified in CSS files. So the general recommendation is to use this function lightly.I agree with Noah.
The class of errors language-level CSS value support would improve is so small, I can't think of a time its existence would have saved me a noticeable amount of debugging time.
I value language simplicity, so by default any new language feature has a very high bar to clear to justify its inclusion. I don't think this will ever clear that bar. :)
--
You received this message because you are subscribed to a topic in the Google Groups "Elm Discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/elm-discuss/vvJGw1u7NVQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to elm-discuss...@googlegroups.com.
Yeah elm-css is a library. I think a library is the way to go here, not a language addition. :)
To me it's not a question of "could CSS UX theoretically be better." I'm sure it could! The question is whether those benefits would justify the innate complexity increase of adding anything whatsoever to the language.
I don't think they would. It's more important to me to keep the language simpler than to add CSS-specific features of any kind. :)
--
- Why not make Elm-CSS an officially-supported core package?
- Is there a roadmap for Elm-CSS or suggested ways to improve it?