Skip to content

Commit 2f5e593

Browse files
eslteacher902010coseeian
authored andcommitted
Switch CodeMirror theme to githubLight
1 parent 5b8c6e8 commit 2f5e593

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/CodeEmbed/index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { CodeFrame } from "./frame";
88
import { CopyCodeButton } from "../CopyCodeButton";
99
import CircleButton from "../CircleButton";
1010
import { Icon } from "../Icon";
11-
import { githubLightHighContrast } from '@uiw/codemirror-theme-github';
11+
import { githubLight} from '@uiw/codemirror-theme-github';
1212

1313
/*
1414
* A more featured code embed component that uses CodeMirror
@@ -125,7 +125,7 @@ export const CodeEmbed = (props) => {
125125
<div className="code-editor-container relative w-full">
126126
<CodeMirror
127127
value={codeString}
128-
theme= {githubLightHighContrast}
128+
theme= {githubLight}
129129
width="100%"
130130
minimalSetup={{
131131
highlightSpecialChars: false,

0 commit comments

Comments
 (0)