-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_typography.scss
More file actions
76 lines (74 loc) · 1.34 KB
/
_typography.scss
File metadata and controls
76 lines (74 loc) · 1.34 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
:root {
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI", "Helvetica Neue", Helvetica, Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
-webkit-tap-highlight-color: rgba(0,0,0,0);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
}
.text {
&.-xs {
font-size: 0.75rem;
}
&.-sm {
font-size: 1rem;
}
&.-md {
font-size: 1.5rem;
}
&.-lg {
font-size: 2rem;
}
&.-xl {
font-size: 2.5rem;
}
&.-bold {
font-weight: bold;
}
&.-fw100 {
font-weight: 100;
}
&.-fw200 {
font-weight: 200;
}
&.-fw300 {
font-weight: 300;
}
&.-fw400 {
font-weight: 400;
}
&.-fw500 {
font-weight: 500;
}
&.-fw600 {
font-weight: 600;
}
&.-fw700 {
font-weight: 700;
}
&.-fw800 {
font-weight: 800;
}
&.-fw900 {
font-weight: 900;
}
// colors
&.-primary {
color: $primary;
}
&.-secondary {
color: $secondary;
}
}
a {
text-decoration: none;
color: $primary;
&:visited {
color: $primary;
}
&:hover, &:active {
text-decoration: underline;
}
&:active {
color: $dark;
}
}