Skip to content

refactor(theme): migrate button system tokens - #2438

Merged
panch1739 merged 1 commit into
mainfrom
copilot/migrate-button-system-tokens
Jul 29, 2026
Merged

refactor(theme): migrate button system tokens#2438
panch1739 merged 1 commit into
mainfrom
copilot/migrate-button-system-tokens

Conversation

@spike-rabbit

@spike-rabbit spike-rabbit commented Jul 29, 2026

Copy link
Copy Markdown
Member

Migrates button and button-group color styles from legacy Element semantic tokens to the new system tokens.\n\nUses context-specific system text and border tokens for secondary warning and danger variants.


Documentation.
Examples.
Dashboards Demo.
Playwright report.

Coverage Reports:

Code Coverage

Comment thread projects/element-theme/src/styles/bootstrap/_button-group.scss Outdated
Comment thread projects/element-theme/src/styles/bootstrap/_button-group.scss Outdated
Comment thread projects/element-theme/src/styles/bootstrap/_buttons.scss Outdated
Comment thread projects/element-theme/src/styles/bootstrap/_buttons.scss Outdated
Comment thread projects/element-theme/src/styles/bootstrap/_buttons.scss Outdated
Comment thread projects/element-theme/src/styles/bootstrap/_buttons.scss Outdated
Comment thread projects/element-theme/src/styles/bootstrap/_buttons.scss Outdated
Comment thread projects/element-theme/src/styles/bootstrap/_buttons.scss Outdated
Comment thread projects/element-theme/src/styles/bootstrap/_buttons.scss Outdated
Comment thread projects/element-theme/src/styles/bootstrap/_buttons.scss Outdated
@spike-rabbit
spike-rabbit force-pushed the copilot/migrate-button-system-tokens branch from 813f6f7 to 8293e5b Compare July 29, 2026 12:09
@spike-rabbit

Copy link
Copy Markdown
Member Author

Rebased onto the latest main and addressed the review feedback: active selection state tokens, accent-secondary foreground state tokens, and transparent warning/danger hover and active borders. Preserved main's btn-input variable refactor.

@spike-rabbit
spike-rabbit force-pushed the copilot/migrate-button-system-tokens branch from 8293e5b to 85ecf16 Compare July 29, 2026 12:42
@spike-rabbit
spike-rabbit marked this pull request as ready for review July 29, 2026 12:44
@spike-rabbit
spike-rabbit requested review from a team as code owners July 29, 2026 12:44
@panch1739
panch1739 enabled auto-merge July 29, 2026 12:44
@spike-rabbit
spike-rabbit force-pushed the copilot/migrate-button-system-tokens branch from 85ecf16 to 9314679 Compare July 29, 2026 13:09
@panch1739
panch1739 added this pull request to the merge queue Jul 29, 2026
Merged via the queue into main with commit 9a33d57 Jul 29, 2026
15 checks passed
@panch1739
panch1739 deleted the copilot/migrate-button-system-tokens branch July 29, 2026 13:46
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