Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Learn More

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

Switching Source Code Syntax Color Theme

  • Nessuna risposta
  • 1 ha questo problema
  • 16 visualizzazioni
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)?