jekyll-theme-primer 0.5.3 → 0.5.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -1
  3. data/_layouts/home.html +4 -0
  4. data/_layouts/page.html +4 -0
  5. data/_layouts/post.html +4 -0
  6. data/_sass/primer-base/lib/base.scss +6 -0
  7. data/_sass/primer-base/lib/normalize.scss +1 -1
  8. data/_sass/primer-layout/lib/grid-offset.scss +12 -23
  9. data/_sass/primer-support/lib/mixins/layout.scss +18 -12
  10. data/_sass/primer-support/lib/variables/layout.scss +7 -1
  11. data/_sass/primer-utilities/index.scss +1 -0
  12. data/_sass/primer-utilities/lib/animations.scss +1 -0
  13. data/_sass/primer-utilities/lib/borders.scss +71 -36
  14. data/_sass/primer-utilities/lib/details.scss +18 -0
  15. data/_sass/primer-utilities/lib/flexbox.scss +45 -73
  16. data/_sass/primer-utilities/lib/layout.scss +12 -27
  17. data/_sass/primer-utilities/lib/margin.scss +42 -75
  18. data/_sass/primer-utilities/lib/padding.scss +26 -56
  19. data/_sass/primer-utilities/lib/typography.scss +22 -23
  20. data/_sass/primer-utilities/lib/visibility-display.scss +21 -45
  21. metadata +15 -43
  22. data/_sass/primer-base/LICENSE +0 -21
  23. data/_sass/primer-base/README.md +0 -48
  24. data/_sass/primer-base/build/build.css +0 -1
  25. data/_sass/primer-base/build/index.js +0 -1
  26. data/_sass/primer-base/package.json +0 -73
  27. data/_sass/primer-layout/LICENSE +0 -21
  28. data/_sass/primer-layout/README.md +0 -137
  29. data/_sass/primer-layout/build/build.css +0 -1
  30. data/_sass/primer-layout/build/index.js +0 -1
  31. data/_sass/primer-layout/docs/grid.md +0 -392
  32. data/_sass/primer-layout/package.json +0 -71
  33. data/_sass/primer-markdown/LICENSE +0 -21
  34. data/_sass/primer-markdown/README.md +0 -218
  35. data/_sass/primer-markdown/build/build.css +0 -1
  36. data/_sass/primer-markdown/build/index.js +0 -1
  37. data/_sass/primer-markdown/package.json +0 -74
  38. data/_sass/primer-support/LICENSE +0 -21
  39. data/_sass/primer-support/README.md +0 -56
  40. data/_sass/primer-support/docs/breakpoints.md +0 -60
  41. data/_sass/primer-support/docs/color-system.md +0 -392
  42. data/_sass/primer-support/docs/spacing.md +0 -40
  43. data/_sass/primer-support/docs/typography.md +0 -90
  44. data/_sass/primer-support/package.json +0 -73
  45. data/_sass/primer-utilities/LICENSE +0 -21
  46. data/_sass/primer-utilities/README.md +0 -48
  47. data/_sass/primer-utilities/build/build.css +0 -1
  48. data/_sass/primer-utilities/build/index.js +0 -1
  49. data/_sass/primer-utilities/docs/animations.md +0 -75
  50. data/_sass/primer-utilities/docs/borders.md +0 -127
  51. data/_sass/primer-utilities/docs/box-shadow.md +0 -107
  52. data/_sass/primer-utilities/docs/colors.md +0 -232
  53. data/_sass/primer-utilities/docs/flexbox.md +0 -665
  54. data/_sass/primer-utilities/docs/layout.md +0 -300
  55. data/_sass/primer-utilities/docs/margin.md +0 -126
  56. data/_sass/primer-utilities/docs/padding.md +0 -110
  57. data/_sass/primer-utilities/docs/typography.md +0 -138
  58. data/_sass/primer-utilities/package.json +0 -71
