From fa79d72d7ffe361fe0306bcae558642d843ea3cb Mon Sep 17 00:00:00 2001 From: nightwing Date: Sat, 30 Jun 2012 11:37:26 +0400 Subject: [PATCH] keep bold keywords for static highlighter --- lib/ace/theme/github.css | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/lib/ace/theme/github.css b/lib/ace/theme/github.css index a501d043..5621cbd5 100644 --- a/lib/ace/theme/github.css +++ b/lib/ace/theme/github.css @@ -22,6 +22,10 @@ background: #fff; } +.ace-github .ace_keyword { + font-weight: bold; +} + .ace-github .ace_string { color: #D14; } @@ -51,6 +55,14 @@ color: #0086B3; } +.ace-github .ace_paren { + font-weight: bold; +} + +.ace-github .ace_boolean { + font-weight: bold; +} + .ace-github .ace_string.ace_regexp { color: #009926; font-weight: normal; @@ -60,6 +72,10 @@ color: teal; } +.ace-github .ace_constant.ace_language { + font-weight: bold; +} + .ace-github .ace_text-layer { } @@ -81,4 +97,9 @@ .ace-github.multiselect .ace_selection.start { box-shadow: 0 0 3px 0px white; border-radius: 2px; +} +/* bold keywords cause cursor issues for some fonts */ +/* this disables bold style for editor and keeps for static highlighter */ +.ace-github.ace_editor .ace_line > span { + font-weight: normal !important; } \ No newline at end of file