Created
May 10, 2023 16:40
-
-
Save Wakkos/60a4c404042447046ed6a10a06e7b079 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains hidden or 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
$size-vars: ( | |
"xx-small" : .50, | |
"x-small" : .70, // 11px | |
"small" : .75, // 12px | |
"medium" : .875, // 14px | |
"normal" : 1, // 16px | |
"x-normal" : 1.12, // 18px | |
"big" : 1.3, // 21px | |
"x-big" : 1.8, // 29px | |
"xx-big" : 2.5, // 32px | |
"huge" : 3.75 // 60px | |
); | |
@function fs($font-size) { | |
@return map-get($size-vars, $font-size) * 1rem; | |
} | |
h1 { | |
font-size: fs(caca); | |
} | |
$font-size-big: 19px; | |
$font-size-default: 16px; | |
$font-size-small: 14px; | |
$font-size-h6: $font-size-default; | |
$font-size-h5: $font-size-h6; | |
h5 { | |
font-size: $font-size-h5; | |
} | |
h6 { | |
font-size: $font-size-h6; | |
} |
This file contains hidden or 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
h1 { | |
font-size: 3.75rem; | |
} | |
h5 { | |
font-size: 16px; | |
} | |
h6 { | |
font-size: 16px; | |
} |
This file contains hidden or 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
{ | |
"sass": { | |
"compiler": "dart-sass/1.32.12", | |
"extensions": {}, | |
"syntax": "SCSS", | |
"outputStyle": "expanded" | |
}, | |
"autoprefixer": false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment