Skip to content

Commit fd57c38

Browse files
eslteacher902010ksen0
authored andcommitted
Switch CodeMirror theme to githubLight
1 parent beeca74 commit fd57c38

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
@@ -129,7 +129,7 @@ export const CodeEmbed = (props) => {
129129
<div className="code-editor-container relative w-full">
130130
<CodeMirror
131131
value={codeString}
132-
theme= {githubLightHighContrast}
132+
theme= {githubLight}
133133
width="100%"
134134
minimalSetup={{
135135
highlightSpecialChars: false,

0 commit comments

Comments
 (0)