2021-12-16 21:25:16 +09:00
|
|
|
@mixin font($type) {
|
2021-07-28 22:15:52 +09:00
|
|
|
font-size: var(--fs-#{$type});
|
|
|
|
letter-spacing: var(--ls-#{$type});
|
|
|
|
line-height: var(--lh-#{$type});
|
2021-11-23 15:26:02 +09:00
|
|
|
|
|
|
|
& img.emoji,
|
|
|
|
& img[data-mx-emoticon] {
|
|
|
|
height: var(--fs-#{$type});
|
|
|
|
}
|
2021-07-28 22:15:52 +09:00
|
|
|
}
|
|
|
|
|
2021-12-16 21:25:16 +09:00
|
|
|
.text {
|
2021-07-28 22:15:52 +09:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
color: var(--tc-surface-high);
|
2021-11-23 15:26:02 +09:00
|
|
|
|
|
|
|
& img.emoji,
|
|
|
|
& img[data-mx-emoticon] {
|
|
|
|
margin: 0 !important;
|
|
|
|
margin-right: 2px !important;
|
|
|
|
padding: 0 !important;
|
|
|
|
position: relative;
|
|
|
|
top: 2px;
|
|
|
|
}
|
2021-07-28 22:15:52 +09:00
|
|
|
}
|
|
|
|
|
2021-12-16 21:25:16 +09:00
|
|
|
.text-light {
|
|
|
|
font-weight: var(--fw-light);
|
|
|
|
}
|
|
|
|
.text-normal {
|
|
|
|
font-weight: var(--fw-normal);
|
|
|
|
}
|
|
|
|
.text-medium {
|
|
|
|
font-weight: var(--fw-medium);
|
|
|
|
}
|
|
|
|
.text-bold {
|
|
|
|
font-weight: var(--fw-bold);
|
|
|
|
}
|
|
|
|
|
2021-07-28 22:15:52 +09:00
|
|
|
.text-h1 {
|
2021-12-16 21:25:16 +09:00
|
|
|
@include font(h1);
|
2021-07-28 22:15:52 +09:00
|
|
|
}
|
|
|
|
.text-h2 {
|
2021-12-16 21:25:16 +09:00
|
|
|
@include font(h2);
|
2021-07-28 22:15:52 +09:00
|
|
|
}
|
|
|
|
.text-s1 {
|
2021-12-16 21:25:16 +09:00
|
|
|
@include font(s1);
|
2021-07-28 22:15:52 +09:00
|
|
|
}
|
|
|
|
.text-b1 {
|
2021-12-16 21:25:16 +09:00
|
|
|
@include font(b1);
|
2021-07-28 22:15:52 +09:00
|
|
|
color: var(--tc-surface-normal);
|
|
|
|
}
|
|
|
|
.text-b2 {
|
2021-12-16 21:25:16 +09:00
|
|
|
@include font(b2);
|
2021-07-28 22:15:52 +09:00
|
|
|
color: var(--tc-surface-normal);
|
|
|
|
}
|
|
|
|
.text-b3 {
|
2021-12-16 21:25:16 +09:00
|
|
|
@include font(b3);
|
2021-07-28 22:15:52 +09:00
|
|
|
color: var(--tc-surface-low);
|
|
|
|
}
|