Created
July 23, 2018 16:04
-
-
Save ArthurYidi/cc5ad8a9c0c14ae3381e85bba8cd2c36 to your computer and use it in GitHub Desktop.
Body Font Size to Dynamic Type
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
const bodyFontToDynamicTypeSize = { | |
"14px": "xSmall", | |
"15px": "Small", | |
"16px": "Medium", | |
"17px": "Large", | |
"19px": "xLarge", | |
"21px": "xxLarge", | |
"23px": "xxxLarge", | |
"28px": "AX1", | |
"33px": "AX2", | |
"40px": "AX3", | |
"47px": "AX4", | |
"53px": "AX5" | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment