Zelda64Recomp/assets/scss/styles/mixins/_typography.scss

50 lines
854 B
SCSS
Raw Normal View History

2024-01-02 15:10:06 +00:00
@mixin set-font-sizing($sz, $spacing) {
font-size: space($sz);
letter-spacing: space($sz * $spacing);
line-height: space($sz);
}
2024-01-02 15:10:06 +00:00
%header-1 {
@include set-font-sizing(64, 0.07);
2024-01-02 15:10:06 +00:00
font-style: normal;
font-weight: 700;
}
%header-2 {
@include set-font-sizing(48, 0.07);
2024-01-02 15:10:06 +00:00
font-style: normal;
font-weight: 700;
}
%header-3 {
@include set-font-sizing(32, 0.07);
2024-01-02 15:10:06 +00:00
font-style: normal;
font-weight: 700;
}
%label-lg {
@include set-font-sizing(32, 0.11);
2024-01-02 15:10:06 +00:00
font-style: normal;
font-weight: 700;
}
%label-md {
@include set-font-sizing(24, 0.11);
2024-01-02 15:10:06 +00:00
font-style: normal;
font-weight: 700;
}
%label-sm {
@include set-font-sizing(16, 0.14);
2024-01-02 15:10:06 +00:00
font-style: normal;
font-weight: 700;
text-transform: uppercase;
}
%body {
@include set-font-sizing(16, 0.0);
2024-01-02 15:10:06 +00:00
font-style: normal;
font-weight: 400;
}