Skip to content

Commit 16df143

Browse files
committed
theme changed
1 parent fe17946 commit 16df143

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

src/components/IDE.js

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { Controlled as CodeMirror } from 'react-codemirror2';
44
import ReactGA from 'react-ga';
55
import 'codemirror/lib/codemirror.css';
66
import 'codemirror/theme/material.css';
7+
import 'codemirror/theme/dracula.css';
78
import 'codemirror/theme/panda-syntax.css';
89
import 'codemirror/mode/htmlmixed/htmlmixed';
910
import 'codemirror/mode/css/css';
@@ -545,7 +546,7 @@ export default function IDE({ docId, modal, toggleModal, cpp, setcpp, java, setj
545546
className="flex-grow text-base"
546547
options={{
547548
mode: 'python',
548-
theme: 'panda-syntax',
549+
theme: 'dracula',
549550
lineNumbers: true,
550551
scrollbarStyle: null,
551552
lineWrapping: true,
@@ -563,7 +564,7 @@ export default function IDE({ docId, modal, toggleModal, cpp, setcpp, java, setj
563564
className="flex-grow text-base"
564565
options={{
565566
mode: 'text/x-csrc',
566-
theme: 'panda-syntax',
567+
theme: 'dracula',
567568
lineNumbers: true,
568569
scrollbarStyle: null,
569570
lineWrapping: true,
@@ -581,7 +582,7 @@ export default function IDE({ docId, modal, toggleModal, cpp, setcpp, java, setj
581582
className="flex-grow text-base"
582583
options={{
583584
mode: 'text/x-java',
584-
theme: 'panda-syntax',
585+
theme: 'dracula',
585586
lineNumbers: true,
586587
scrollbarStyle: null,
587588
lineWrapping: true,
@@ -599,7 +600,7 @@ export default function IDE({ docId, modal, toggleModal, cpp, setcpp, java, setj
599600
className="flex-grow text-base"
600601
options={{
601602
mode: 'text/ecmascript',
602-
theme: 'panda-syntax',
603+
theme: 'dracula',
603604
lineNumbers: true,
604605
scrollbarStyle: null,
605606
lineWrapping: true,
@@ -617,7 +618,7 @@ export default function IDE({ docId, modal, toggleModal, cpp, setcpp, java, setj
617618
className="flex-grow text-base"
618619
options={{
619620
mode: 'text/x-pascal',
620-
theme: 'panda-syntax',
621+
theme: 'dracula',
621622
lineNumbers: true,
622623
scrollbarStyle: null,
623624
lineWrapping: true,
@@ -635,7 +636,7 @@ export default function IDE({ docId, modal, toggleModal, cpp, setcpp, java, setj
635636
className="flex-grow text-base"
636637
options={{
637638
mode: 'text/x-ruby',
638-
theme: 'panda-syntax',
639+
theme: 'dracula',
639640
lineNumbers: true,
640641
scrollbarStyle: null,
641642
lineWrapping: true,
@@ -653,7 +654,7 @@ export default function IDE({ docId, modal, toggleModal, cpp, setcpp, java, setj
653654
className="flex-grow text-base"
654655
options={{
655656
mode: 'text/x-php',
656-
theme: 'panda-syntax',
657+
theme: 'dracula',
657658
lineNumbers: true,
658659
scrollbarStyle: null,
659660
lineWrapping: true,
@@ -671,7 +672,7 @@ export default function IDE({ docId, modal, toggleModal, cpp, setcpp, java, setj
671672
className="flex-grow text-base"
672673
options={{
673674
mode: 'text/x-perl',
674-
theme: 'panda-syntax',
675+
theme: 'dracula',
675676
lineNumbers: true,
676677
scrollbarStyle: null,
677678
lineWrapping: true,

0 commit comments

Comments
 (0)