File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import Tags from 'react-tagging-input';
5
5
6
6
import brace from 'brace' ;
7
7
import 'brace/ext/modelist' ;
8
+ import 'brace/theme/textmate' ;
8
9
9
10
import Title from './common/Title' ;
10
11
import ListBoxWithSearch from './ListBoxWithSearch' ;
@@ -107,6 +108,7 @@ class NewSnippet extends React.Component {
107
108
width = "100%"
108
109
height = "100%"
109
110
focus
111
+ theme = "textmate"
110
112
setOptions = { {
111
113
showFoldWidgets : false ,
112
114
useWorker : false ,
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ import React from 'react';
2
2
import { connect } from 'react-redux' ;
3
3
import AceEditor from 'react-ace' ;
4
4
5
+ import 'brace/theme/textmate' ;
6
+
5
7
import Title from './common/Title' ;
6
8
import Spinner from './common/Spinner' ;
7
9
import * as actions from '../actions' ;
@@ -76,6 +78,7 @@ class Snippet extends React.Component {
76
78
mode = { snippet . get ( 'syntax' ) }
77
79
width = "100%"
78
80
height = "100%"
81
+ theme = "textmate"
79
82
setOptions = { {
80
83
readOnly : true ,
81
84
highlightActiveLine : false ,
You can’t perform that action at this time.
0 commit comments