Skip to content

Instantly share code, notes, and snippets.

@norin89
Created August 19, 2021 14:07
Show Gist options
  • Save norin89/328aa09b951f248ce9c1318cbabb975b to your computer and use it in GitHub Desktop.
Save norin89/328aa09b951f248ce9c1318cbabb975b to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
$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;
}
}
}
.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;
}
{
"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