Colors don’t match VS Code
See original GitHub issueConsider the following:
const shiki = require('shiki')
shiki.getHighlighter({
theme: 'light_plus'
}).then(highlighter => {
console.log(highlighter.codeToHtml(`return 'shiki';`, 'js'))
})
This is the result I’m getting:
<pre class="shiki" style="background-color: #fff"><code><span style="color: #0000FF">return</span><span style="color: #000000"> </span><span style="color: #A31515">'shiki'</span><span style="color: #000000">;</span></code></pre>
But this is what I see in VS Code using the same theme:
(Note the color of the return
keyword.)
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Some colors don't match with the original VSCode theme #72
Hi, thanks for the colorscheme, it's my favorite and the one I have been using for the past couple of months.
Read more >When Your iOS Colors Don't Match in Storyboards vs Code
Set in storyboard file with color profile of Generic RGB. Views One and Three match, but the others are not the same. By...
Read more >Bracket pair colorization 10000x faster - Visual Studio Code
When dealing with deeply nested brackets in Visual Studio Code, it can be hard to figure out which brackets match and which do...
Read more >How to turn off "matching" highlighting in VS Code?
Go to Preferences -> Settings and there search for Highlight. A lot of option would appear, but the ones useful would be under...
Read more >Bring VS Code themes to Visual Studio 2022!
The Theme Converter tool converts color tokens from a VS Code theme and ... and can match your Visual Studio and Visual Studio...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Awesome. This is perfect now. One more time: Thank you very much for this project!
Soon, doing the release preps.