Skip to content

Commit

Permalink
Merge pull request #913 from nhsuk/font-weight-normal-example
Browse files Browse the repository at this point in the history
Update code example for the font weight normal override class
  • Loading branch information
chrimesdev authored Jan 28, 2021
2 parents 0258e88 + 2850d58 commit 0b71306
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

- Update package dependencies to latest versions
- Remove the `pattern="[0-9]*"` attribute from NHS number examples to allow for spaces
- Update code example for the font weight normal override class

## 3.10.0 - 21 January 2021

Expand Down
2 changes: 1 addition & 1 deletion app/components/typography-weight.njk
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<p class="nhsuk-u-font-weight-regular">nhsuk-u-font-weight-regular</p>
<p class="nhsuk-u-font-weight-normal">nhsuk-u-font-weight-normal</p>
<p class="nhsuk-u-font-weight-bold">nhsuk-u-font-weight-bold</p>
2 changes: 1 addition & 1 deletion app/views/design-system/styles/typography.njk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% set pageDescription = "Our fonts and typographic styles, and how to apply them." %}
{% set pageSection = "Design system" %}
{% set subSection = "Styles" %}
{% set dateUpdated = "December 2020" %}
{% set dateUpdated = "January 2021" %}
{% set backlog_issue_id = "1" %}

{% extends "includes/app-layout.njk" %}
Expand Down
1 change: 1 addition & 0 deletions app/views/whats-new/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
<td class="nhsuk-table__cell">
<p>Added guidance for <a href="/design-system/components/text-input#asking-for-whole-numbers">asking for whole numbers using the text input</a> component</p>
<p>Updated code examples with inputmode numeric for the <a href="/design-system/patterns/ask-users-for-their-nhs-number">ask users for their NHS number pattern</a> and <a href="/design-system/components/date-input">date inputcomponent </a></p>
<p>Updated code example for the <a href="/design-system/styles/typography#font-weight">font weight normal override class</a></p>
</td>
</tr>
</tbody>
Expand Down
1 change: 1 addition & 0 deletions app/views/whats-new/updates.njk
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
<td class="nhsuk-table__cell">
<p>Added guidance for <a href="/design-system/components/text-input#asking-for-whole-numbers">asking for whole numbers using the text input</a> component</p>
<p>Updated code examples with inputmode numeric for the <a href="/design-system/patterns/ask-users-for-their-nhs-number">ask users for their NHS number pattern</a> and <a href="/design-system/components/date-input">date inputcomponent </a></p>
<p>Updated code example for the <a href="/design-system/styles/typography#font-weight">font weight normal override class</a></p>
</td>
</tr>
</tbody>
Expand Down

0 comments on commit 0b71306

Please sign in to comment.