Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capitalise tags in examples #2809

Merged
merged 2 commits into from
May 31, 2023
Merged

Capitalise tags in examples #2809

merged 2 commits into from
May 31, 2023

Conversation

36degrees
Copy link
Contributor

The tag component is being redesigned as part of a wider piece of work on task lists, and the new design will be released as part of v5.0.

The changes include a change in case of tags from UPPERCASE to Sentence case. At the moment in some of our examples the tag text is lowercase in the HTML source, but this doesn’t matter as a CSS text-transform is applied.

We’re currently planning to include a CSS adjustment to try and sentence case existing tags, but it makes sense to update these examples to use sentence case anyway.

The tag component is being redesigned [1] as part of a wider piece of work on task lists, and the new design will be released as part of v5.0.

The changes include a change in case of tags from UPPERCASE to Sentence case. At the moment in some of our examples the tag text is lowercase in the HTML source, but this doesn’t matter as a CSS text-transform is applied.

We’re currently planning to include a CSS adjustment [2] to try and sentence case existing tags, but it makes sense to update these examples to use sentence case anyway.

[1]: alphagov/govuk-frontend#3502
[2]: https://github.com/alphagov/govuk-frontend/blob/188ad751fa9e9c1db5eaa62e556483adec2b2ff8/packages/govuk-frontend/src/govuk/components/tag/_index.scss#L36-L43
@netlify
Copy link

netlify bot commented May 31, 2023

You can preview this change here:

Name Link
🔨 Latest commit 50639c1
🔍 Latest deploy log https://app.netlify.com/sites/govuk-design-system-preview/deploys/647725774e7cef000822de82
😎 Deploy Preview https://deploy-preview-2809--govuk-design-system-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Copy link
Contributor

@owenatgov owenatgov left a comment

Choose a reason for hiding this comment

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

Did a skim of the codebase and you've got them all

@36degrees 36degrees merged commit a514715 into main May 31, 2023
@36degrees 36degrees deleted the capitalise-tags branch May 31, 2023 11:10
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.

2 participants