Skip to content

Conversation

@adrianptrv
Copy link
Contributor

Closes #6252

Copy link
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 PR updates the Sass styling examples for button components to align with the latest API changes. The theme function names have been updated to be more specific (button-themecontained-button-theme, outlined-button-theme, flat-button-theme), and the theme properties have been adjusted to match the new button variant APIs.

Key Changes

  • Replaced generic button-theme function with variant-specific theme functions (contained-button-theme, outlined-button-theme, flat-button-theme)
  • Updated theme properties to remove border-related parameters from contained buttons and add them to outlined buttons
  • Added separate CSS class examples for applying different button variant themes

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@simeonoff simeonoff merged commit 86aada9 into vnext Nov 21, 2025
4 checks passed
@simeonoff simeonoff deleted the apetrov/update-button-style-sample-vnext branch November 21, 2025 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants