noredink-ui/styleguide-app/Examples/Fonts.elm

33 lines
916 B
Elm
Raw Normal View History

2018-03-17 01:27:38 +03:00
module Examples.Fonts exposing (example)
{-|
@docs example
-}
import Headings
2018-03-17 01:27:38 +03:00
import Html.Styled as Html
import Html.Styled.Attributes exposing (css)
import ModuleExample as ModuleExample exposing (Category(..), ModuleExample)
import Nri.Ui.Fonts.V1 as Fonts
{-| -}
example : ModuleExample msg
example =
{ filename = "Nri.Ui.Fonts.V1.elm"
2018-03-17 01:33:42 +03:00
, category = Fonts
2018-03-17 01:27:38 +03:00
, content =
[ Headings.h3 [ Html.text "baseFont" ]
2018-03-17 01:27:38 +03:00
, Html.p [ css [ Fonts.baseFont ] ]
[ Html.text "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz" ]
, Headings.h3 [ Html.text "quizFont" ]
2018-03-17 01:27:38 +03:00
, Html.p [ css [ Fonts.quizFont ] ]
[ Html.text "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz" ]
, Headings.h3 [ Html.text "ugFont" ]
2018-03-17 01:37:34 +03:00
, Html.p [ css [ Fonts.ugFont ] ]
[ Html.text "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz" ]
2018-03-17 01:27:38 +03:00
]
}