mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-26 07:04:33 +03:00
51e79158a8
The CSS reset removed default browser styles for h1, h2, h3, etc elements, resulting in a pretty weird looking styleguide. This adds modules for headings, one version for use with plain Html, the other for use with Html.Styled.
30 lines
412 B
Elm
30 lines
412 B
Elm
module HeadingsStyled exposing (h1, h2, h3, h4, h5)
|
|
|
|
import Html.Styled exposing (Html)
|
|
import Nri.Ui.Text.V2 as Text
|
|
|
|
|
|
h1 : List (Html msg) -> Html msg
|
|
h1 =
|
|
Text.heading
|
|
|
|
|
|
h2 : List (Html msg) -> Html msg
|
|
h2 =
|
|
Text.heading
|
|
|
|
|
|
h3 : List (Html msg) -> Html msg
|
|
h3 =
|
|
Text.subHeading
|
|
|
|
|
|
h4 : List (Html msg) -> Html msg
|
|
h4 =
|
|
Text.subHeading
|
|
|
|
|
|
h5 : List (Html msg) -> Html msg
|
|
h5 =
|
|
Text.subHeading
|