Skip to content

Gloom theme: use the text colour for headings - #84

Merged
chee merged 2 commits into
mainfrom
copilot/fix-purple-headings-contrast
Oct 8, 2026
Merged

chee merged 2 commits into
mainfrom
copilot/fix-purple-headings-contrast

Conversation

Copilot AI commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

In Gloom, the default dark theme, headings in the markdown editor were Dracula purple (#bd93f9) and hard to read against the dark background. This change makes them the same colour as the body text.

- --syntax-heading: #bd93f9;
+ --syntax-heading: var(--text-editor-line);
  • theming/src/gloom.css: --syntax-heading now points at --text-editor-line (#e0e1e4 in Gloom). That matches the default in theme.css, so deleting the override would do the same thing; I kept it explicit. Headings stay bold through --syntax-weight-heading.
  • Not changed: the default light theme, Lychee, still has dark-blue headings (#033b65). file/src/dracula.ts also has purple headings, but nothing imports it, so I didn't change it.

Copilot AI assigned Copilot and chee Oct 7, 2026
Copilot AI linked an issue Oct 7, 2026 that may be closed by this pull request
Co-authored-by: chee <178266+chee@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix bad contrast for default markdown theme in dark mode Gloom theme: use the text colour for headings Oct 7, 2026
Copilot AI requested a review from chee October 7, 2026 19:41
@chee
chee marked this pull request as ready for review October 8, 2026 00:18
@patchcrow

patchcrow commented Oct 8, 2026 •

Copy link
Copy Markdown
Collaborator

✅ Patchwork glance ready

https://patchwork-preview-84--patchwork-base.netlify.app

Patchwork from inkandswitch/patchwork.inkandswitch.com, packages from this PR at 2aa4d8b.

build-info.json

@chee
chee merged commit 89a6cb0 into main Oct 8, 2026
6 of 7 checks passed
@chee
chee deleted the copilot/fix-purple-headings-contrast branch October 8, 2026 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

default markdown theme has bad contrast

3 participants