Last active
April 13, 2023 10:05
-
-
Save emre-edu-tech/7c8d665fec1fd9ec68027e01a80942eb to your computer and use it in GitHub Desktop.
Wordpess Recommended Font Sizes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Wordpress Default Font Sizes - Overriding them using theme.json is encouraged. | |
// See the theme.json to see how to override the default font size values in another gist | |
// Sizes in pixels | |
--wp--preset--font-size--small: 13px; | |
--wp--preset--font-size--medium: 20px; | |
--wp--preset--font-size--large: 36px; | |
--wp--preset--font-size--x-large: 42px; | |
// Sizes in rem | |
--wp--preset--font-size--small: 0.75rem; | |
--wp--preset--font-size--medium: 1.25rem; | |
--wp--preset--font-size--large: 2.25rem; | |
--wp--preset--font-size--x-large: 3rem; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment