Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Learn More

Switching Source Code Syntax Color Theme

  • Žiadne odpovede
  • 1 má tento problém
  • 2 zobrazenia
more options

A recent update (I am at v 98.0.1) introduced dark theme for view source code. This coincides with whether the installed color theme is considered a Light or Dark theme. I use dark theme for FF, but prefer the light-themed source code because the syntax highlighting is more detailed and it’s easier to read.

I couldn’t find anything on this subject, so I experimented on Firefox Color. It appears that the "Toolbar Color" determines whether the browsers is considered to be a Light or Dark theme. Hex #888888 is the cutoff point in straight grayscale. I am not sure how it is determined for color shades.

I searched in about:config and couldn’t immediately find any settings related to source code color mode. For now, my workaround is to set my toolbar color to #888 while keeping everything else dark themed. My browser is considered to be in Light Mode.

Does anyone know of a setting or a way to use light-theme syntax coloring while keeping the browser in Dark Mode? Short of using an external editor (which I would like to avoid for efficiency sake)?

A recent update (I am at v 98.0.1) introduced dark theme for ''view source code''. This coincides with whether the installed color theme is considered a Light or Dark theme. I use dark theme for FF, but prefer the light-themed source code because the syntax highlighting is more detailed and it’s easier to read. I couldn’t find anything on this subject, so I experimented on Firefox Color. It appears that the "Toolbar Color" determines whether the browsers is considered to be a Light or Dark theme. Hex #888888 is the cutoff point in straight grayscale. I am not sure how it is determined for color shades. I searched in about:config and couldn’t immediately find any settings related to source code color mode. For now, my workaround is to set my toolbar color to #888 while keeping everything else dark themed. My browser is considered to be in Light Mode. Does anyone know of a setting or a way to use light-theme syntax coloring while keeping the browser in Dark Mode? Short of using an external editor (which I would like to avoid for efficiency sake)?