signal-desktop/sticker-creator/elements/Typography.scss

79 lines
1.1 KiB
SCSS
Raw Normal View History

2021-05-28 16:15:17 +00:00
// Copyright 2019-2021 Signal Messenger, LLC
2020-10-30 20:34:04 +00:00
// SPDX-License-Identifier: AGPL-3.0-only
2019-12-17 20:25:57 +00:00
@import '../../stylesheets/variables';
@import '../mixins';
.base {
font-family: $inter;
margin: 0;
}
.heading {
composes: base;
font-weight: 500;
}
.h1 {
composes: heading;
font-size: 16px;
line-height: 20px;
@include light-theme() {
color: $color-gray-90;
}
@include dark-theme() {
color: $color-gray-05;
}
}
.h2 {
composes: heading;
font-size: 14px;
line-height: 18px;
margin-bottom: 8px;
@include light-theme() {
color: $color-gray-90;
}
@include dark-theme() {
color: $color-white;
}
}
.text {
composes: base;
font-size: 13px;
line-height: 18px;
@include light-theme() {
color: $color-gray-90;
}
@include dark-theme() {
color: $color-white;
}
a {
2021-05-28 16:15:17 +00:00
color: $color-ultramarine;
2019-12-17 20:25:57 +00:00
text-decoration: none;
}
}
.text-center {
composes: text;
text-align: center;
}
.secondary {
@include light-theme() {
color: $color-gray-60;
}
@include dark-theme() {
color: $color-gray-25;
}
}