more theme updates

This commit is contained in:
Fabian Jakobs 2011-12-13 18:03:56 +01:00
commit a2ed7d8b14
3 changed files with 8 additions and 12 deletions

View file

@ -46,25 +46,20 @@ exports.cssText = ".ace-eclipse .ace_editor {\
}\
\
.ace-eclipse .ace_gutter {\
width: 50px;\
background: rgb(227, 227, 227);\
border-right: 1px solid rgb(159, 159, 159); \
border-right: 1px solid rgb(159, 159, 159);\
color: rgb(136, 136, 136);\
}\
\
.ace-eclipse .ace_gutter-layer {\
width: 100%;\
text-align: right;\
}\
\
.ace-eclipse .ace_gutter-layer .ace_gutter-cell {\
padding-right: 6px;\
}\
\
.ace-eclipse .ace_print_margin {\
width: 1px;\
background: #b1b4ba;\
}\
\
.ace-eclipse .ace_fold {\
background-color: rgb(60, 76, 114);\
}\
\
.ace-eclipse .ace_text-layer {\
cursor: text;\
}\

View file

@ -55,6 +55,7 @@ exports.cssText = ".ace-tm .ace_editor {\
width: 1px;\
background: #e8e8e8;\
}\
\
.ace-tm .ace_fold {\
background-color: #0000A2;\
}\

View file

@ -143,7 +143,7 @@ function extractStyles(theme) {
colors.isDark = (luma(colors.background) < 0.5) + "";
return colors;
}
};
function luma(color) {
if (color[0]=="#")