A dark Visual Studio Code color theme designed from explicit legibility and accessibility constraints rather than aesthetic preference alone.
- Core syntax colors have WCAG contrast ratios from 7.53:1 to 10.34:1 against the editor background.
- Ordinary foreground text is 11.61:1.
- Comments are deliberately subordinate but remain 5.77:1, above the WCAG 4.5:1 normal-text threshold.
- The five routine syntax accents were optimized for separation under simulated protanopia, deuteranopia, and tritanopia.
- Red/coral is reserved for errors, invalid tokens, and deletions rather than routine code.
- Control-flow keywords use bold and comments use italics, so important distinctions do not rely on hue alone.
- Semantic highlighting is enabled and includes mappings for C# namespaces, types, methods, properties, constants, parameters, and attributes.
The accompanying RESEARCH.md report explains the evidence, assumptions, calculations, theme comparison, and limitations. AUDIT.md contains the numerical checks.
From a terminal:
code --install-extension acuity-dark-research-0.1.0.vsixOr in VS Code:
- Open Extensions.
- Select the
...menu. - Select Install from VSIX....
- Choose
acuity-dark-research-0.1.0.vsix. - Open Preferences: Color Theme with
Ctrl/Cmd+K, thenCtrl/Cmd+T. - Select Acuity Dark Research.
Open samples/ThemePreview.cs to exercise the C# mappings.
{
"editor.semanticHighlighting.enabled": "configuredByTheme",
"editor.bracketPairColorization.enabled": true,
"editor.guides.bracketPairs": "active"
}The script uses only the Python standard library:
python scripts/audit_palette.pyThis is an evidence-informed candidate, not proof of universal superiority. No published study compares every VS Code theme in a controlled programming trial. The theme is intended to outperform common dark themes on measurable prerequisites—contrast, restrained salience, readable comments, semantic redundancy, and simulated color-vision robustness—then be tested in actual development work.