Merge pull request #168 from drola/master
fix: Fixed capitalization in smallCaps example
commit1087e6e744acc19e21b863f30268bff6a3c29700
authorMatthew Griffith <mdg.griffith@gmail.com>
dateSat 15 Feb 2020, 17:06 (7 years ago)
parentb203083e62367b
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