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

"Standard" CSS syntax coloring?

  • Žiadne odpovede
  • 1 má tento problém
  • 2 zobrazenia
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?