fix: Fixed capitalization in smallCaps example
commite62367bffca9cf3e34d0052ea11faa56ad8418a3
authorMatjaž Drolc <mdrolc@gmail.com>
dateSun 8 Dec 2019, 20:35 (7 years ago)
parent53a2732
src/Element/Font.elm+2−2
@@ -376,9 +376,9 @@ type alias Variant =
376376{-| You can use this to set a single variant on an element itself such as:
377377
378378 el
379− [ Font.variant Font.smallcaps
379+ [ Font.variant Font.smallCaps
380380 ]
381− (text "rendered with smallcaps")
381+ (text "rendered with smallCaps")
382382
383383**Note** These will **not** stack. If you want multiple variants, you should use `Font.variantList`.
384384