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

33 lines
933 B
Elm
Raw Normal View History

2018-03-17 01:27:38 +03:00
module Examples.Fonts exposing (example)
{-|
@docs example
-}
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
import Nri.Ui.Heading.V2 as Heading
2018-03-17 01:27:38 +03:00
{-| -}
example : ModuleExample msg
example =
2019-05-03 19:56:43 +03:00
{ name = "Nri.Ui.Fonts.V1"
, category = Text
2018-03-17 01:27:38 +03:00
, content =
[ Heading.h3 [] [ Html.text "baseFont" ]
2018-03-17 01:27:38 +03:00
, Html.p [ css [ Fonts.baseFont ] ]
[ Html.text "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz" ]
, Heading.h3 [] [ Html.text "quizFont" ]
2018-03-17 01:27:38 +03:00
, Html.p [ css [ Fonts.quizFont ] ]
[ Html.text "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz" ]
, Heading.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
]
}