~starkingdoms/starkingdoms

ref: a89f7cc8826335b5d3696260ffa120e3149c6824 starkingdoms/starkingdoms-client/src/css/font.scss -rw-r--r-- 841 bytes
a89f7cc8 — ghostlyzsh something happened 1 year, 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
:root {
  --sans-serif-font-family: ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans",
    sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
    "Noto Color Emoji";
  --mono-font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;

  font-family: var(--sans-serif-font-family);
  @extend .font-3;
}

.mono {
  font-family: var(--mono-font-family);
}

.font-1 {
  font-size: 0.75rem;
  line-height: 1rem;
}
.font-2 {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.font-3 {
  font-size: 1rem;
  line-height: 1.5rem;
}
.font-4 {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.font-5 {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

h1 {
  @extend .font-5;
}
h2 {
  @extend .font-4;
}