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

Commit eef6bbe

Browse files
HomelessDinosaurdavemooreuws
authored andcommitted
use css variables to change code on light mode
1 parent dcaa118 commit eef6bbe

File tree

4 files changed

+793
-713
lines changed

4 files changed

+793
-713
lines changed

src/components/code/Pre.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ const Pre: React.FC<Props> = ({
3333
const { title } = meta(highlighted)
3434

3535
let handlers = [callout, fold, collapse, collapseTrigger, collapseContent]
36-
// TODO: Fix transitions, they currently break colours in the code when switching languages
3736
if (enableTransitions) {
3837
handlers = [...handlers, tokenTransitions]
3938
}

0 commit comments

Comments
 (0)