Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

"Standard" CSS syntax coloring?

  • No replies
  • 1 has this problem
  • 1 view
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?