From b1fca409a88d439799d0892065e5a7f742dafd1e Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Fri, 29 Jun 2012 13:22:49 -0500 Subject: [PATCH] Tweak github theme Adds grey gutter and yellow highlight Removes bold keywords which cause cursor issues --- lib/ace/theme/github.css | 33 ++++++++++++++++++--------------- lib/ace/theme/github.js | 2 +- 2 files changed, 19 insertions(+), 16 deletions(-) diff --git a/lib/ace/theme/github.css b/lib/ace/theme/github.css index 31db975c..a501d043 100644 --- a/lib/ace/theme/github.css +++ b/lib/ace/theme/github.css @@ -13,8 +13,13 @@ margin-bottom: 15px; } -.ace-github .ace_keyword { - font-weight: bold; +.ace-github .ace_gutter { + background: #e8e8e8; + color: #AAA; +} + +.ace-github .ace_scroller { + background: #fff; } .ace-github .ace_string { @@ -29,6 +34,14 @@ color: #099; } +.ace-github .ace_constant.ace_buildin { + color: #0086B3; +} + +.ace-github .ace_support.ace_function { + color: #0086B3; +} + .ace-github .ace_comment { color: #998; font-style: italic; @@ -38,15 +51,6 @@ color: #0086B3; } -.ace-github .ace_paren.ace_lparen, -.ace-github .ace_paren.ace_rparen { - font-weight: bold; -} - -.ace-github .ace_constant.ace_language.ace_boolean { - font-weight: bold; -} - .ace-github .ace_string.ace_regexp { color: #009926; font-weight: normal; @@ -56,10 +60,6 @@ color: teal; } -.ace-github .ace_constant.ace_language { - font-weight: bold; -} - .ace-github .ace_text-layer { } @@ -72,6 +72,9 @@ border-bottom: 1px solid black; } +.ace-github .ace_marker-layer .ace_active_line { + background: rgb(255, 255, 204); +} .ace-github .ace_marker-layer .ace_selection { background: rgb(181, 213, 255); } diff --git a/lib/ace/theme/github.js b/lib/ace/theme/github.js index b81731f3..a655724e 100644 --- a/lib/ace/theme/github.js +++ b/lib/ace/theme/github.js @@ -37,7 +37,7 @@ define(function(require, exports, module) { -exports.isDark = true; +exports.isDark = false; exports.cssClass = "ace-github"; exports.cssText = require('ace/requirejs/text!./github.css');