Skip to content

Fixes button.secondaryBorder theme token discarded for secondary buttons#293241

Open
EmrecanKaracayir wants to merge 4 commits intomicrosoft:mainfrom
EmrecanKaracayir:emrecankaracayir/secondary-button-border
Open

Fixes button.secondaryBorder theme token discarded for secondary buttons#293241
EmrecanKaracayir wants to merge 4 commits intomicrosoft:mainfrom
EmrecanKaracayir:emrecankaracayir/secondary-button-border

Conversation

@EmrecanKaracayir
Copy link
Copy Markdown
Contributor

Fixes: #293240

Copilot AI review requested due to automatic review settings February 5, 2026 23:46
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request attempts to fix issue #293240 where the button.secondaryBorder theme token was not being used for secondary buttons. The issue reported that secondary buttons were incorrectly using the button.border theme token instead of button.secondaryBorder.

Changes:

  • Added buttonSecondaryBorder to the imports from colorRegistry.ts
  • Modified the buttonBorder property mapping in defaultButtonStyles to use buttonSecondaryBorder theme token

@mrleemurray
Copy link
Copy Markdown
Contributor

@EmrecanKaracayir can you please resolve the conflicts?

@EmrecanKaracayir
Copy link
Copy Markdown
Contributor Author

Sorry for the late reply. I resolved conflicts.

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.

button.secondaryBorder token discarded for secondary buttons

5 participants