Skip to content

Change color of text for unloaded tabs #1572

Answered by mbnuqw
rieje asked this question in Q&A
Discussion options

You must be logged in to vote

Use this custom style:

.Tab {
  --tabs-discarded-favicon-opacity: .5;
  --tabs-discarded-title-opacity: .7;
}
#root .Tab[data-discarded="true"] > .body > .fav {
  opacity: var(--tabs-discarded-favicon-opacity);
}
#root .Tab[data-discarded="true"] > .body > .t-box,
#root .Tab[data-discarded="true"] > .body > .ctx {
  opacity: var(--tabs-discarded-title-opacity);
}

Also, these vars were added in #1553, so they already available in v5.2.0.5

Replies: 1 comment

Comment options

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