Comments (5)
@Enter-tainer Yeah, now I remember...VS Code has its default color, but those are not written in themes.
https://github.com/microsoft/vscode/blob/f7f05dee53fb33fe023db2e06e30a89d3094488f/src/vs/platform/theme/common/colorRegistry.ts#L176
I'll need to remember this, when I'm automating pulling themes from upstream.
from shiki.
Also facing this issue
from shiki.
It may result from wrong theme configuration. Since source code in dark mode should be white by default, I've add this rule to dark_vs.json
. And then the braces becomes white.
{
"scope": "source",
"settings": {
"foreground": "#FFFFFF",
}
},
from shiki.
I'm sorry for writing in a closed issue but I'm seeing this with the github-dark
and slack-theme-dark-mode
theme as well. What can I do to help out fixing this?
from shiki.
@vinkla See #100 which will be fixed in next ver.
from shiki.
Related Issues (20)
- Add option to configure tokenizeMaxLineLength and tokenizeTimeLimit in @shikijs/monaco HOT 1
- Template literals in Monaco editor HOT 1
- [Feature Request] pass filename to `filter` option of `@shikijs/vitepress-twoslash` HOT 1
- `@shikijs/rehype`: keep hast element `data` and `properties` HOT 1
- `shiki support tiptap`: can shiki support tiptap editor HOT 1
- `highlight-word-range`: selected which selected words to highlight
- `@shikijs/rehype` backgroundColor instead of background-color in style attribute HOT 2
- 💡 Shiki Editor HOT 2
- Add `package.json` export for package.json of shiki
- [🐞BUG]: `colorReplacements` not working on the `<pre>` container HOT 3
- Misleading documentation in `@shikijs/transformers` HOT 4
- Is it possible to highlight code synchronously without top-level await being available? HOT 1
- How to display HTML content? HOT 4
- LaTeX and TeX highlighted incorrectly in Markdown HOT 4
- SQL comments are omitted by the transformers HOT 1
- Loading All Language Lexers Even When Only One is Needed HOT 2
- `@shikijs/rehype`: support for inline code HOT 2
- How do you add Twoslash highlighting when importing .vue files in a project built with Vitepress? HOT 1
- WASM usage with getHighlighterCore errors with Buffer.isBuffer (this doesn't exist in the browser) HOT 4
- Shiki types are broken on non-DOM projects, again... HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shiki.