Font sizes
We've moved font sizes to a fixed scale. These have been implemented as theme settings so they are customizable. However, rather than use the theme setting value directly, you should make use of the new {fontsize} plugin. This plugin ensures the global scale is applied to any values passed in, allowing 'large print' versions of themes to be easily created. You should use the {fontsize} plugin for font sizes both when you use one of the theme settings and when you use specific pixel values (e.g. {fontsize="72"} - for 72px text)
When used with the {fontsize} plugin, the type scale keys are:
- x_small (12px)
- small (13px)
- medium (14px)
- base (16px)
- large (18px)
- x_large (20px)
- 2x_large (24px)
- 3x_large (30px)
- 4x_large (36px)
Recommended Comments
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now