Description
The code syntax highlighting in the hero section mock editor has insufficient contrast in dark mode. The keyword elements (like def, with, pass) are colored in a dark shade that blends into the editor container. We should update the CSS syntax classes (hvm-kw, hvm-fn, hvm-op) to use brighter, high-contrast colors.
Current Behavior
Syntax highlighting keywords are difficult to read in the code visualizer.
Proposed Solution
- Locate the syntax color definitions for class
hvm-kw, hvm-fn, and hvm-op in the styles.
- Update the color variables to high-contrast colors (e.g., bright pink/cyan/yellow) that satisfy WCAG 2.1 AA text contrast rules (ratio >= 4.5:1).
Implementation Guidance
- Modify style variables or color rules in
index.html style block or static CSS.
Acceptance Criteria
Contributor Guidelines
Interested in working on this issue?
- Comment
/assign to request assignment.
- Wait until the issue shows you as the assignee.
- Create a new branch for your changes.
- Submit a Pull Request referencing this issue.
Please do not begin working on an issue already assigned to another contributor unless a maintainer confirms it is available.
Description
The code syntax highlighting in the hero section mock editor has insufficient contrast in dark mode. The keyword elements (like
def,with,pass) are colored in a dark shade that blends into the editor container. We should update the CSS syntax classes (hvm-kw,hvm-fn,hvm-op) to use brighter, high-contrast colors.Current Behavior
Syntax highlighting keywords are difficult to read in the code visualizer.
Proposed Solution
hvm-kw,hvm-fn, andhvm-opin the styles.Implementation Guidance
index.htmlstyle block or static CSS.Acceptance Criteria
Contributor Guidelines
Interested in working on this issue?
/assignto request assignment.Please do not begin working on an issue already assigned to another contributor unless a maintainer confirms it is available.