mirror of
https://github.com/mdgriffith/elm-ui.git
synced 2024-11-25 19:15:09 +03:00
30 lines
657 B
Elm
30 lines
657 B
Elm
module Basic exposing (..)
|
|
|
|
{-| -}
|
|
|
|
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!")
|