extend theme support

add tool to import TextMate Themes
This commit is contained in:
Fabian Jakobs 2010-10-25 13:55:39 +02:00
commit 242cfb76eb
16 changed files with 2186 additions and 41 deletions

12
tool/theme.tmpl.js Normal file
View file

@ -0,0 +1,12 @@
require.def("ace/theme/%name%",
["ace/lib/dom"], function(dom) {
var cssText = %css%;
// import CSS once
dom.importCssString(cssText);
return {
cssClass: "%cssClass%"
};
})