Created
August 19, 2021 14:07
-
-
Save norin89/328aa09b951f248ce9c1318cbabb975b to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
$text-settings: ( | |
lead: ( | |
font-size: 18px, | |
line-height: 24px, | |
font-weight-normal: 500, | |
font-weight-bold: 600, | |
), | |
major: ( | |
font-size: 16px, | |
line-height: 24px, | |
font-weight-normal: 500, | |
font-weight-bold: 600, | |
), | |
text: ( | |
font-size: 14px, | |
line-height: 22px, | |
font-weight-normal: 400, | |
font-weight-bold: 600, | |
), | |
minor: ( | |
font-size: 12px, | |
line-height: 20px, | |
font-weight-normal: 400, | |
font-weight-bold: 600, | |
), | |
); | |
.dmui-text { | |
font-family: 'Arial' !important; | |
letter-spacing: 0 !important; | |
@each $tag, $settings in $text-settings { | |
&--#{$tag} { | |
font-size: map-get($settings, font-size) !important; | |
line-height: map-get($settings, line-height) !important; | |
font-weight: map-get($settings, font-weight-normal) !important; | |
} | |
&--bold { | |
font-weight: map-get($settings, font-weight-bold) !important; | |
} | |
} | |
} |
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
.dmui-text { | |
font-family: "Arial" !important; | |
letter-spacing: 0 !important; | |
} | |
.dmui-text--lead { | |
font-size: 18px !important; | |
line-height: 24px !important; | |
font-weight: 500 !important; | |
} | |
.dmui-text--bold { | |
font-weight: 600 !important; | |
} | |
.dmui-text--major { | |
font-size: 16px !important; | |
line-height: 24px !important; | |
font-weight: 500 !important; | |
} | |
.dmui-text--bold { | |
font-weight: 600 !important; | |
} | |
.dmui-text--text { | |
font-size: 14px !important; | |
line-height: 22px !important; | |
font-weight: 400 !important; | |
} | |
.dmui-text--bold { | |
font-weight: 600 !important; | |
} | |
.dmui-text--minor { | |
font-size: 12px !important; | |
line-height: 20px !important; | |
font-weight: 400 !important; | |
} | |
.dmui-text--bold { | |
font-weight: 600 !important; | |
} |
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
{ | |
"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