aboutsummaryrefslogtreecommitdiffstats
path: root/src/style/scss/common/_typography.scss
blob: 6fd59cc5772c39e8bc7ab629eb8704ac84f1e441 (plain)
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
$heading-font-1: 28px;
$heading-font-2: 24px;
$heading-font-3: 20px;
$heading-font-4: 16px;
$heading-font-5: 14px;

$body-font-1: 14px;
$body-font-2: 13px;
$body-font-3: 12px;
$body-font-4: 10px;

@mixin base-font-regular() {
  font-family: OpenSans-Regular, Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
}

@mixin base-font-italic(){
  font-family: OpenSans-Italic, OpenSans-Regular, Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
}

@mixin base-font-semibold() {
  font-family: OpenSans-Semibold, Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
}

@mixin font-error() {
  color: $red;
}

@mixin heading-1() {
  @include base-font-regular;
  font-size: $heading-font-1;
}

@mixin heading-2() {
  @include base-font-regular;
  font-size: $heading-font-2;
}

@mixin heading-3 {
  @include base-font-regular;
  font-size: $heading-font-3;
}

@mixin heading-4 {
  @include base-font-regular;
  font-size: $heading-font-4;
}

@mixin heading-4-emphasis {
  @include base-font-semibold;
  font-size: $heading-font-4;
}

@mixin heading-5 {
  @include base-font-semibold;
  font-size: $heading-font-5;
}

@mixin body-1 {
  @include base-font-regular;
  font-size: $body-font-1;
}

@mixin body-1-italic {
  @include base-font-italic;
  font-size: $body-font-1;
}

@mixin body-2 {
  @include base-font-regular;
  font-size: $body-font-2;
}

@mixin body-2-emphasis {
  @include base-font-semibold;
  font-size: $body-font-2;
}

@mixin body-3 {
  @include base-font-regular;
  font-size: $body-font-3;
}
@mixin body-3-emphasis {
  @include base-font-semibold;
  font-size: $body-font-3;
}

@mixin body-4 {
  @include base-font-regular;
  font-size: $body-font-4;
}