Skip to content

feat: synchronize the themes of pdf editor and vscode#45

Open
u-tung wants to merge 1 commit into
mathematic-inc:mainfrom
u-tung:main
Open

feat: synchronize the themes of pdf editor and vscode#45
u-tung wants to merge 1 commit into
mathematic-inc:mainfrom
u-tung:main

Conversation

@u-tung

@u-tung u-tung commented Jun 6, 2026

Copy link
Copy Markdown

I tried synchronizing the CSS variables of VS Code and pdf.js so that VS Code always matches the PDF editor regardless of which theme is used.

I think this works well for the vast majority of themes (at least for all the themes in my VS Code).

2026-06-06.11.09.59.mov

I also think this better solves the dark mode issue: relying on the system light/dark mode setting doesn't always align with the VS Code theme — you might be using a dark VS Code theme while your system is set to light mode.

Related issue

#15

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.

1 participant