git.iko.soy/typeable/elm-ui
on master help sign in
remove `Color` from readme
commitb52d0ca0d36ff1527bdbebc06d11003b7c2a3419 authorMatthew Griffith <mdg.griffith@gmail.com> dateTue 28 Aug 2018, 21:30 (8 years ago) parent2585037
1 file changed+3−4
README.md+3−4
README.md+3−4
@@ -15,8 +15,7 @@ This means:
1515
1616
1717```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)
2019import Element.Background as Background
2120import Element.Border as Border
2221
@@ -37,8 +36,8 @@ myRowOfStuff =
3736myElement : Element msg
3837myElement =
3938 el
40− [ Background.color blue
41− , Border.color darkBlue
39+ [ Background.color (rgb 0.2 0.3 0.3)
40+ , Border.color (rgb 0.2 0.4 0.3)
4241 ]
4342 (text "You've made a stylish element!")
4443```