Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

Learn More

"Standard" CSS syntax coloring?

  • Aucune réponse
  • 1 a ce problème
  • 2 vues
more options

Is there a standard anywhere for syntax highlighting colors - e.g., CSS? Now, it'd be up to CSS3 (at least - I guess). I read a few articles about people updating their CSS syntax colors to "new standards," but I've not found reference to such standards.

The CSS colors in devtools dark theme are quite different from other text editors. Even so, I need to brighten some up - for eyesight reasons. Some devtools CSS highlight colors in dark theme must have been picked by "nocturnal animals" only, that see in the dark. :) Select text color is almost same as dark theme BG.

It's not a big problem changing them, but I'd try to stick to standards, if they exist.

I assume (somewhere) Mozilla has an index of colors they used for which parts in devtools for CSS?

Is there a standard anywhere for syntax highlighting colors - e.g., CSS? Now, it'd be up to CSS3 (at least - I guess). I read a few articles about people updating their CSS syntax colors to "new standards," but I've not found reference to such standards. The CSS colors in devtools dark theme are quite different from other text editors. Even so, I need to brighten some up - for eyesight reasons. Some devtools CSS highlight colors in dark theme must have been picked by "nocturnal animals" only, that see in the dark. :) Select text color is almost same as dark theme BG. It's not a big problem changing them, but I'd try to stick to standards, if they exist. I assume (somewhere) Mozilla has an index of colors they used for which parts in devtools for CSS?