Skip to content

Default Shiki themes seem to be broken #386

@grundmanise

Description

@grundmanise

Bug Description

The default bundled dark Shiki theme seems to have a bug where it adds an inline color, which overwrites the theme color and makes code mostly unreadable. You can reproduce this in the streamdown.ai code block section. I was not able to reproduce the same with github dark theme with plain Shiki: https://textmate-grammars-themes.netlify.app/?theme=github-dark&grammar=javascript

Image

Steps to Reproduce

  1. Navigate to https://streamdown.ai/
  2. Observe code section example

Expected Behavior

Inline styles are not overwriting theme colors

Actual Behavior

Inline color style overwrites theme colors

Code Sample

Streamdown Version

2.2.0

React Version

19.2.4

Node.js Version

24.12.0

Browser(s)

Chrome

Operating System

macOS

Additional Context

Verified in both Safari and Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions