
84a66d82d36d554c1844acff11d1a62f10c174ed added support for light and dark themes, but dark themes weren't enabled, as diff styles have to be adjusted to correspond with dark colors. 101a8c4b65ebee4d54afddad10db05f5b9698ba9 reverted the preparation for dark themes support. This change enables support for subset of dark themes and switch dynamicaly the diff styles to dark colors, when dark theme was selected. Change-Id: Ic220baf8f19366c04520b61e893a0d11912805ef
43 lines
805 B
Plaintext
43 lines
805 B
Plaintext
CM3_CSS = [
|
|
'lib/codemirror.css',
|
|
'addon/dialog/dialog.css',
|
|
]
|
|
|
|
CM3_THEMES = [
|
|
'theme/eclipse.css',
|
|
'theme/elegant.css',
|
|
'theme/midnight.css',
|
|
'theme/neat.css',
|
|
'theme/night.css',
|
|
'theme/twilight.css',
|
|
]
|
|
|
|
CM3_JS = [
|
|
'lib/codemirror.js',
|
|
'keymap/vim.js',
|
|
'addon/dialog/dialog.js',
|
|
'addon/search/searchcursor.js',
|
|
'addon/search/search.js',
|
|
'addon/selection/mark-selection.js',
|
|
'addon/edit/trailingspace.js',
|
|
]
|
|
|
|
CM3_MODES = [
|
|
'clike/clike.js',
|
|
'clojure/clojure.js',
|
|
'commonlisp/commonlisp.js',
|
|
'css/css.js',
|
|
'go/go.js',
|
|
'groovy/groovy.js',
|
|
'htmlmixed/htmlmixed.js',
|
|
'javascript/javascript.js',
|
|
'perl/perl.js',
|
|
'properties/properties.js',
|
|
'python/python.js',
|
|
'ruby/ruby.js',
|
|
'shell/shell.js',
|
|
'sql/sql.js',
|
|
'velocity/velocity.js',
|
|
'xml/xml.js',
|
|
]
|