Files
pentagi/frontend/src/styles
Sergey KozyrenkoandClaude Opus 4.8 7912ebab1e feat(markdown-editor): purpose-built highlight tokens with WCAG-AA contrast
Add feature-scoped --editor-* tokens (link/variable/tag/inline-code) instead of
reusing --primary, which is a fill color that fails WCAG AA as text on the dark
surface. Four distinct hues so adjacent tokens don't blur (blue link, violet
variable, teal tag, red inline code on a visible chip); every token clears
4.5:1 in both themes. Drop the Tailwind Typography literal `backticks` around
inline code, and mirror the editor's inline-code styling in the read-only .prose
viewer so a document reads the same whether it is edited or viewed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-07 05:27:49 +07:00
..