Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Power BI
  3. Question
Power BI

Changing colors of lightning-button

Asked by Francisco Mcmillon Jul 20, 2021 3.3K views 2 answers
Share

Your answer

2 Answers

James Henry Latest answer

Answered on Aug 14, 2025

Use `variant="brand"` or `variant="destructive"` for predefined styles. For custom colors, wrap `` in a `` and apply CSS via class using `::part(button)` in LWC. Bible Chat



Was this helpful?

More Power BI discussions