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
|
2019-07-23 17:58:23 +03:00
|
|
|
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"
|
2019-05-03 18:59:26 +03:00
|
|
|
, category = Text
|
2018-03-17 01:27:38 +03:00
|
|
|
, content =
|
2019-07-23 17:58:23 +03:00
|
|
|
[ Heading.h3 [] [ Html.text "baseFont" ]
|
2018-03-17 01:27:38 +03:00
|
|
|
, Html.p [ css [ Fonts.baseFont ] ]
|
|
|
|
[ Html.text "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz" ]
|
2019-07-23 17:58:23 +03:00
|
|
|
, Heading.h3 [] [ Html.text "quizFont" ]
|
2018-03-17 01:27:38 +03:00
|
|
|
, Html.p [ css [ Fonts.quizFont ] ]
|
|
|
|
[ Html.text "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz" ]
|
2019-07-23 17:58:23 +03:00
|
|
|
, 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
|
|
|
]
|
|
|
|
}
|