Skip to content

How to change bold font color for slate theme #2576

Answered by wizo06
wizo06 asked this question in Q&A
Discussion options

You must be logged in to vote

I figured it out. I just had to use css child selector pattern

[data-md-color-scheme="slate"] {
  /* variables go in here*/
}

[data-md-color-scheme="slate"] strong, [data-md-color-scheme="slate"] .md-nav__title, [data-md-color-scheme="slate"] h2, [data-md-color-scheme="slate"] h3, [data-md-color-scheme="slate"] h4 {
  color: rgba(255, 255, 255, 0.87);
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wizo06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant