From a2ed7d8b148a2faf54cf7276cf2756bd1f3ed058 Mon Sep 17 00:00:00 2001 From: Fabian Jakobs Date: Tue, 13 Dec 2011 18:03:56 +0100 Subject: [PATCH] more theme updates --- lib/ace/theme/eclipse.js | 17 ++++++----------- lib/ace/theme/textmate.js | 1 + tool/tmtheme.js | 2 +- 3 files changed, 8 insertions(+), 12 deletions(-) diff --git a/lib/ace/theme/eclipse.js b/lib/ace/theme/eclipse.js index 89a2cc78..9a41fcca 100644 --- a/lib/ace/theme/eclipse.js +++ b/lib/ace/theme/eclipse.js @@ -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;\ }\ diff --git a/lib/ace/theme/textmate.js b/lib/ace/theme/textmate.js index 3e7a5ef0..845b1041 100644 --- a/lib/ace/theme/textmate.js +++ b/lib/ace/theme/textmate.js @@ -55,6 +55,7 @@ exports.cssText = ".ace-tm .ace_editor {\ width: 1px;\ background: #e8e8e8;\ }\ +\ .ace-tm .ace_fold {\ background-color: #0000A2;\ }\ diff --git a/tool/tmtheme.js b/tool/tmtheme.js index 501aba68..e8040b59 100644 --- a/tool/tmtheme.js +++ b/tool/tmtheme.js @@ -143,7 +143,7 @@ function extractStyles(theme) { colors.isDark = (luma(colors.background) < 0.5) + ""; return colors; -} +}; function luma(color) { if (color[0]=="#")