Skip to content

Theme: Update Color.js to 0.7.1 - #80762

Merged
ciampo merged 2 commits into
trunkfrom
codex/deps-colorjs-io-0.7.1
Jul 28, 2026
Merged

Theme: Update Color.js to 0.7.1#80762
ciampo merged 2 commits into
trunkfrom
codex/deps-colorjs-io-0.7.1

Conversation

@ciampo

@ciampo ciampo commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Release span: Color.js 0.7.1

What?

Updates the Theme package from colorjs.io 0.7.0 to 0.7.1.

Why?

The release fixes property-style color-space accessors in bundlers and makes deltaEMethod handling consistent in color steps.

Notable upstream changes

  • Property-style color-space accessors work correctly in bundlers again. Gutenberg imports the functional colorjs.io/fn API instead, so the regression did not affect the current Theme implementation.
  • Color steps now apply deltaEMethod consistently. Gutenberg does not call Color.js's steps API, so no direct behavior change is expected.
  • No transitive dependencies move. The update is isolated to the Color.js lockfile entry.

How?

Updates the Theme manifest and changelog, then refreshes the isolated lockfile entry. No transitive package versions change.

Testing Instructions

  1. Open Storybook at Design System → Theme → Theme Provider → Color Scales.
  2. Change the background and primary color controls across several light and dark values. Confirm every ramp updates and the story either reports that accessibility targets are met or clearly lists any unmet combination.
  3. Open Brand Color Fallbacks and change the admin theme color. Confirm the actual and fallback swatches update together without missing or invalid colors.
Automated verification

Dependency and lockfile validation passed. All 71 focused tests and 2 snapshots passed, and the Theme build produced no unexpected generated changes.

Testing Instructions for Keyboard

Not applicable; this dependency update does not change keyboard interaction.

Screenshots or screencast

Not applicable; no visual change is intended.

Use of AI Tools

Codex selected and implemented the dependency update, reviewed the upstream release and direct usage, ran the verification above, and updated this description.

@github-actions github-actions Bot added the [Package] Theme /packages/theme label Jul 27, 2026
@github-actions

Copy link
Copy Markdown

Size Change: 0 B

Total Size: 7.75 MB

compressed-size-action

@ciampo ciampo self-assigned this Jul 27, 2026
@ciampo ciampo added the [Type] Code Quality Issues or PRs that relate to code quality label Jul 27, 2026
@ciampo
ciampo marked this pull request as ready for review July 27, 2026 20:54
@ciampo
ciampo requested a review from a team as a code owner July 27, 2026 20:54
@github-actions

github-actions Bot commented Jul 27, 2026

Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: ciampo <mciampini@git.wordpress.org>
Co-authored-by: aduth <aduth@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@github-actions

Copy link
Copy Markdown

Flaky tests detected in f51baac.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/30302438911
📝 Reported issues:

@aduth aduth left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This seems fine 👍 But in full transparency, I don't see a lot of value for the project in updating.

@ciampo
ciampo merged commit 03a6675 into trunk Jul 28, 2026
67 checks passed
@ciampo
ciampo deleted the codex/deps-colorjs-io-0.7.1 branch July 28, 2026 14:28
@github-actions github-actions Bot added this to the Gutenberg 23.7 milestone Jul 28, 2026
@ciampo

ciampo commented Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

In full transparency, I'm testing ways to update some of the main dependencies around the packages that we "own" (components, ui, theme) in semi-automated (but definitely more refined than default dependabot) way, hoping to reach a good compromise between noise and value.

There is of course a bit of a bigger initial wave of PRs, but if this still feels too noisy in a couple of weeks we can recalibrate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Package] Theme /packages/theme [Type] Code Quality Issues or PRs that relate to code quality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Sponsor
SponsoredKunjungi sekarang
Promo