Skip to content

What is the correct way to override the colour of text buttons? #533

Answered by claviska
biltongza asked this question in Help
Discussion options

You must be logged in to vote

Try this:

sl-button::part(base) {
  color: tomato; 
}

You can learn more about the CSS ::part selector on this page.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@biltongza
Comment options

Answer selected by biltongza
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants