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

fix(styles): remove deprecated accent colors(#3227) #3693

Open
wants to merge 23 commits into
base: main
Choose a base branch
from

Conversation

alionazherdetska
Copy link
Contributor

No description provided.

@alionazherdetska alionazherdetska requested a review from a team as a code owner October 9, 2024 10:41
@alionazherdetska alionazherdetska linked an issue Oct 9, 2024 that may be closed by this pull request
2 tasks
Copy link

changeset-bot bot commented Oct 9, 2024

🦋 Changeset detected

Latest commit: cf02bfe

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 16 packages
Name Type
@swisspost/design-system-styles-primeng-workspace Patch
@swisspost/design-system-documentation Patch
@swisspost/design-system-styles Major
@swisspost/design-system-components-angular-workspace Patch
@swisspost/design-system-components Major
@swisspost/internet-header Patch
@swisspost/design-system-intranet-header-workspace Patch
@swisspost/design-system-nextjs-integration Patch
@swisspost/design-system-intranet-header Major
@swisspost/design-system-styles-primeng Major
@swisspost/design-system-components-react Major
@swisspost/design-system-components-angular Major
@swisspost/design-system-intranet-header-showcase Patch
@swisspost/design-system-tokens Major
@swisspost/design-system-icons Major
@swisspost/design-system-migrations Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@swisspost-bot
Copy link
Contributor

swisspost-bot commented Oct 9, 2024

Related Previews

Copy link
Member

@gfellerph gfellerph left a comment

Choose a reason for hiding this comment

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

That was no easy change, nice work! Just a couple of small improvements.

'@swisspost/design-system-styles': patch
---

Removed deprecated accent colors and updated all relevant components, documentation, and utilities.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Removed deprecated accent colors and updated all relevant components, documentation, and utilities.
Removed deprecated accent colors (nightblue, petrol, coral, olive, purple, aubergine and their light variations) and updated all relevant components, documentation, and utilities.

.idea/indexLayout.xml Outdated Show resolved Hide resolved
Copy link
Member

Choose a reason for hiding this comment

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

The BackgroundStories.TranslucentBackgrounds story implements bg-aubergine as well. Could you change this to bg-dark there?

image

Comment on lines -286 to -290
// Color variants
@each $name, $color in color.$accent-colors {
@include button-mx.button-color-variant($name, $color);
}

Copy link
Member

Choose a reason for hiding this comment

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

Removing this reduces so much CSS output. Very satisfying.

Comment on lines 2 to 4
'@swisspost/design-system-styles-primeng-workspace': patch
'@swisspost/design-system-documentation': patch
'@swisspost/design-system-styles': patch
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
'@swisspost/design-system-styles-primeng-workspace': patch
'@swisspost/design-system-documentation': patch
'@swisspost/design-system-styles': patch
'@swisspost/design-system-styles-primeng-workspace': patch
'@swisspost/design-system-documentation': patch
'@swisspost/design-system-styles': major

Copy link

sonarcloud bot commented Oct 16, 2024

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.

Remove deprecated accent colors
3 participants