===Requirements
[] Add new color-blind friendly scheme to CodeMirror
[] Create a new section in Editing preferences titled 'Accessibility' and add a new preference to turn on/off color scheme
===Specifications
**Highlighting**
[] No background highlight/ background color for any type of content
[] Bolding and underlining remains unchanged
[] Four colors change (outlined in black in the image):
{F35021421}
Headings, symbols, signatures, section names, magic works: `#E4A400`
Templates: `#9C3A00`
HTML tags, references, math: `#56B4E9`
Variables: `#009E73`
**Preference (re-use from test instance)**
{F32406147}
[] Add new section titled: "Accessibility" to the Editing tab of preferences
[] Add a new setting with description: "Use colorblind-friendly scheme for syntax highlighting when editing in wikitext. Note: if using a gadget for highlighting, then this preference will not have an effect."
===Background
- Reported on https://meta.wikimedia.org/wiki/Talk:WMDE_Technical_Wishes/Improved_Color_Scheme_of_Syntax_Highlighting
- Related request {https://phabricator.wikimedia.org/T163533}
- Implementation on the test instance: {https://phabricator.wikimedia.org/T263416}
The more accessible colors introduced in T271895 increase the contrast between the text and the background. For this many colors had to get darker, which means that the contrast between the colors actually decreased. This new scheme is introduced to emphasize contrast between colors, especially for elements that often show up next to each other in wikitext (article and templates). It has been tested for multiple types of color-blindness and is based off of https://jfly.uni-koeln.de/color/#pallet but adapted for our context.
===Example test
Protonopia:
{F35021428}