Skip to content

Commit

Permalink
Merge pull request #4374 from htmlandbacon/f-typescale-fix
Browse files Browse the repository at this point in the history
fix type scale govuk font scss example
  • Loading branch information
querkmachine authored Dec 11, 2024
2 parents d95945d + f01af72 commit b246c91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/styles/type-scale/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ For example, if you want a custom element to use type scale point 19, use:
You can add additional arguments to control font weight, use tabular font spacing, or to override the line height:

```scss
@include govuk-font($size 19, $weight: bold, $tabular: true);
@include govuk-font($size: 19, $weight: bold, $tabular: true);
```

### If you only want to set the font size
Expand Down

0 comments on commit b246c91

Please sign in to comment.