Skip to content

Style: Update color to use CSS variable in global-styles-ui#79053

Open
Infinite-Null wants to merge 1 commit into
WordPress:trunkfrom
Infinite-Null:fix-wpds-color-tokens-global-styles-ui
Open

Style: Update color to use CSS variable in global-styles-ui#79053
Infinite-Null wants to merge 1 commit into
WordPress:trunkfrom
Infinite-Null:fix-wpds-color-tokens-global-styles-ui

Conversation

@Infinite-Null

@Infinite-Null Infinite-Null commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Part of #79001

What

Replace hardcoded colors.$gray-300 border values with the --wpds-color-stroke-surface-neutral design token in global-styles-ui SCSS files.

Changes

  • font-library/style.scss: Updated 3 border declarations (footer border-top, font card border, tablist border-bottom)
  • screen-revisions/style.scss: Updated 2 border declarations (timeline connector line, footer border-top)
Before $gray-300 After var(--wpds-color-stroke-surface-neutral)
Screenshot 2026-06-09 at 7 01 41 PM Screenshot 2026-06-09 at 7 01 08 PM

@Infinite-Null Infinite-Null marked this pull request as ready for review June 9, 2026 13:53
@github-actions

github-actions Bot commented Jun 9, 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: Infinite-Null <ankitkumarshah@git.wordpress.org>

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

@t-hamano t-hamano added [Type] Code Quality Issues or PRs that relate to code quality Global Styles Anything related to the broader Global Styles efforts, including Styles Engine and theme.json labels Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Global Styles Anything related to the broader Global Styles efforts, including Styles Engine and theme.json [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