mirror of
https://github.com/mdgriffith/elm-ui.git
synced 2024-11-29 07:18:39 +03:00
30 lines
656 B
Elm
30 lines
656 B
Elm
module Main 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!")
|