Skip to content

Make the Prototype Kit work with GOV.UK Frontend 6.0.0 #2467

@owenatgov

Description

@owenatgov

Brief

Ensure that the Prototype Kit works against GOV.UK Frontend 6.0.0.

Frontend 6.0 includes a number of breaking changes:

  • a new colour system, including the removal of 'verbose' colour keys eg: 'light-grey' and the removal of the govuk-tint and govuk-shade functions
  • a restructuring of the applied colours system
  • dropping support for libsass and ruby sass and pinning the minimum supported version of dart sass to 1.79
  • many removed deprecated things

We need to make sure that the prototype kit and users of the prototype kit are able to use the kit with Frontend 6.0 so that they are able to continue prototyping in line with changes to Frontend.

Notes

What's been done so far

The new colour system has been tested against the kit in alphagov/govuk-frontend#5786

The findings were that there's only one place to update: the pagination component. However, if we make the update to these colours, it means that users on Frontend < 6.0 now won't be able to compile their sass, meaning that this would be a breaking change.

If we're going to release a breaking change anyway, a further thought is that we could remove the pagination component along with other instances of 'legacy' patterns and components within the kit. There's a hypothesis that this would also mean that users could upgrade their kits but still use Frontend 5.x if needed, but this needs testing.

Questions still to answer

  • Should we release a breaking change of the prototype kit?
  • Does the kit need further work with other changes coming in 6.0? eg: other removals, the applied colours system etc
  • Can users still use Frontend 5.x if we remove old sass? answer: YES
  • What updates do we need to make to the Kit docs if we make these changes?

Additional comments

We may also want to try to address the use of serviceName in the header component. This is being worked on at time of writing via #2466

Questions which need to be answered will be discussed in the next dev catch up.

Sub-issues

Metadata

Metadata

Assignees

Labels

EPICEpics are used in planning project boards to group related stories

Type

No type

Projects

Status

Blocked ⛔

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions