[2.5] Implement Font Size Adjustments

This commit is contained in:
Amruth Pillai
2021-01-03 11:44:14 +05:30
parent 297a258e4a
commit fdd35492a0
8 changed files with 35 additions and 18 deletions
+18
View File
@@ -0,0 +1,18 @@
const fontSizeOptions = {
'--text-xs-size': 0.75,
'--text-sm-size': 0.875,
'--text-lg-size': 1.125,
'--text-xl-size': 1.25,
'--text-2xl-size': 1.5,
'--text-3xl-size': 1.875,
'--text-4xl-size': 2.25,
'--text-xs-line-height': 1,
'--text-sm-line-height': 1.25,
'--text-lg-line-height': 1.75,
'--text-xl-line-height': 1.75,
'--text-2xl-line-height': 2,
'--text-3xl-line-height': 2.25,
'--text-4xl-line-height': 2.5,
};
export default fontSizeOptions;