elm-ui/examples/Basic.elm

30 lines
657 B
Elm
Raw Normal View History

2020-05-23 04:32:22 +03:00
module Basic exposing (..)
2018-08-29 02:41:08 +03:00
{-| -}
import Element exposing (..)
import Element.Background as Background
import Element.Font as Font
import Element.Input
import Element.Lazy
main =
Element.layout
[ Background.color (rgba 0 0 0 1)
, Font.color (rgba 1 1 1 1)
, Font.italic
, Font.size 32
, Font.family
[ Font.external
{ url = "https://fonts.googleapis.com/css?family=EB+Garamond"
, name = "EB Garamond"
}
, Font.sansSerif
]
]
<|
el
[ centerX, centerY ]
(text "Hello stylish friend!")