mdgriffith / style-elements

Create styles that don't mysteriously break!
http://package.elm-lang.org/packages/mdgriffith/style-elements/latest
BSD 3-Clause "New" or "Revised" License
445 stars 49 forks source link

Include basic web color settings #160

Open ynishi opened 5 years ago

ynishi commented 5 years ago

Include commonly used color settings.

I think that basic color like The HTML defined is better to be included. https://en.wikipedia.org/wiki/Web_colors#HTML_color_names

It seems that developers often implement it myself. https://github.com/mdgriffith/style-elements/blob/master/examples/Color.elm

Or it might be better to be explained the best practice in the document.

What I did

Install and write some code with reading document. https://mdgriffith.gitbooks.io/style-elements/content/defining-a-stylesheet.html

What I Expected To Happen

What Actually Happened

I cannot find a darkGray variable:

Style.styleSheet [ Style.style Title [ Color.text darkGray ]]



## Versions

- Elm: 0.19
- style-elements:5.0.1
- Browser: - (just compile)
- Operating System: Ubuntu 18.04.1 LTS