github-vscode-theme
github-vscode-theme copied to clipboard
[BUG] Dark theme changes color
This issue had been already described, but wrongly closed https://github.com/primer/github-vscode-theme/issues/183
Reproduced for Dart and Flutter code highlighting.
Turning off Semantic highlighting will disable very useful highlighting features, that make code badly readable.
When using your dark theme with dart or flutter in VSCode, it originally looks like this
but then after a minute switches to this:
I can't really reproduce this. 🤔 Here the steps I took:
- Open a new file
- Paste the below sample code
- Safe as
dart.dart
- Toggle the theme's
semanticHighlighting
class _InspectionResultState extends State<InspectionResult> {
@override
Widget build(BuildContext context) {
return Container(
width: double.infinity,
child: Card()
)
}
}
semanticHighlighting: true |
semanticHighlighting: false |
---|---|
![]() |
![]() |
Not noticing a difference. Is there another (dart) extension that needs to be installed?
@simurai 0.1. Install Flutter and Dart VSCode plugins 0.2. Install GitHub theme VSCode plugin 0.3. Select GitHub theme for the VSCode
Hmm.. installed Flutter and Dart, but still can't see a difference:
semanticHighlighting: true |
semanticHighlighting: false |
---|---|
![]() |
![]() |
@simurai
Just tested with the latest 'Visual Studio Code - Insiders' and the latest GitHub theme plugin, Flutter and Dart plugins are the latest as well.
Default VSCode theme:
GitHub theme - recommended - 'GitHub Dark colorblind':
'GitHub Dark colorblind':
Hmm... weird. Still can't reproduce with GitHub Dark Colorblind (Beta)
:

@simurai thanks a lot for the answer. Could I kindly ask you to check it on Windows 11 or Windows 10 ? I reproduced this issue on Windows 11
Hi, I want to share mine as well. Looks like magic/special methods are rendered in a different color. I first thought this comes from "Pylance" extension but disabled it and the problem still exists.
Language: Python OS: Pop!_OS 22.04 LTS x86_64 VSCode: 1.77.0 GitHub Theme: v6.3.4 Theme: "GitHub Dark Dimmed"
Photo from GitHub website:
Photo from VSCode:
And yes I tried turning off semantic highlighting, but no soccess.
"editor.semanticHighlighting.enabled": false,
Thanks.
Any updates are welcome
'GitHub Dark default' theme has the same issue
Facing the same problem with github themes.
I mentioned https://github.com/primer/github-vscode-theme/issues/192 issue already - it was reproduced by many users but closed without any fixes.
Guys, I think I found the solution. In my case, vscode updated to the January 2024 version (1.86). I downgraded to version 1.85.1 and the colors were fixed 🎉