Template:Syntax highlight: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(this was right) |
||
Line 1: | Line 1: | ||
{{ | {{TODO|calculate the results of the current colors after <code>filter: invert(1) hue-rotate(180deg)</code> and change these colors to them. It's what an official wikipedia extension does for dark mode, and will contrast against a dark background better. VDC doesn't allow the <code>filter</code> property.}} | ||
{{doc}}[[Category:Formatting templates]] | {{doc}}[[Category:Formatting templates]] | ||
<onlyinclude><includeonly><!-- | <onlyinclude><includeonly><!-- | ||
Line 6: | Line 6: | ||
|comment=color: #408080;font-style: italic; | |comment=color: #408080;font-style: italic; | ||
|control=color: #008000;font-weight: bold; | |control=color: #008000;font-weight: bold; | ||
|function=color: # | |function=color: #0000FF; | ||
|label=color: #A0A000; | |label=color: #A0A000; | ||
|macro=color: #BC7A00; | |macro=color: #BC7A00; |
Revision as of 10:55, 31 July 2023
Todo: calculate the results of the current colors after
filter: invert(1) hue-rotate(180deg)
and change these colors to them. It's what an official wikipedia extension does for dark mode, and will contrast against a dark background better. VDC doesn't allow the filter
property.The above documentation is transcluded from Template:Syntax highlight/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.