8 lines
224 B
JavaScript
8 lines
224 B
JavaScript
var ace = require('brace');
|
|
require('brace/mode/css');
|
|
require('brace/theme/solarized_light');
|
|
|
|
var editor = ace.edit('css-editor');
|
|
editor.setTheme('ace/theme/solarized_light');
|
|
editor.getSession().setMode('ace/mode/css');
|