Open ynishi opened 5 years ago
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.
Install and write some code with reading document. https://mdgriffith.gitbooks.io/style-elements/content/defining-a-stylesheet.html
import Style.Colors exposing (darkGray) -- ... Style.styleSheet [ Style.style Title [ Color.text darkGray ]] -- ...
$ elm make src/Main.elm
I cannot find a darkGray variable:
darkGray
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
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 ]]