@@ -1,392 +0,0 @@
1
- ---
2
- title: Color system
3
- status_issue: https://github.com/github/design-systems/issues/301
4
- status: New release
5
- source: https://github.com/primer/primer/blob/master/modules/primer-support/lib/variables/color-system.scss
6
- ---
7
-
8
- {:toc}
9
-
10
- ## Color palette
11
-
12
- <div class="markdown-no-margin mb-6 d-flex h5">
13
- <div class="gray-500 d-flex color-square mr-2">
14
- <p class="p-3 flex-self-end text-white">Gray</p>
15
- </div>
16
- <div class="blue-500 d-flex color-square mr-2">
17
- <p class="p-3 flex-self-end text-white">Blue</p>
18
- </div>
19
- <div class="green-500 d-flex color-square mr-2">
20
- <p class="p-3 flex-self-end text-white">Green</p>
21
- </div>
22
- <div class="purple-500 d-flex color-square mr-2">
23
- <p class="p-3 flex-self-end text-white">Purple</p>
24
- </div>
25
- <div class="yellow-500 d-flex color-square mr-2">
26
- <p class="p-3 flex-self-end">Yellow</p>
27
- </div>
28
- <div class="orange-500 d-flex color-square mr-2">
29
- <p class="p-3 flex-self-end">Orange</p>
30
- </div>
31
- <div class="red-500 d-flex color-square mr-2">
32
- <p class="p-3 flex-self-end text-white">Red</p>
33
- </div>
34
- <div class="bg-white d-flex color-square border border-gray-dark">
35
- <p class="p-3 flex-self-end">White</p>
36
- </div>
37
- </div>
38
-
39
- ## Color variables
40
-
41
- <div class="d-flex flex-wrap gutter">
42
-
43
- <div class="mb-6 flex-column col-6 markdown-no-margin">
44
- <h3>Gray</h3>
45
- <div class="gray-500 my-2 p-3">
46
- <p class="text-white f00-light pb-3">Gray</p>
47
- <div class="d-flex text-white">
48
- <p class="h4 flex-auto">$gray-500</p>
49
- <p class="text-right text-mono flex-auto">#6a737d</p>
50
- </div>
51
- </div>
52
- <div class="gray-000 h4">
53
- <p class="p-3">$gray-000</p>
54
- </div>
55
- <div class="gray-100 h4">
56
- <p class="p-3">$gray-100</p>
57
- </div>
58
- <div class="gray-200 h4">
59
- <p class="p-3">$gray-200</p>
60
- </div>
61
- <div class="gray-300 h4">
62
- <p class="p-3">$gray-300</p>
63
- </div>
64
- <div class="gray-400 h4">
65
- <p class="p-3">$gray-400</p>
66
- </div>
67
- <div class="gray-500 h4">
68
- <p class="p-3 text-white">$gray-500</p>
69
- </div>
70
- <div class="gray-600 h4">
71
- <p class="p-3 text-white">$gray-600</p>
72
- </div>
73
- <div class="gray-700 h4">
74
- <p class="p-3 text-white">$gray-700</p>
75
- </div>
76
- <div class="gray-800 h4">
77
- <p class="p-3 text-white">$gray-800</p>
78
- </div>
79
- <div class="gray-900 h4">
80
- <p class="p-3 text-white">$gray-900</p>
81
- </div>
82
- </div>
83
-
84
- <div class="mb-6 flex-column col-6 markdown-no-margin">
85
- <h3>Blue</h3>
86
- <div class="blue-500 my-2 p-3">
87
- <p class="text-white f00-light pb-3">Blue</p>
88
- <div class="d-flex text-white">
89
- <p class="h4 flex-auto">$blue-500</p>
90
- <p class="text-right text-mono flex-auto">#0366d6</p>
91
- </div>
92
- </div>
93
- <div class="blue-000 h4">
94
- <p class="p-3">$blue-000</p>
95
- </div>
96
- <div class="blue-100 h4">
97
- <p class="p-3">$blue-100</p>
98
- </div>
99
- <div class="blue-200 h4">
100
- <p class="p-3">$blue-200</p>
101
- </div>
102
- <div class="blue-300 h4">
103
- <p class="p-3">$blue-300</p>
104
- </div>
105
- <div class="blue-400 h4">
106
- <p class="p-3">$blue-400</p>
107
- </div>
108
- <div class="blue-500 h4">
109
- <p class="p-3 text-white">$blue-500</p>
110
- </div>
111
- <div class="blue-600 h4">
112
- <p class="p-3 text-white">$blue-600</p>
113
- </div>
114
- <div class="blue-700 h4">
115
- <p class="p-3 text-white">$blue-700</p>
116
- </div>
117
- <div class="blue-800 h4">
118
- <p class="p-3 text-white">$blue-800</p>
119
- </div>
120
- <div class="blue-900 h4">
121
- <p class="p-3 text-white">$blue-900</p>
122
- </div>
123
- </div>
124
-
125
- <div class="mb-6 flex-column col-6 markdown-no-margin">
126
- <h3>Green</h3>
127
- <div class="green-500 my-2 p-3">
128
- <p class="text-white f00-light pb-3">Green</p>
129
- <div class="d-flex text-white">
130
- <p class="h4 flex-auto">$green-500</p>
131
- <p class="text-right text-mono flex-auto">#28a745</p>
132
- </div>
133
- </div>
134
- <div class="green-000 h4">
135
- <p class="p-3">$green-000</p>
136
- </div>
137
- <div class="green-100 h4">
138
- <p class="p-3">$green-100</p>
139
- </div>
140
- <div class="green-200 h4">
141
- <p class="p-3">$green-200</p>
142
- </div>
143
- <div class="green-300 h4">
144
- <p class="p-3">$green-300</p>
145
- </div>
146
- <div class="green-400 h4">
147
- <p class="p-3">$green-400</p>
148
- </div>
149
- <div class="green-500 h4">
150
- <p class="p-3 text-white">$green-500</p>
151
- </div>
152
- <div class="green-600 h4">
153
- <p class="p-3 text-white">$green-600</p>
154
- </div>
155
- <div class="green-700 h4">
156
- <p class="p-3 text-white">$green-700</p>
157
- </div>
158
- <div class="green-800 h4">
159
- <p class="p-3 text-white">$green-800</p>
160
- </div>
161
- <div class="green-900 h4">
162
- <p class="p-3 text-white">$green-900</p>
163
- </div>
164
- </div>
165
-
166
- <div class="mb-6 flex-column col-6 markdown-no-margin">
167
- <h3>Purple</h3>
168
- <div class="purple-500 text-white my-2 p-3">
169
- <p class="f00-light pb-3">Purple</p>
170
- <div class="d-flex">
171
- <p class="h4 flex-auto">$purple-500</p>
172
- <p class="text-right text-mono flex-auto">#6f42c1</p>
173
- </div>
174
- </div>
175
- <div class="purple-000 h4">
176
- <p class="p-3">$purple-000</p>
177
- </div>
178
- <div class="purple-100 h4">
179
- <p class="p-3">$purple-100</p>
180
- </div>
181
- <div class="purple-200 h4">
182
- <p class="p-3">$purple-200</p>
183
- </div>
184
- <div class="purple-300 h4">
185
- <p class="p-3">$purple-300</p>
186
- </div>
187
- <div class="purple-400 h4">
188
- <p class="p-3">$purple-400</p>
189
- </div>
190
- <div class="purple-500 h4">
191
- <p class="p-3 text-white">$purple-500</p>
192
- </div>
193
- <div class="purple-600 h4">
194
- <p class="p-3 text-white">$purple-600</p>
195
- </div>
196
- <div class="purple-700 h4">
197
- <p class="p-3 text-white">$purple-700</p>
198
- </div>
199
- <div class="purple-800 h4">
200
- <p class="p-3 text-white">$purple-800</p>
201
- </div>
202
- <div class="purple-900 h4">
203
- <p class="p-3 text-white">$purple-900</p>
204
- </div>
205
- </div>
206
-
207
- <div class="mb-6 flex-column col-6 markdown-no-margin">
208
- <h3>Yellow</h3>
209
- <div class="yellow-500 my-2 p-3">
210
- <p class="f00-light pb-3">Yellow</p>
211
- <div class="d-flex">
212
- <p class="h4 flex-auto">$yellow-500</p>
213
- <p class="text-right text-mono flex-auto">#ffd93d</p>
214
- </div>
215
- </div>
216
- <div class="yellow-000 h4">
217
- <p class="p-3">$yellow-000</p>
218
- </div>
219
- <div class="yellow-100 h4">
220
- <p class="p-3">$yellow-100</p>
221
- </div>
222
- <div class="yellow-200 h4">
223
- <p class="p-3">$yellow-200</p>
224
- </div>
225
- <div class="yellow-300 h4">
226
- <p class="p-3">$yellow-300</p>
227
- </div>
228
- <div class="yellow-400 h4">
229
- <p class="p-3">$yellow-400</p>
230
- </div>
231
- <div class="yellow-500 h4">
232
- <p class="p-3">$yellow-500</p>
233
- </div>
234
- <div class="yellow-600 h4">
235
- <p class="p-3">$yellow-600</p>
236
- </div>
237
- <div class="yellow-700 h4">
238
- <p class="p-3">$yellow-700</p>
239
- </div>
240
- <div class="yellow-800 h4">
241
- <p class="p-3 text-white">$yellow-800</p>
242
- </div>
243
- <div class="yellow-900 h4">
244
- <p class="p-3 text-white">$yellow-900</p>
245
- </div>
246
- </div>
247
-
248
- <div class="mb-6 flex-column col-6 markdown-no-margin">
249
- <h3>Orange</h3>
250
- <div class="orange-500 my-2 p-3 text-white">
251
- <p class="f00-light pb-3">Orange</p>
252
- <div class="d-flex">
253
- <p class="h4 flex-auto">$orange-500</p>
254
- <p class="text-right text-mono flex-auto">#f66a0a</p>
255
- </div>
256
- </div>
257
- <div class="orange-000 h4">
258
- <p class="p-3">$orange-000</p>
259
- </div>
260
- <div class="orange-100 h4">
261
- <p class="p-3">$orange-100</p>
262
- </div>
263
- <div class="orange-200 h4">
264
- <p class="p-3">$orange-200</p>
265
- </div>
266
- <div class="orange-300 h4">
267
- <p class="p-3">$orange-300</p>
268
- </div>
269
- <div class="orange-400 h4">
270
- <p class="p-3">$orange-400</p>
271
- </div>
272
- <div class="orange-500 h4">
273
- <p class="p-3 text-white">$orange-500</p>
274
- </div>
275
- <div class="orange-600 h4">
276
- <p class="p-3 text-white">$orange-600</p>
277
- </div>
278
- <div class="orange-700 h4">
279
- <p class="p-3 text-white">$orange-700</p>
280
- </div>
281
- <div class="orange-800 h4">
282
- <p class="p-3 text-white">$orange-800</p>
283
- </div>
284
- <div class="orange-900 h4">
285
- <p class="p-3 text-white">$orange-900</p>
286
- </div>
287
- </div>
288
-
289
- <div class="mb-6 flex-column col-6 markdown-no-margin">
290
- <h3>Red</h3>
291
- <div class="red-500 text-white my-2 p-3">
292
- <p class="f00-light pb-3">Red</p>
293
- <div class="d-flex">
294
- <p class="h4 flex-auto">$red-500</p>
295
- <p class="text-right text-mono flex-auto">#dc3545</p>
296
- </div>
297
- </div>
298
- <div class="red-000 h4">
299
- <p class="p-3">$red-000</p>
300
- </div>
301
- <div class="red-100 h4">
302
- <p class="p-3">$red-100</p>
303
- </div>
304
- <div class="red-200 h4">
305
- <p class="p-3">$red-200</p>
306
- </div>
307
- <div class="red-300 h4">
308
- <p class="p-3">$red-300</p>
309
- </div>
310
- <div class="red-400 h4">
311
- <p class="p-3">$red-400</p>
312
- </div>
313
- <div class="red-500 h4">
314
- <p class="p-3 text-white">$red-500</p>
315
- </div>
316
- <div class="red-600 h4">
317
- <p class="p-3 text-white">$red-600</p>
318
- </div>
319
- <div class="red-700 h4">
320
- <p class="p-3 text-white">$red-700</p>
321
- </div>
322
- <div class="red-800 h4">
323
- <p class="p-3 text-white">$red-800</p>
324
- </div>
325
- <div class="red-900 h4">
326
- <p class="p-3 text-white">$red-900</p>
327
- </div>
328
- </div>
329
-
330
- <div class="mb-6 flex-column col-6">
331
- </div>
332
- <!-- Gray and fades (headings inside the markup) -->
333
-
334
- <div class="mb-3 flex-column col-6 markdown-no-margin">
335
- <h3>Black fades</h3>
336
- <div class="black text-white my-2 p-3">
337
- <p class="f00-light pb-3">Black</p>
338
- <div class="d-flex pb-1">
339
- <p class="h4 flex-auto">$black</p>
340
- <p class="text-right text-mono flex-auto"><code>rgb(27,31,35)</code> #1b1f23</p>
341
- </div>
342
- <p class="f5 pt-3 border-top border-white">Black fades apply alpha transparency to the <strong>$black</strong> variable. The black color value has a slight blue hue to match our grays.</p>
343
- </div>
344
- <div class="black-fade-15">
345
- <p class="h4 p-3">$black-fade-15</p>
346
- </div>
347
- <div class="black-fade-30">
348
- <p class="h4 p-3">$black-fade-30</p>
349
- </div>
350
- <div class="black-fade-50">
351
- <p class="h4 p-3">$black-fade-50</p>
352
- </div>
353
- <div class="black-fade-70">
354
- <p class="h4 p-3 text-white">$black-fade-70</p>
355
- </div>
356
- <div class="black-fade-85">
357
- <p class="h4 p-3 text-white">$black-fade-85</p>
358
- </div>
359
- </div>
360
-
361
- <div class="mb-3 flex-column col-6 markdown-no-margin">
362
- <h3>White fades</h3>
363
- <div class="bg-white border text-gray-dark my-2 p-3">
364
- <p class="f00-light pb-3">White</p>
365
- <div class="d-flex pb-1">
366
- <p class="h4 flex-auto">$white</p>
367
- <p class="text-right text-mono flex-auto"><code>rgb(255, 255, 255)</code> #fff</p>
368
- </div>
369
- <p class="f5 pt-3 border-top border-white">White fades apply alpha transparency to the <strong>$white</strong> variable, below these are shown overlaid on a dark gray background.</p>
370
- </div>
371
- <div class="bg-gray-dark pr-4">
372
- <div class="white-fade-15">
373
- <p class="h4 p-3 text-white">$white-fade-15</p>
374
- </div>
375
- <div class="white-fade-30">
376
- <p class="h4 p-3 text-white">$white-fade-30</p>
377
- </div>
378
- <div class="white-fade-50">
379
- <p class="h4 p-3">$white-fade-50</p>
380
- </div>
381
- <div class="white-fade-70">
382
- <p class="h4 p-3">$white-fade-70</p>
383
- </div>
384
- <div class="white-fade-85">
385
- <p class="h4 p-3">$white-fade-85</p>
386
- </div>
387
- </div>
388
-
389
-
390
- </div>
391
-
392
- </div>
@@ -1,40 +0,0 @@
1
- ---
2
- title: Spacing
3
- status: Stable
4
- source: https://github.com/primer/primer/blob/master/modules/primer-support/lib/variables/layout.scss
5
- ---
6
-
7
- {:toc}
8
-
9
- ## Spacing scale
10
- The spacing scale is a **base-8** scale. We chose a base-8 scale because eight is a highly composable number (it can be divided and multiplied many times and result in whole numbers), yet allows spacing dense enough for GitHub's UI. The scale's exception is that it begins at 4px to allow smaller padding and margin for denser parts of the site, from there on it steps up consistently in equal values of `8px`.
11
-
12
- | Variable | Scale | Value |
13
- | --- | --- | --- |
14
- | $spacer-1 | 0 | 0 |
15
- | $spacer-1 | 1 | 4px |
16
- | $spacer-1 | 2 | 8px |
17
- | $spacer-1 | 3 | 16px |
18
- | $spacer-1 | 4 | 24px |
19
- | $spacer-1 | 5 | 32px |
20
- | $spacer-1 | 6 | 40px |
21
-
22
- These variables are encouraged to be used within components and custom CSS. The spacing scale is also used for [margin](./utilities/margin) and [padding](./utilities/padding) utilities.
23
-
24
- See [primer-marketing-support](../primer-marketing-support) for the extended spacing scale used for marketing needs and the related y-axis spacing utilities for [margin](../primer-marketing-utilities/docs/margin.md) and [padding](../primer-marketing-utilities/docs/padding.md).
25
-
26
- ## Em-based spacing
27
- Ems are used for spacing within components such as buttons and form elements. We stick to common fractions for em values (and powers of 2 where possible) so that , in combination with typography and line-height, the total height lands on sensible numbers.
28
-
29
- We aim for whole numbers, however, GitHub's body font-size is 14px which is difficult to work with, so we sometimes can't achieve a whole number. Less desirable values are highlighted in <span class="text-red">red</span> below.
30
-
31
- | Variable | Fraction | Y Padding (em) | Total height at 14px | Total height at 16px |
32
- | --- | --- | --- | --- | --- |
33
- | $em-spacer-1 | 1/16 | .0625 | <span class="text-red">22.75</span> | 26 |
34
- | $em-spacer-2 | 1/8 | .125 | <span class="text-red">24.5</span> | 28 |
35
- | $em-spacer-3 | 1/4 | .25 | 28 | 32 |
36
- | $em-spacer-4 | 3/8 | .375 | <span class="text-red">31.5</span> | 36 |
37
- | $em-spacer-5 | 1/2 | .5 | 35 | 40 |
38
- | $em-spacer-6 | 3/4 | .75 | 42 | 48 |
39
-
40
- The variables listed above are preferred for use within components and custom CSS. To calculate values with other font-sizes or em values, we suggest using [Formula](http://jxnblk.com/formula/).
@@ -1,90 +0,0 @@
1
- ---
2
- title: Typography
3
- status_issue: https://github.com/github/design-systems/issues/329
4
- status: New release
5
- source: https://github.com/primer/primer/blob/master/modules/primer-support/lib/variables/typography.scss
6
- ---
7
-
8
- {:toc}
9
-
10
- ## Type Scale
11
-
12
- The typography scale is designed to work for GitHub's product UI and marketing sites. Font sizes are designed to work in combination with line-height values so as to result in more sensible numbers wherever possible.
13
-
14
- Font sizes are smaller on mobile and scale up at the `md` [breakpoint](#breakpoints) to be larger on desktop.
15
-
16
- | Scale | Font size: mobile | Font size: desktop | 1.25 line height | 1.5 line height |
17
- | --- | --- | --- | --- | --- |
18
- | 00 | 40px | 48px | 60 | 72 |
19
- | 0 | 32px | 40px | 50 | 60 |
20
- | 1 | 26px | 32px | 40 | 48 |
21
- | 2 | 22px | 24px | 30 | 36 |
22
- | 3 | 18px | 20px | 25 | 30 |
23
- | 4 | 16px | 16px | 20 | 24 |
24
- | 5 | 14px | 14px | 17.5 | 21 |
25
- | 6 | 12px | 12px | 15 | 18 |
26
-
27
- The typography scale is used to create [typography utilities](./utilities/typography).
28
-
29
- ## Typography variables
30
-
31
- #### Font size variables
32
- ```scss
33
- // Heading sizes - mobile
34
- // h4—h6 remain the same size on both mobile & desktop
35
- $h00-size-mobile: 40px;
36
- $h0-size-mobile: 32px;
37
- $h1-size-mobile: 26px;
38
- $h2-size-mobile: 22px;
39
- $h3-size-mobile: 18px;
40
-
41
- // Heading sizes - desktop
42
- $h00-size: 48px;
43
- $h0-size: 40px;
44
- $h1-size: 32px;
45
- $h2-size: 24px;
46
- $h3-size: 20px;
47
- $h4-size: 16px;
48
- $h5-size: 14px;
49
- $h6-size: 12px;
50
- ```
51
-
52
- #### Font weight variables
53
- ```scss
54
- $font-weight-bold: 600 !default;
55
- $font-weight-light: 300 !default;
56
- ```
57
-
58
- #### Line height variables
59
- ```scss
60
- $lh-condensed-ultra: 1 !default;
61
- $lh-condensed: 1.25 !default;
62
- $lh-default: 1.5 !default;
63
- ```
64
-
65
- ## Typography Mixins
66
- Typography mixins are available for heading styles and for our type scale. They can be used within components or custom CSS. The same styles are also available as [utilities](./utilities/typography#heading-utilities) which requires no additional CSS.
67
-
68
- Heading mixins are available for `h1` through to `h6`, this includes the font-size and font-weight. Example:
69
-
70
- ```scss
71
- .styles {
72
- @include h1;
73
- }
74
- ```
75
-
76
- Responsive heading mixins can be used to adjust the font-size between the `sm` and `lg` breakpoint. Only headings 1—3 are responsive. Heading 4—6 are small enough to remain the same between mobile and desktop. Responsive heading mixins include the font-size and font-weight as well as the media query. To use a responsive heading mixin, postfix the heading with `-responsive`:
77
-
78
- ```scss
79
- .styles {
80
- @include h1-responsive;
81
- }
82
- ```
83
-
84
- Responsive type scale mixins are also available. Type scale mixins apply a font-size that gets slightly bigger at the `lg` breakpoint. They do not apply a font-weight. Like the responsive heading mixins, they are only available for size `f1` to `f3` and are postfixed with `-responsive` as in the example below:
85
-
86
- ```scss
87
- .style {
88
- @include f1-responsive;
89
- }
90
- ```