-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path_typography.scss
60 lines (52 loc) · 1.47 KB
/
_typography.scss
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
@import "@wikimedia/codex-design-tokens/theme-wikimedia-ui";
@mixin link {
color: $font-color-progressive;
text-decoration: none;
&:focus-visible { // for chrome
outline: dotted;
outline-width: 1px;
outline-color: gray;
}
}
@mixin body-M {
font-family: $font-family-system-sans;
font-size: $font-size-medium;
font-weight: $font-weight-normal;
line-height: $line-height-medium;
color: $color-base;
}
@mixin body-S {
font-family: $font-family-system-sans;
font-size: $font-size-small;
font-weight: $font-weight-normal;
line-height: $line-height-medium;
color: $color-base;
}
@mixin ui-text-M ($font-weight: $font-weight-normal){
font-family: $font-family-system-sans;
font-size: $font-size-medium;
font-weight: $font-weight;
line-height: $line-height-xx-small;
color: $color-base;
}
@mixin heading-1 {
font-family: $font-family-serif;
font-size: $font-size-xxx-large;
font-weight: $font-weight-normal;
line-height: $line-height-xxx-small;
color: $color-emphasized;
}
@mixin heading-4 {
font-family: $font-family-system-sans;
font-size: $font-size-large;
font-weight: $font-weight-bold;
line-height: $line-height-xxx-small;
color: $color-emphasized;
}
@mixin heading-5 {
font-family: $font-family-system-sans;
font-size: $font-size-medium;
font-weight: $font-weight-bold;
line-height: $line-height-xxx-small;
color: $color-emphasized;
}