1
1
mirror of https://github.com/primer/css.git synced 2025-01-05 21:22:57 +03:00

Fix headings

This commit is contained in:
Cole Bemis 2019-08-14 14:15:00 -07:00
parent e5a423af2a
commit 5d324bc37e
2 changed files with 4 additions and 4 deletions

View File

@ -103,7 +103,7 @@ The resulting CSS would be:
}
```
#### Caution!
**Caution!**
1. Don't precede the `#{$variation}` interpolation with a hyphen because the first value of `$variant` will be an empty string.
1. For consistency, please put the `@include breakpoint($breakpoint)` call directly inside the `$responsive-variants` loop. This will help keep file sizes small by "batching" selectors in shared `@media` queries.

View File

@ -28,7 +28,7 @@ The typography scale is used to create [typography utilities](/css/utilities/typ
## Typography variables
#### Font size variables
### Font size variables
```scss
// Heading sizes - mobile
@ -50,14 +50,14 @@ $h5-size: 14px;
$h6-size: 12px;
```
#### Font weight variables
### Font weight variables
```scss
$font-weight-bold: 600 !default;
$font-weight-light: 300 !default;
```
#### Line height variables
### Line height variables
```scss
$lh-condensed-ultra: 1 !default;