betagouv/elm-dsfr/3.0.0

NOTE: the latest version is 5.2.0

BetaGouv.DSFR.Typography

Typographie

Tailles

textLead : Attribute msg

classe pour texte chapô

textXl : Attribute msg

classe pour texte de taille Xl

textLg : Attribute msg

classe pour texte de taille Lg

textMd : Attribute msg

classe pour texte de taille Md

textSm : Attribute msg

classe pour texte de taille Sm

textXs : Attribute msg

classe pour texte de taille Xs

Epaisseurs avec la police principale Marianne

textLight : Attribute msg

classe pour texte light

textRegular : Attribute msg

classe pour texte regular

textBold : Attribute msg

classe pour texte bold

Epaisseurs avec la police alternative Spectral

textSpectralRegular : Attribute msg
textSpectralHeavy : Attribute msg

Titres

Personnalisation des titres

fr_h1 : Attribute msg

classe pour h1

fr_h2 : Attribute msg

classe pour h2

fr_h3 : Attribute msg

classe pour h3

fr_h4 : Attribute msg

classe pour h4

fr_h5 : Attribute msg

classe pour h5

fr_h6 : Attribute msg

classe pour h6

Titres alternatifs

displayXl : Attribute msg

classe pour un titre alternatif Xl

displayLg : Attribute msg

classe pour un titre alternatif Lg

displayMd : Attribute msg

classe pour un titre alternatif Md

displaySm : Attribute msg

classe pour un titre alternatif Sm

displayXs : Attribute msg

classe pour un titre alternatif Xs

Liens

Liens standards

linkNoIcon : Icon
linkStandalone : Icon -> String -> List (Attribute Never) -> List (Html msg) -> Html msg
linkStandaloneLG : Icon -> String -> List (Attribute Never) -> List (Html msg) -> Html msg
linkStandaloneMD : Icon -> String -> List (Attribute Never) -> List (Html msg) -> Html msg
linkStandaloneSM : Icon -> String -> List (Attribute Never) -> List (Html msg) -> Html msg

Liens de retour en haut de page

scrollToTop : Html msg
scrollToTopLG : Html msg
scrollToTopMD : Html msg
scrollToTopSM : Html msg

Liens externes

externalLinkAttrs : String -> List (Attribute msg) -> List (Attribute msg)

Liens de téléchargement

downloadLinkLG : String -> String -> String -> String -> Html msg
downloadLinkMD : String -> String -> String -> String -> Html msg
downloadLinkSM : String -> String -> String -> String -> Html msg