|
1 | 1 | @import './colors/palette'; |
2 | 2 |
|
3 | 3 | $font-family: Lato, Arial, sans-serif; |
4 | | -$font-weight-light: 200; |
5 | | -$font-weight-normal: 300; |
6 | | -$font-size-base: .875rem; |
| 4 | +$font-weight-light: 300; |
| 5 | +$font-weight-normal: 400; |
7 | 6 | $font-weight-bold: 700; |
8 | | -$headings-font-weight: 400; |
9 | | -$headings-font-weight-bold: 700; |
| 7 | +$font-size-base: 0.875rem; |
10 | 8 |
|
11 | | -@mixin font-type-100() { |
| 9 | +@mixin font-type-10() { |
| 10 | + font-size: .625rem; |
| 11 | + font-weight: $font-weight-normal; |
| 12 | + line-height: 1rem; |
| 13 | + text-transform: uppercase; |
| 14 | +} |
| 15 | + |
| 16 | +@mixin font-type-20() { |
12 | 17 | font-size: .75rem; |
13 | 18 | font-weight: $font-weight-normal; |
14 | 19 | line-height: 1rem; |
15 | 20 | } |
16 | 21 |
|
17 | | -@mixin font-type-200() { |
18 | | - font-size: $font-size-base; |
| 22 | +@mixin font-type-30() { |
| 23 | + font-size: 0.875rem; |
19 | 24 | font-weight: $font-weight-normal; |
20 | 25 | line-height: 1.25rem; |
21 | 26 | } |
22 | 27 |
|
23 | | -@mixin font-type-300() { |
| 28 | +@mixin font-type-40() { |
24 | 29 | // font-size: $font-size-base; -- should base be changed to 1 rem? |
25 | 30 | font-size: 1rem; |
26 | 31 | font-weight: $font-weight-normal; |
27 | 32 | line-height: 1.5rem; |
28 | 33 | } |
29 | 34 |
|
30 | | -@mixin font-type-400() { |
| 35 | +@mixin font-type-50() { |
31 | 36 | font-size: 1.125rem; |
32 | 37 | font-weight: $font-weight-normal; |
33 | 38 | line-height: 1.75rem; |
34 | 39 | } |
35 | 40 |
|
36 | | -@mixin font-type-500() { |
| 41 | +@mixin font-type-60() { |
37 | 42 | font-size: 1.25rem; |
38 | 43 | font-weight: $font-weight-normal; |
39 | 44 | line-height: 1.75rem; |
40 | 45 | } |
41 | 46 |
|
42 | | -@mixin font-type-600() { |
| 47 | +@mixin font-type-70() { |
43 | 48 | font-size: 1.5rem; |
44 | 49 | font-weight: $font-weight-normal; |
45 | 50 | line-height: 1.75rem; |
46 | 51 | } |
47 | 52 |
|
48 | | -@mixin font-type-200--bold() { |
49 | | - @include font-type-200; |
| 53 | +@mixin font-type-10--bold() { |
| 54 | + @include font-type-10; |
| 55 | + font-weight: $font-weight-bold; |
| 56 | +} |
| 57 | + |
| 58 | +@mixin font-type-10--light() { |
| 59 | + @include font-type-10; |
| 60 | + font-weight: $font-weight-light; |
| 61 | +} |
| 62 | + |
| 63 | +@mixin font-type-20--bold() { |
| 64 | + @include font-type-20; |
50 | 65 | font-weight: $font-weight-bold; |
51 | 66 | } |
52 | 67 |
|
53 | | -@mixin font-type-300--bold() { |
54 | | - @include font-type-300; |
| 68 | +@mixin font-type-20--light() { |
| 69 | + @include font-type-20; |
| 70 | + font-weight: $font-weight-light; |
| 71 | +} |
| 72 | + |
| 73 | +@mixin font-type-30--bold() { |
| 74 | + @include font-type-30; |
55 | 75 | font-weight: $font-weight-bold; |
56 | 76 | } |
57 | 77 |
|
58 | | -@mixin font-type-400--bold() { |
59 | | - @include font-type-400; |
| 78 | +@mixin font-type-30--light() { |
| 79 | + @include font-type-30; |
| 80 | + font-weight: $font-weight-light; |
| 81 | +} |
| 82 | + |
| 83 | +@mixin font-type-40--bold() { |
| 84 | + @include font-type-40; |
60 | 85 | font-weight: $font-weight-bold; |
61 | 86 | } |
62 | 87 |
|
63 | | -@mixin font-type-500--bold() { |
64 | | - @include font-type-500; |
65 | | - font-weight: $headings-font-weight; |
| 88 | +@mixin font-type-40--light() { |
| 89 | + @include font-type-40; |
| 90 | + font-weight: $font-weight-light; |
| 91 | +} |
| 92 | + |
| 93 | +@mixin font-type-50--bold() { |
| 94 | + @include font-type-50; |
| 95 | + font-weight: $font-weight-bold; |
| 96 | +} |
| 97 | + |
| 98 | +@mixin font-type-50--light() { |
| 99 | + @include font-type-50; |
| 100 | + font-weight: $font-weight-light; |
| 101 | +} |
| 102 | + |
| 103 | +@mixin font-type-60--bold() { |
| 104 | + @include font-type-60; |
| 105 | + font-weight: $font-weight-bold; |
| 106 | +} |
| 107 | + |
| 108 | +@mixin font-type-60--light() { |
| 109 | + @include font-type-60; |
| 110 | + font-weight: $font-weight-light; |
| 111 | +} |
| 112 | + |
| 113 | +@mixin font-type-70--bold() { |
| 114 | + @include font-type-70; |
| 115 | + font-weight: $font-weight-bold; |
66 | 116 | } |
67 | 117 |
|
68 | | -@mixin font-type-600--bold() { |
69 | | - @include font-type-600; |
70 | | - font-weight: $headings-font-weight; |
| 118 | +@mixin font-type-70--light() { |
| 119 | + @include font-type-70; |
| 120 | + font-weight: $font-weight-light; |
71 | 121 | } |
72 | 122 |
|
73 | 123 | body { |
|
0 commit comments