Skip to content

Add accent and subtle DropDownButton styles - #11597

Closed
Niels Laute (niels9001) wants to merge 1 commit into
microsoft:mainfrom
niels9001:feature/11132-dropdownbutton-styles
Closed

Add accent and subtle DropDownButton styles#11597
Niels Laute (niels9001) wants to merge 1 commit into
microsoft:mainfrom
niels9001:feature/11132-dropdownbutton-styles

Conversation

@niels9001

@niels9001 Niels Laute (niels9001) commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator

Fixes

Fixes #11132

PR Type

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

Description

Current Behavior

DropDownButton does not provide built-in accent or subtle keyed styles.

New Behavior

Adds AccentDropDownButtonStyle and SubtleDropDownButtonStyle to the regular and perf2026 resources. Both preserve the existing template structure, state animations, and setters while applying the corresponding standard visual treatment.

Customer Impact

Apps can use standard accent and subtle DropDownButton treatments without maintaining custom templates.

Regression Potential

  • Low risk — isolated change, limited scope
  • Medium risk — touches shared components or public APIs
  • High risk — architectural or breaking API change

These are opt-in keyed styles.

How Has This Been Tested?

  • I have performed a self-review of my own code
  • I have added tests to cover my changes
  • Existing tests pass locally

Previously verified visually in light and dark themes for enabled and disabled states.

Screenshots and recordings

DropDownButton styles in light theme

DropDownButton styles in dark theme

DropDownButton styles in high contrast

DropDownButton styles demonstration

11597-demo.mp4

Prior review sign-offs

Godly T.Alias (@godlytalias) previously reviewed and signed off, and is tagged to reconfirm the GitHub version.

Add opt-in accent and subtle DropDownButton styles for the regular and perf2026 resource variants.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 8ab4ed7c-df52-4775-bc59-85ca7fbd5ec4
@niels9001
Niels Laute (niels9001) requested a review from a team as a code owner August 24, 2026 20:42
@microsoft-github-policy-service microsoft-github-policy-service Bot added the needs-triage Issue needs to be triaged by the area owners label Aug 24, 2026
@harshit7962

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
1 pipeline(s) were filtered out due to trigger conditions.

@niels9001

Copy link
Copy Markdown
Collaborator Author

Superseded by #11629, which uses a branch owned by this repository. Please continue review there.

@niels9001
Niels Laute (niels9001) deleted the feature/11132-dropdownbutton-styles branch August 25, 2026 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-triage Issue needs to be triaged by the area owners

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Proposal: Add AccentDropDownButtonStyle and SubtleDropDownButtonStyle as built-in styles

2 participants