mirror of
https://github.com/mdgriffith/elm-ui.git
synced 2024-09-19 05:17:50 +03:00
remove Color
from readme
This commit is contained in:
parent
25850370dc
commit
b52d0ca0d3
@ -15,8 +15,7 @@ This means:
|
||||
|
||||
|
||||
```elm
|
||||
import Color exposing (blue, darkBlue)
|
||||
import Element exposing (Element, el, text, row, alignRight)
|
||||
import Element exposing (Element, el, text, row, alignRight, rgb)
|
||||
import Element.Background as Background
|
||||
import Element.Border as Border
|
||||
|
||||
@ -37,8 +36,8 @@ myRowOfStuff =
|
||||
myElement : Element msg
|
||||
myElement =
|
||||
el
|
||||
[ Background.color blue
|
||||
, Border.color darkBlue
|
||||
[ Background.color (rgb 0.2 0.3 0.3)
|
||||
, Border.color (rgb 0.2 0.4 0.3)
|
||||
]
|
||||
(text "You've made a stylish element!")
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user