Skip to content

Commit 82efce1

Browse files
Test colour without inset text
markdown Call tag
1 parent 91707be commit 82efce1

2 files changed

Lines changed: 21 additions & 16 deletions

File tree

src/components/header/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ For guidance on how to plan your header and navigation, see the [Help users navi
6363

6464
### Update to refresh the GOV.UK brand
6565

66+
<strong class="govuk-tag brand-tag-green">
67+
Brand
68+
</strong>
69+
6670
If you use the Nunjucks macro and page template across your service, you can enable the brand refresh by setting the page template’s `rebrand` option to `true`. This will automatically make all needed changes related to the brand refresh.
6771

6872
You can enable the brand refresh within the GOV.UK header component by setting its `rebrand` option to true. You’ll also need to add some code to your `<html>` and `<head>` elements.

src/styles/colour/index.md

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,31 +10,32 @@ order: 12
1010
---
1111

1212
{% from "govuk/components/inset-text/macro.njk" import govukInsetText %}
13-
{% from "_brand-callout.njk" import brandCallout %}
13+
{%- from "govuk/components/tag/macro.njk" import govukTag -%}
1414

1515
Always use the GOV.UK colour palette.
1616

1717
{% call brandCallout({ text: "Brand", classes: "brand-tag-green" }) %}
1818

19-
<h2>Brand changes to the {{title}}</h2>
20-
<p class="govuk-body">From June 2025, the colour palette will change to support a wider refresh of the GOV.UK brand. </p>
19+
<strong class="govuk-tag brand-tag-green">
20+
Brand
21+
</strong>
2122

22-
<p class="govuk-body">To get ready, service teams in government should now make updates to these components in their services:</p>
23-
<ul class="govuk-list govuk-list--bullet">
24-
<li><a href="/components/header/" class="govuk-link">GOV.UK header component</a></li>
25-
<li><a href="/components/footer/" class="govuk-link">GOV.UK footer component</a></li>
26-
<li><a href="/components/service-navigation/" class="govuk-link">Service navigation component</a></li>
27-
</ul>
23+
Brand changes to {{title}}
2824

29-
<p class="govuk-body">The updated colour palette will change the background colour of some components to light blue, instead of grey:</p>
30-
<ul class="govuk-list">
31-
<li>Cookie banner component</li>
32-
<li>GOV.UK footer component</li>
33-
</ul>
25+
From June 2025, the colour palette will change to support a wider refresh of the GOV.UK brand.
3426

35-
<p class="govuk-body">As you update your service, check the colour contrast of these components on the page.</p>
27+
To get ready, service teams in government should now make updates to these components in their services:
3628

37-
{% endcall %}
29+
- [GOV.UK header component](/components/header/)
30+
- [GOV.UK footer component](/components/footer/)
31+
- [Service navigation component](/components/service-navigation/)
32+
33+
The updated colour palette will change the background colour of some components to light blue, instead of grey:
34+
35+
- [Cookie banner component](/components/cookie-banner/)
36+
- [GOV.UK footer component](/components/footer/)
37+
38+
As you update your service, check the colour contrast of these components on the page.
3839

3940
## Colour contrast
4041

0 commit comments

Comments
 (0)