Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 09f5462

Browse files
use css variables to change code on light mode
1 parent f4c1bf2 commit 09f5462

File tree

4 files changed

+233
-6314
lines changed

4 files changed

+233
-6314
lines changed

src/components/code/Pre.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const Pre: React.FC<Props> = ({
3434
const fileName = meta(highlighted).file
3535

3636
let handlers = [callout, fold, collapse, collapseTrigger, collapseContent]
37-
// TODO: Fix transitions, they currently break colours in the code when switching languages
37+
3838
if (enableTransitions) {
3939
handlers = [...handlers, tokenTransitions]
4040
}

0 commit comments

Comments
 (0)