Skip to content

Commit

Permalink
Merge pull request #943 from alphagov/panel-component
Browse files Browse the repository at this point in the history
Remove panel component guidance on contrast requirements
  • Loading branch information
DebsDee authored Jun 27, 2019
2 parents 8c825a5 + 22bad33 commit 3f2cfde
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/panel/index.md.njk
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ Never use the panel component to highlight important information within body con

## How it works

If you add extra content to the panel, to meet colour contrast ratio requirements use a font size of <code>govuk-body-l</code> for normal weight and <code>govuk-body</code> for bold.

There are 2 ways to use the panel component. You can use HTML or, if you are using [Nunjucks](https://mozilla.github.io/nunjucks/) or the [GOV.UK Prototype Kit](https://govuk-prototype-kit.herokuapp.com), you can use the Nunjucks macro.

{{ example({group: "components", item: "panel", example: "default", html: true, nunjucks: true, open: false, size: "m", titleSuffix: "second"}) }}
Expand Down

0 comments on commit 3f2cfde

Please sign in to comment.