git.iko.soy/typeable/elm-ui
on master help sign in
remove `Color` from readme
b52d0caMatthew Griffith
README.md+3−4
@@ -15,8 +15,7 @@ This means:
15
15
16
16
17```elm
17```elm
18−import Color exposing (blue, darkBlue)
19−import Element exposing (Element, el, text, row, alignRight)
18+import Element exposing (Element, el, text, row, alignRight, rgb)
20import Element.Background as Background
19import Element.Background as Background
21import Element.Border as Border
20import Element.Border as Border
22
21
@@ -37,8 +36,8 @@ myRowOfStuff =
37myElement : Element msg
36myElement : Element msg
38myElement =
37myElement =
39 el
38 el
40− [ Background.color blue
39+ [ Background.color (rgb 0.2 0.3 0.3)
41− , Border.color darkBlue
40+ , Border.color (rgb 0.2 0.4 0.3)
42 ]
41 ]
43 (text "You've made a stylish element!")
42 (text "You've made a stylish element!")
44```
43```