Skip to content

Conversation

@langermank
Copy link
Contributor

This PR removes support for color themes. Going forward, Primer expects an explicit color theme import directly from primer/primitives.

@import '@primer/primitives/dist/css/functional/themes/light.css';
@import '@primer/primitives/dist/css/functional/themes/light-tritanopia.css';
@import '@primer/primitives/dist/css/functional/themes/light-high-contrast.css';
@import '@primer/primitives/dist/css/functional/themes/light-colorblind.css';
@import '@primer/primitives/dist/css/functional/themes/dark.css';
@import '@primer/primitives/dist/css/functional/themes/dark-colorblind.css';
@import '@primer/primitives/dist/css/functional/themes/dark-dimmed.css';
@import '@primer/primitives/dist/css/functional/themes/dark-high-contrast.css';
@import '@primer/primitives/dist/css/functional/themes/dark-tritanopia.css';

This is a breaking change and marked as such.

@langermank langermank requested a review from a team as a code owner February 5, 2025 17:48
@langermank langermank requested a review from mperrotti February 5, 2025 17:48
@changeset-bot
Copy link

changeset-bot bot commented Feb 5, 2025

🦋 Changeset detected

Latest commit: d777f6c

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

This PR includes changesets to release 1 package
Name Type
@primer/css 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

Co-authored-by: Tyler Jones <TylerJDev@users.noreply.github.com>
Co-authored-by: Josh Black <joshblack@users.noreply.github.com>
@github-actions
Copy link
Contributor

github-actions bot commented Apr 6, 2025

Hi! This pull request has been marked as stale because it has been open with no activity for 60 days. You can comment on the pull request or remove the stale label to keep it open. If you do nothing, this pull request will be closed in 7 days.

@github-actions github-actions bot added the Stale Automatically marked as stale. label Apr 6, 2025
@github-actions github-actions bot closed this Apr 13, 2025
@github-actions github-actions bot deleted the remove-old-colors branch April 13, 2025 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

major release Stale Automatically marked as stale.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants