X
Tryk her for at gå til webstedets mobilversion.

Supportforum

"Standard" CSS syntax coloring?

  • Ingen svar
  • 1 har dette problem
  • 2 visninger
Skrevet

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?
Citér

Yderligere systemdetaljer

Program

  • User Agent: Mozilla/5.0 (Windows NT 6.1; rv:69) Gecko/20100101 Firefox/69

Yderligere information

Luk

Du skal logge ind på din konto for at svare på et indlæg. Start et nyt spørgsmål, hvis du ikke har en konto endnu.