Skip to content

Conversation

@owenatgov
Copy link
Contributor

@owenatgov owenatgov commented Oct 16, 2025

Change

Makes govuk-tint and govuk-shade inoperable. They now only return the colour passed to them and output a warning to the user advising them not to use either function.

This PR also removes the one instance of govuk-shade from service navigation.

Resolves #6331

Notes

We haven't removed the numerous isntances of tint and shade in buttons, tags and file upload because they're covered in other PRs. Once the main colour system change PR is ready, we can merge all them and this one. This is also why the deprecation warning tests are failing.

I'm a little concered about the fact that with the change to the service nav colour, we're decoupling it from the applied link colour ($govuk-link-colour). The squad are talking about if there's a need for a new applied colour for links on the tint 95% blue background. Relates to #6302

@github-actions
Copy link

github-actions bot commented Oct 16, 2025

📋 Stats

No changes to any distributed file sizes!


Action run for 7153d21

@github-actions

This comment was marked as off-topic.

@github-actions

This comment was marked as off-topic.

@owenatgov owenatgov marked this pull request as draft October 17, 2025 08:00
@owenatgov owenatgov linked an issue Oct 17, 2025 that may be closed by this pull request
2 tasks
@owenatgov owenatgov changed the title Deactivate tint and shade Deactivate govuk-tint and govuk-shade functions Oct 17, 2025
@owenatgov owenatgov force-pushed the deactivate-tint-and-shade branch from 7782a38 to 5d6f0dd Compare October 17, 2025 08:44
@owenatgov owenatgov force-pushed the govuk-colour-for-brand branch from 8dd36e1 to 2de694d Compare October 17, 2025 08:47
@romaricpascal romaricpascal force-pushed the govuk-colour-for-brand branch 3 times, most recently from 1f8d1ef to 5822b9b Compare October 20, 2025 11:43
Base automatically changed from govuk-colour-for-brand to main October 20, 2025 14:40
@owenatgov owenatgov force-pushed the deactivate-tint-and-shade branch from 5d6f0dd to c9a8e78 Compare October 20, 2025 15:18
@owenatgov owenatgov marked this pull request as ready for review October 20, 2025 15:18
@owenatgov owenatgov force-pushed the deactivate-tint-and-shade branch from 700ac41 to 26bc8cc Compare October 20, 2025 15:55
Copy link
Contributor

@domoscargin domoscargin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks grand, just a small markdown typo to fix

@owenatgov owenatgov force-pushed the deactivate-tint-and-shade branch from 26bc8cc to 7153d21 Compare October 20, 2025 16:18
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-pr-6341 October 20, 2025 16:19 Inactive
@owenatgov owenatgov merged commit 23ab713 into main Oct 21, 2025
49 checks passed
@owenatgov owenatgov deleted the deactivate-tint-and-shade branch October 21, 2025 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deactivate govuk-tint and govuk-shade

4 participants