Skip to content

fix(vscode): support high-contrast dark theme - #2733

Open
junyu33 wants to merge 1 commit into
MoonshotAI:mainfrom
junyu33:fix/vscode-dark-theme
Open

fix(vscode): support high-contrast dark theme#2733
junyu33 wants to merge 1 commit into
MoonshotAI:mainfrom
junyu33:fix/vscode-dark-theme

Conversation

@junyu33

@junyu33 junyu33 commented Aug 7, 2026

Copy link
Copy Markdown

Fix VS Code dark theme detection for high-contrast dark themes.

The webview previously only treated vscode-dark as dark. VS Code uses vscode-high-contrast for dark high-contrast themes, causing Kimi Code to render with the light theme.

This change also treats vscode-high-contrast as dark while leaving vscode-high-contrast-light unchanged.

@changeset-bot

changeset-bot Bot commented Aug 7, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: cff0010

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 76ad71a63f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread apps/vscode/webview-ui/src/main.tsx Outdated
@junyu33
junyu33 force-pushed the fix/vscode-dark-theme branch from 76ad71a to cff0010 Compare August 7, 2026 15:10
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