|
1 | 1 | :root { |
2 | 2 | /* Vertical rhythm is based on multiples of 8. */ |
3 | 3 |
|
4 | | - --font-family-sans: "Inter var", "Inter web", -apple-system, |
5 | | - BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, |
6 | | - Apple Color Emoji, Segoe UI Emoji; |
| 4 | + --font-family-sans: 'Inter var', 'Inter web', -apple-system, BlinkMacSystemFont, Segoe UI, |
| 5 | + Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji; |
7 | 6 |
|
8 | 7 | --color-white: #fff; |
9 | 8 | --color-gray-100: #f4f6f8; |
|
28 | 27 | --color-warning: #fcffc9; |
29 | 28 | --color-info: #e3eefc; |
30 | 29 |
|
31 | | - --font-size-xs: 0.8125rem; /* 13px, use sparsly! */ |
| 30 | + --font-size-sm: 0.8125rem; /* 13px, use sparsly! */ |
32 | 31 | --font-size-base: 0.9375rem; /* p = 15px */ |
33 | 32 | --font-size-md: 0.9375rem; /* h3 = 15px */ |
34 | 33 | --font-size-lg: 1.1875rem; /* h2 = 19px */ |
35 | 34 | --font-size-xl: 1.5625rem; /* h1 = 25px */ |
36 | | - --font-size-display-1: 1.8754rem; /* display 1 = 30px */ |
37 | | - --font-size-display-2: 0.9375rem; /* display 2 = 15px */ |
| 35 | + --font-size-hero-1: 1.8754rem; /* display 1 = 30px */ |
| 36 | + --font-size-hero-2: 0.9375rem; /* display 2 = 15px */ |
38 | 37 |
|
39 | 38 | --line-height-xs: calc(16 / 13); /* 16px */ |
40 | 39 | --line-height-base: 1.6; /* 24px */ |
41 | 40 | --line-height-md: 1.6; /* 24px */ |
42 | 41 | --line-height-lg: calc(24 / 19); /* 24px */ |
43 | 42 | --line-height-xl: 2; /* 32px */ |
44 | | - --line-height-display-1: calc(32 / 30); /* 32px */ |
45 | | - --line-height-display-2: 1.6; /* 24px */ |
| 43 | + --line-height-hero-1: calc(32 / 30); /* 32px */ |
| 44 | + --line-height-hero-2: 1.6; /* 24px */ |
46 | 45 |
|
47 | 46 | --font-weight-1: 200; |
48 | 47 | --font-weight-2: 400; |
|
69 | 68 | /* Vertical rhythm is based on multiples of 9. */ |
70 | 69 |
|
71 | 70 | :root { |
72 | | - --font-size-xs: 0.875rem; /* 14px, use sparsly! */ |
| 71 | + --font-size-sm: 0.875rem; /* 14px, use sparsly! */ |
73 | 72 | --font-size-base: 1rem; /* 16px */ |
74 | 73 | --font-size-md: 1.0625rem; /* 17px */ |
75 | 74 | --font-size-lg: 1.25rem; /* 20px */ |
76 | 75 | --font-size-xl: 2.25rem; /* 36px */ |
77 | | - --font-size-display-1: 3rem; /* 48px */ |
78 | | - --font-size-display-2: 1.125rem; /* 18px */ |
| 76 | + --font-size-hero-1: 3rem; /* 48px */ |
| 77 | + --font-size-hero-2: 1.125rem; /* 18px */ |
79 | 78 |
|
80 | 79 | --line-height-xs: calc(16 / 14); /* 16px */ |
81 | 80 | --line-height-base: 1.6875; /* 27px */ |
82 | 81 | --line-height-md: calc(27 / 17); /* 27px */ |
83 | 82 | --line-height-lg: 1.35; /* 27px */ |
84 | 83 | --line-height-xl: 1.25; /* 45px */ |
85 | | - --line-height-display-1: 1.125; /* 54px */ |
86 | | - --line-height-display-2: 1.5; /* 27px */ |
| 84 | + --line-height-hero-1: 1.125; /* 54px */ |
| 85 | + --line-height-hero-2: 1.5; /* 27px */ |
87 | 86 |
|
88 | 87 | --spacing-1: 0.5625rem; /* 9px */ |
89 | 88 | --spacing-2: 1.125rem; /* 18px */ |
@@ -118,6 +117,10 @@ body { |
118 | 117 | line-height: var(--line-height-base); |
119 | 118 | } |
120 | 119 |
|
| 120 | +main { |
| 121 | + background-color: var(--color-gray-100); |
| 122 | +} |
| 123 | + |
121 | 124 | a { |
122 | 125 | color: var(--color-brand); |
123 | 126 | } |
|
0 commit comments