alphagov / govuk-prototype-kit

Rapidly create HTML prototypes of GOV.UK services
https://prototype-kit.service.gov.uk
MIT License
301 stars 236 forks source link

Suppress Sass warnings for `$legacy` deprecated colour palette #2358

Closed colinrotherham closed 11 months ago

colinrotherham commented 11 months ago

This PR suppresses Sass $legacy colour palette deprecation warnings logged by GOV.UK Frontend v5 until the following files and packages can be updated from issue https://github.com/alphagov/govuk-prototype-kit/issues/2293:

  • govuk-prototype-kit/lib/assets/sass/patterns/_pagination.scss
  • govuk-prototype-kit-step-by-step/sass/_step-by-step-navigation.scss
  • govuk-prototype-kit-step-by-step/sass/_step-by-step-navigation-header.scss

This completes GOV.UK Frontend v5 plugin support in https://github.com/alphagov/govuk-prototype-kit/issues/2293

Legacy colour palette

The legacy palette was replaced in GOV.UK Frontend v3.0.0: https://designnotes.blog.gov.uk/2019/07/29/weve-updated-the-gov-uk-colours-and-font/

Support has continued throughout v4.0.0 but is deprecated in v5.0.0

colinrotherham commented 11 months ago

Moved the CHANGELOG entry into Unreleased