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.4K 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

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Power BI Blogs

Guides, tips and career advice on Power BI from JanBask experts.