Home > Blockchain >  Text color doesn't change with overall theme
Text color doesn't change with overall theme

Time:03-07

Link to the themes change site

Whenever I try to change the theme of the page, the color of text doesn't change with it. Link to the files

CodePudding user response:

In sandbox file try this to add a class to body

body.classList.add(theme)

CodePudding user response:

You need to change to color for <a> instead of inherit.

a {
  color: var(--text) !important;
}

  • Related