Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

Change Tab Color In Dark Mode

  • 2 ответа
  • 2 имеют эту проблему
  • 8 просмотров
  • Последний ответ от khadijah

more options

I've been trying to change the color of the tabs to a laurel green while still maintaining dark mode in every other aspect of the browser. I am on a Windows computer with the latest version of Firefox. Any solution, either through main settings or a userChrome.css is helpful!

I've been trying to change the color of the tabs to a laurel green while still maintaining dark mode in every other aspect of the browser. I am on a Windows computer with the latest version of Firefox. Any solution, either through main settings or a userChrome.css is helpful!

Все ответы (2)

more options

Hi khadijah, there isn't any built-in setting for tab colors, other than themes. I don't know whether you can combine the Firefox Color extension with the dark theme, or whether you would need to assign too many other colors to make it worth your time.

A userChrome.css rule probably would be simplest especially if you are already familiar with the file. By default, tab colors differ depending on whether they are the active tab or a background tab, so maybe it would be two different rules. Do you have RGB or hex codes for the colors? Here's an example in the green range:

/*** Tab background colors (Fx85) ***/
/* Default (background tabs) */
.tab-background {
  background-color: #060 !important;
  background-image: none !important;
}
/* Custom color for active tab */
.tab-background[selected="true"] {
  background-color: #393 !important;
}
more options

jscher2000 said

Hi khadijah, there isn't any built-in setting for tab colors, other than themes. I don't know whether you can combine the Firefox Color extension with the dark theme, or whether you would need to assign too many other colors to make it worth your time. A userChrome.css rule probably would be simplest especially if you are already familiar with the file. By default, tab colors differ depending on whether they are the active tab or a background tab, so maybe it would be two different rules. Do you have RGB or hex codes for the colors? Here's an example in the green range:
/*** Tab background colors (Fx85) ***/
/* Default (background tabs) */
.tab-background {
  background-color: #060 !important;
  background-image: none !important;
}
/* Custom color for active tab */
.tab-background[selected="true"] {
  background-color: #393 !important;
}

Thank so much for your help! How would I change the color of the toolbar along with this