You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Issue with Chroma's minifier and dark/light re the GitHub styleΒ #15161
OK, I have a workaround in a PR. My previous workaround work related to this hasn't exactly been stellar ... I'll keep this open to track the upstream PR in alecthomas/chroma#1336 -- if that gets merged we can replace our hack with WithAllClasses(true).
Activity
bep commentedon Aug 3, 2026
Of course, this problems goes away if you always use a mode class and then do
To do the swiitching ...
bep commentedon Aug 4, 2026
There's an WithAllClasses option that should work ...
bep commentedon Aug 4, 2026
OK, I have a workaround in a PR. My previous workaround work related to this hasn't exactly been stellar ... I'll keep this open to track the upstream PR in alecthomas/chroma#1336 -- if that gets merged we can replace our hack with
WithAllClasses(true).markup/highlight: Re-emit token colors dropped by Chroma's minifier