gdotdesign / elm-ui

UI library for making web applications with Elm
https://elm-ui.netlify.com
BSD 2-Clause "Simplified" License
920 stars 39 forks source link

Text helpers would be great #80

Open silaspedrosa opened 7 years ago

silaspedrosa commented 7 years ago

I come from AngularJS and over there I used a lot. It's a pretty good UI framework for angular, they have it all covered (almost). For example, they have this typography section that helps you make text look good. Maybe we could have something like Ui.Text around here? I really missed that and maybe lots of people also do.

Of course, maybe I'm just missing something, but the only way I think I could get this kind of behavior would be search through source code and using styles from some specific components that use formatted text.

Thanks a lot! This library is simply GREAT and BEAUTIFUL.

gdotdesign commented 7 years ago

Thanks for bringing this issue up! 👍 Can you give me some examples of what you have in mind?

silaspedrosa commented 7 years ago

Actually I miss css helpers in general. Basically, classes that would style elements. For example, how can I use some pretty texts like the "Ui" title in http://elm-ui.info/reference/ui? Now, I'd have to search in the source code for the styles used and try to reproduce them.

What about someting like semantic ui's header classes? This whole page [https://semantic-ui.com/elements/header.html]() is awesome! Look at those classes, new developers would have no trouble in using them and would just love Elm-UI, right?