diff --git a/lib/ace/css/editor.css b/lib/ace/css/editor.css index 83bac531..4f32b905 100644 --- a/lib/ace/css/editor.css +++ b/lib/ace/css/editor.css @@ -4,6 +4,7 @@ font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace; font-size: 12px; line-height: normal; + color: black; } .ace_scroller { @@ -11,6 +12,7 @@ overflow: hidden; top: 0; bottom: 0; + background-color: inherit; } .ace_content { @@ -135,7 +137,6 @@ } .ace_text-layer { - color: black; font: inherit !important; } diff --git a/lib/ace/theme/ambiance.css b/lib/ace/theme/ambiance.css index 524ad03a..c2ac69cf 100644 --- a/lib/ace/theme/ambiance.css +++ b/lib/ace/theme/ambiance.css @@ -51,15 +51,15 @@ } .ace-ambiance .ace_scroller { - background-color: #202020; -webkit-box-shadow: inset 0 0 10px black; -moz-box-shadow: inset 0 0 10px black; -o-box-shadow: inset 0 0 10px black; box-shadow: inset 0 0 10px black; } -.ace-ambiance .ace_text-layer { +.ace-ambiance { color: #E6E1DC; + background-color: #202020; } .ace-ambiance .ace_cursor { diff --git a/lib/ace/theme/chaos.css b/lib/ace/theme/chaos.css index e45c95c7..f57e59b3 100644 --- a/lib/ace/theme/chaos.css +++ b/lib/ace/theme/chaos.css @@ -23,13 +23,11 @@ right: 0; background: #1D1D1D; } -.ace-chaos .ace_scroller { +.ace-chaos { background-color: #161616; -} -.ace-chaos .ace_text-layer { - cursor: text; color: #E6E1DC; } + .ace-chaos .ace_cursor { border-left: 2px solid #FFFFFF; } diff --git a/lib/ace/theme/chrome.css b/lib/ace/theme/chrome.css index 773c213c..e2bcb11d 100644 --- a/lib/ace/theme/chrome.css +++ b/lib/ace/theme/chrome.css @@ -9,7 +9,7 @@ background: #e8e8e8; } -.ace-chrome .ace_scroller { +.ace-chrome { background-color: #FFFFFF; } diff --git a/lib/ace/theme/clouds.css b/lib/ace/theme/clouds.css index 4ff7e7c2..b89cc7c3 100644 --- a/lib/ace/theme/clouds.css +++ b/lib/ace/theme/clouds.css @@ -8,11 +8,8 @@ background: #e8e8e8 } -.ace-clouds .ace_scroller { - background-color: #FFFFFF -} - -.ace-clouds .ace_text-layer { +.ace-clouds { + background-color: #FFFFFF; color: #000000 } diff --git a/lib/ace/theme/clouds.js b/lib/ace/theme/clouds.js index f9b7c6bf..aa36edcf 100644 --- a/lib/ace/theme/clouds.js +++ b/lib/ace/theme/clouds.js @@ -3,7 +3,7 @@ * * Copyright (c) 2010, Ajax.org B.V. * All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright diff --git a/lib/ace/theme/clouds_midnight.css b/lib/ace/theme/clouds_midnight.css index 6bc319d1..da5d5b12 100644 --- a/lib/ace/theme/clouds_midnight.css +++ b/lib/ace/theme/clouds_midnight.css @@ -8,11 +8,8 @@ background: #232323 } -.ace-clouds-midnight .ace_scroller { - background-color: #191919 -} - -.ace-clouds-midnight .ace_text-layer { +.ace-clouds-midnight{ + background-color: #191919; color: #929292 } @@ -121,5 +118,5 @@ } .ace-clouds-midnight .ace_indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWOQlJT8z1BeXv4fAA2KA6+h9Z+2AAAAAElFTkSuQmCC) right repeat-y + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHB3d/8PAAOIAdULw8qMAAAAAElFTkSuQmCC) right repeat-y; } \ No newline at end of file diff --git a/lib/ace/theme/clouds_midnight.js b/lib/ace/theme/clouds_midnight.js index a7b76d65..e704d57c 100644 --- a/lib/ace/theme/clouds_midnight.js +++ b/lib/ace/theme/clouds_midnight.js @@ -3,7 +3,7 @@ * * Copyright (c) 2010, Ajax.org B.V. * All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright diff --git a/lib/ace/theme/cobalt.css b/lib/ace/theme/cobalt.css index 3717ba64..4f18d9a8 100644 --- a/lib/ace/theme/cobalt.css +++ b/lib/ace/theme/cobalt.css @@ -8,11 +8,8 @@ background: #011e3a } -.ace-cobalt .ace_scroller { - background-color: #002240 -} - -.ace-cobalt .ace_text-layer { +.ace-cobalt { + background-color: #002240; color: #FFFFFF } @@ -140,5 +137,5 @@ } .ace-cobalt .ace_indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgUHL4zzBz5sz/AA80BCzv+WXhAAAAAElFTkSuQmCC) right repeat-y + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHCLSvkPAAP3AgSDTRd4AAAAAElFTkSuQmCC) right repeat-y; } \ No newline at end of file diff --git a/lib/ace/theme/cobalt.js b/lib/ace/theme/cobalt.js index 6e2f3d0a..a466dd6c 100644 --- a/lib/ace/theme/cobalt.js +++ b/lib/ace/theme/cobalt.js @@ -3,7 +3,7 @@ * * Copyright (c) 2010, Ajax.org B.V. * All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright diff --git a/lib/ace/theme/crimson_editor.css b/lib/ace/theme/crimson_editor.css index 2d4a0eef..f8e9f653 100644 --- a/lib/ace/theme/crimson_editor.css +++ b/lib/ace/theme/crimson_editor.css @@ -14,11 +14,8 @@ background: #e8e8e8; } -.ace-crimson-editor .ace_scroller { +.ace-crimson-editor { background-color: #FFFFFF; -} - -.ace-crimson-editor .ace_text-layer { color: rgb(64, 64, 64); } diff --git a/lib/ace/theme/dawn.css b/lib/ace/theme/dawn.css index ca544fea..2857035d 100644 --- a/lib/ace/theme/dawn.css +++ b/lib/ace/theme/dawn.css @@ -8,11 +8,8 @@ background: #e8e8e8 } -.ace-dawn .ace_scroller { - background-color: #F9F9F9 -} - -.ace-dawn .ace_text-layer { +.ace-dawn { + background-color: #F9F9F9; color: #080808 } @@ -133,5 +130,5 @@ } .ace-dawn .ace_indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4+fPnf4ZVq1b9BwAkVQboFQv98gAAAABJRU5ErkJggg==) right repeat-y + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYLh/5+x/AAizA4hxNNsZAAAAAElFTkSuQmCC) right repeat-y; } \ No newline at end of file diff --git a/lib/ace/theme/dawn.js b/lib/ace/theme/dawn.js index f31f00b8..2498aa3b 100644 --- a/lib/ace/theme/dawn.js +++ b/lib/ace/theme/dawn.js @@ -3,7 +3,7 @@ * * Copyright (c) 2010, Ajax.org B.V. * All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright diff --git a/lib/ace/theme/dreamweaver.css b/lib/ace/theme/dreamweaver.css index 30f77cbf..a0b42806 100644 --- a/lib/ace/theme/dreamweaver.css +++ b/lib/ace/theme/dreamweaver.css @@ -8,7 +8,7 @@ background: #e8e8e8; } -.ace-dreamweaver .ace_scroller { +.ace-dreamweaver { background-color: #FFFFFF; } @@ -16,9 +16,6 @@ background-color: #757AD8; } -.ace-dreamweaver .ace_text-layer { -} - .ace-dreamweaver .ace_cursor { border-left: 2px solid black; } diff --git a/lib/ace/theme/eclipse.css b/lib/ace/theme/eclipse.css index 9a423e8d..b1c84a74 100644 --- a/lib/ace/theme/eclipse.css +++ b/lib/ace/theme/eclipse.css @@ -9,7 +9,7 @@ background: #ebebeb; } -.ace-eclipse .ace_scroller { +.ace-eclipse { background-color: #FFFFFF; } @@ -17,9 +17,6 @@ background-color: rgb(60, 76, 114); } -.ace-eclipse .ace_text-layer { -} - .ace-eclipse .ace_cursor { border-left: 2px solid black; } diff --git a/lib/ace/theme/github.css b/lib/ace/theme/github.css index 5b059727..318824da 100644 --- a/lib/ace/theme/github.css +++ b/lib/ace/theme/github.css @@ -5,8 +5,9 @@ color: #AAA; } -.ace-github .ace_scroller { +.ace-github { background: #fff; + color: #000; } .ace-github .ace_keyword { @@ -63,9 +64,6 @@ font-weight: bold; } -.ace-github .ace_text-layer { -} - .ace-github .ace_cursor { border-left: 2px solid black; } diff --git a/lib/ace/theme/idle_fingers.css b/lib/ace/theme/idle_fingers.css index 43eff698..f3e0345c 100644 --- a/lib/ace/theme/idle_fingers.css +++ b/lib/ace/theme/idle_fingers.css @@ -8,8 +8,9 @@ background: #3b3b3b } -.ace-idle-fingers .ace_scroller { - background-color: #323232 +.ace-idle-fingers { + background-color: #323232; + color: #FFFFFF } .ace-idle-fingers .ace_text-layer { @@ -121,5 +122,5 @@ } .ace-idle-fingers .ace_indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMwMjL6zzBz5sz/ABEUBGCqhK6UAAAAAElFTkSuQmCC) right repeat-y + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMwMjLyZYiPj/8PAAreAwAI1+g0AAAAAElFTkSuQmCC) right repeat-y; } \ No newline at end of file diff --git a/lib/ace/theme/idle_fingers.js b/lib/ace/theme/idle_fingers.js index 5da497f0..096a2314 100644 --- a/lib/ace/theme/idle_fingers.js +++ b/lib/ace/theme/idle_fingers.js @@ -3,7 +3,7 @@ * * Copyright (c) 2010, Ajax.org B.V. * All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright diff --git a/lib/ace/theme/kr_theme.css b/lib/ace/theme/kr_theme.css index 0f42c384..899c4fba 100644 --- a/lib/ace/theme/kr_theme.css +++ b/lib/ace/theme/kr_theme.css @@ -8,11 +8,8 @@ background: #1c1917 } -.ace-kr-theme .ace_scroller { - background-color: #0B0A09 -} - -.ace-kr-theme .ace_text-layer { +.ace-kr-theme { + background-color: #0B0A09; color: #FCFFE0 } @@ -131,5 +128,5 @@ } .ace-kr-theme .ace_indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPg5uL8zzBz5sz/AA1WA+hUYIqjAAAAAElFTkSuQmCC) right repeat-y + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYFBXV/8PAAJoAXX4kT2EAAAAAElFTkSuQmCC) right repeat-y; } \ No newline at end of file diff --git a/lib/ace/theme/kr_theme.js b/lib/ace/theme/kr_theme.js index 2018a962..fb6a5abe 100644 --- a/lib/ace/theme/kr_theme.js +++ b/lib/ace/theme/kr_theme.js @@ -3,7 +3,7 @@ * * Copyright (c) 2010, Ajax.org B.V. * All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright diff --git a/lib/ace/theme/merbivore.css b/lib/ace/theme/merbivore.css index 69e81376..0f9c89a7 100644 --- a/lib/ace/theme/merbivore.css +++ b/lib/ace/theme/merbivore.css @@ -8,11 +8,8 @@ background: #555651 } -.ace-merbivore .ace_scroller { - background-color: #161616 -} - -.ace-merbivore .ace_text-layer { +.ace-merbivore { + background-color: #161616; color: #E6E1DC } @@ -118,5 +115,5 @@ } .ace-merbivore .ace_indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQExP7zzBz5sz/AA50BAyDznYhAAAAAElFTkSuQmCC) right repeat-y + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQFxf3ZXB1df0PAAdsAmERTkEHAAAAAElFTkSuQmCC) right repeat-y; } \ No newline at end of file diff --git a/lib/ace/theme/merbivore.js b/lib/ace/theme/merbivore.js index 699fb2eb..9b29db1c 100644 --- a/lib/ace/theme/merbivore.js +++ b/lib/ace/theme/merbivore.js @@ -3,7 +3,7 @@ * * Copyright (c) 2010, Ajax.org B.V. * All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright diff --git a/lib/ace/theme/merbivore_soft.css b/lib/ace/theme/merbivore_soft.css index ddd417f8..038273cb 100644 --- a/lib/ace/theme/merbivore_soft.css +++ b/lib/ace/theme/merbivore_soft.css @@ -8,11 +8,8 @@ background: #262424 } -.ace-merbivore-soft .ace_scroller { - background-color: #1C1C1C -} - -.ace-merbivore-soft .ace_text-layer { +.ace-merbivore-soft { + background-color: #1C1C1C; color: #E6E1DC } @@ -119,5 +116,5 @@ } .ace-merbivore-soft .ace_indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWOQkZH5zzBz5sz/AA8EBB6crd1rAAAAAElFTkSuQmCC) right repeat-y + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWOQkpLyZfD09PwPAAfYAnaStpHRAAAAAElFTkSuQmCC) right repeat-y; } \ No newline at end of file diff --git a/lib/ace/theme/merbivore_soft.js b/lib/ace/theme/merbivore_soft.js index 873a6023..c0ffd910 100644 --- a/lib/ace/theme/merbivore_soft.js +++ b/lib/ace/theme/merbivore_soft.js @@ -3,7 +3,7 @@ * * Copyright (c) 2010, Ajax.org B.V. * All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright diff --git a/lib/ace/theme/mono_industrial.css b/lib/ace/theme/mono_industrial.css index f9a318fc..83e8bd7b 100644 --- a/lib/ace/theme/mono_industrial.css +++ b/lib/ace/theme/mono_industrial.css @@ -8,11 +8,8 @@ background: #555651 } -.ace-mono-industrial .ace_scroller { - background-color: #222C28 -} - -.ace-mono-industrial .ace_text-layer { +.ace-mono-industrial { + background-color: #222C28; color: #FFFFFF } @@ -134,5 +131,5 @@ } .ace-mono-industrial .ace_indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNQ0tH4zzBz5sz/ABAOBECKH+evAAAAAElFTkSuQmCC) right repeat-y -} + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNQ1NbwZfALD/4PAAlTArlEC4r/AAAAAElFTkSuQmCC) right repeat-y; +} \ No newline at end of file diff --git a/lib/ace/theme/mono_industrial.js b/lib/ace/theme/mono_industrial.js index af763292..cf0d0e48 100644 --- a/lib/ace/theme/mono_industrial.js +++ b/lib/ace/theme/mono_industrial.js @@ -3,7 +3,7 @@ * * Copyright (c) 2010, Ajax.org B.V. * All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright diff --git a/lib/ace/theme/monokai.css b/lib/ace/theme/monokai.css index 3514fdf6..2f34149a 100644 --- a/lib/ace/theme/monokai.css +++ b/lib/ace/theme/monokai.css @@ -8,11 +8,8 @@ background: #555651 } -.ace-monokai .ace_scroller { - background-color: #272822 -} - -.ace-monokai .ace_text-layer { +.ace-monokai { + background-color: #272822; color: #F8F8F2 } @@ -102,6 +99,7 @@ .ace-monokai .ace_entity.ace_name.ace_function, .ace-monokai .ace_entity.ace_other, +.ace-monokai .ace_entity.ace_other.ace_attribute-name, .ace-monokai .ace_variable { color: #A6E22E } @@ -124,5 +122,5 @@ } .ace-monokai .ace_indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNQ11D6z7Bq1ar/ABCKBG6g04U2AAAAAElFTkSuQmCC) right repeat-y + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPQ0FD0ZXBzd/wPAAjVAoxeSgNeAAAAAElFTkSuQmCC) right repeat-y; } \ No newline at end of file diff --git a/lib/ace/theme/monokai.js b/lib/ace/theme/monokai.js index a33326bd..87d07786 100644 --- a/lib/ace/theme/monokai.js +++ b/lib/ace/theme/monokai.js @@ -3,7 +3,7 @@ * * Copyright (c) 2010, Ajax.org B.V. * All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright diff --git a/lib/ace/theme/pastel_on_dark.css b/lib/ace/theme/pastel_on_dark.css index b517f22a..729a7b65 100644 --- a/lib/ace/theme/pastel_on_dark.css +++ b/lib/ace/theme/pastel_on_dark.css @@ -8,11 +8,8 @@ background: #353030 } -.ace-pastel-on-dark .ace_scroller { - background-color: #2C2828 -} - -.ace-pastel-on-dark .ace_text-layer { +.ace-pastel-on-dark { + background-color: #2C2828; color: #8F938F } @@ -137,5 +134,5 @@ } .ace-pastel-on-dark .ace_indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPQ0dD4z9DR0fEfAA+vBBPqhbn1AAAAAElFTkSuQmCC) right repeat-y + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYIiPj/8PAARgAh2NTMh8AAAAAElFTkSuQmCC) right repeat-y; } \ No newline at end of file diff --git a/lib/ace/theme/pastel_on_dark.js b/lib/ace/theme/pastel_on_dark.js index 5c11fd4c..6eea03a4 100644 --- a/lib/ace/theme/pastel_on_dark.js +++ b/lib/ace/theme/pastel_on_dark.js @@ -3,7 +3,7 @@ * * Copyright (c) 2010, Ajax.org B.V. * All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright diff --git a/lib/ace/theme/solarized_dark.css b/lib/ace/theme/solarized_dark.css index 4d47fb76..9fd8a8d5 100644 --- a/lib/ace/theme/solarized_dark.css +++ b/lib/ace/theme/solarized_dark.css @@ -8,8 +8,9 @@ background: #33555E } -.ace-solarized-dark .ace_scroller { - background-color: #002B36 +.ace-solarized-dark { + background-color: #002B36; + color: #93A1A1 } .ace-solarized-dark .ace_entity.ace_other.ace_attribute-name, @@ -109,5 +110,5 @@ } .ace-solarized-dark .ace_indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNg0Db7zzBz5sz/AA82BCv7wOIDAAAAAElFTkSuQmCC) right repeat-y + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNg0Db1ZVCxc/sPAAd4AlUHlLenAAAAAElFTkSuQmCC) right repeat-y; } \ No newline at end of file diff --git a/lib/ace/theme/solarized_dark.js b/lib/ace/theme/solarized_dark.js index d7ad4f90..71812c28 100644 --- a/lib/ace/theme/solarized_dark.js +++ b/lib/ace/theme/solarized_dark.js @@ -3,7 +3,7 @@ * * Copyright (c) 2010, Ajax.org B.V. * All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright diff --git a/lib/ace/theme/solarized_light.css b/lib/ace/theme/solarized_light.css index 65dfe8df..d10ed1b3 100644 --- a/lib/ace/theme/solarized_light.css +++ b/lib/ace/theme/solarized_light.css @@ -8,11 +8,8 @@ background: #e8e8e8 } -.ace-solarized-light .ace_scroller { - background-color: #FDF6E3 -} - -.ace-solarized-light .ace_text-layer { +.ace-solarized-light { + background-color: #FDF6E3; color: #586E75 } @@ -26,7 +23,7 @@ } .ace-solarized-light .ace_marker-layer .ace_selection { - background: #073642 + background: rgba(7, 54, 67, 0.09) } .ace-solarized-light.ace_multiselect .ace_selection.ace_start { @@ -48,7 +45,7 @@ } .ace-solarized-light .ace_gutter-active-line { - background-color : #dcdcdc + background-color : #EDE5C1 } .ace-solarized-light .ace_marker-layer .ace_selected-word { @@ -114,5 +111,5 @@ } .ace-solarized-light .ace_indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4++3xf4ZVq1b9BwAjxwbT1g3hiwAAAABJRU5ErkJggg==) right repeat-y + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHjy8NJ/AAjgA5fzQUmBAAAAAElFTkSuQmCC) right repeat-y; } \ No newline at end of file diff --git a/lib/ace/theme/solarized_light.js b/lib/ace/theme/solarized_light.js index eda2c45c..35ec219e 100644 --- a/lib/ace/theme/solarized_light.js +++ b/lib/ace/theme/solarized_light.js @@ -3,7 +3,7 @@ * * Copyright (c) 2010, Ajax.org B.V. * All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright diff --git a/lib/ace/theme/terminal.css b/lib/ace/theme/terminal.css index a2d3a415..e6a94aca 100644 --- a/lib/ace/theme/terminal.css +++ b/lib/ace/theme/terminal.css @@ -8,11 +8,8 @@ background: #1a1a1a } -.ace-terminal-theme .ace_scroller { - background-color: black -} - -.ace-terminal-theme .ace_text-layer { +.ace-terminal-theme { + background-color: black; color: #DEDEDE } @@ -140,5 +137,5 @@ } .ace-terminal-theme .ace_indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGD4z7Bq1ar/AAz9A/2naJQKAAAAAElFTkSuQmCC) right repeat-y + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYLBWV/8PAAK4AYnhiq+xAAAAAElFTkSuQmCC) right repeat-y; } diff --git a/lib/ace/theme/textmate.css b/lib/ace/theme/textmate.css index 538700f2..eb657170 100644 --- a/lib/ace/theme/textmate.css +++ b/lib/ace/theme/textmate.css @@ -12,7 +12,7 @@ background-color: #6B72E6; } -.ace-tm .ace_scroller { +.ace-tm { background-color: #FFFFFF; } diff --git a/lib/ace/theme/tomorrow.css b/lib/ace/theme/tomorrow.css index a5d88b6c..210b0e18 100644 --- a/lib/ace/theme/tomorrow.css +++ b/lib/ace/theme/tomorrow.css @@ -8,11 +8,9 @@ background: #f6f6f6 } +.ace-tomorrow, .ace-tomorrow .ace_scroller { - background-color: #FFFFFF -} - -.ace-tomorrow .ace_text-layer { + background-color: #FFFFFF; color: #4D4D4C } diff --git a/lib/ace/theme/tomorrow.js b/lib/ace/theme/tomorrow.js index 603c92a5..1f02d7d9 100644 --- a/lib/ace/theme/tomorrow.js +++ b/lib/ace/theme/tomorrow.js @@ -3,7 +3,7 @@ * * Copyright (c) 2010, Ajax.org B.V. * All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright diff --git a/lib/ace/theme/tomorrow_night.css b/lib/ace/theme/tomorrow_night.css index 0baaf323..686b5ea3 100644 --- a/lib/ace/theme/tomorrow_night.css +++ b/lib/ace/theme/tomorrow_night.css @@ -8,11 +8,8 @@ background: #25282c } -.ace-tomorrow-night .ace_scroller { - background-color: #1D1F21 -} - -.ace-tomorrow-night .ace_text-layer { +.ace-tomorrow-night { + background-color: #1D1F21; color: #C5C8C6 } @@ -132,5 +129,5 @@ } .ace-tomorrow-night .ace_indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWOQlVf8z7Bq1ar/AA/hBFp7egmpAAAAAElFTkSuQmCC) right repeat-y + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHB3d/8PAAOIAdULw8qMAAAAAElFTkSuQmCC) right repeat-y; } \ No newline at end of file diff --git a/lib/ace/theme/tomorrow_night.js b/lib/ace/theme/tomorrow_night.js index 8a2454ea..e7137ffc 100644 --- a/lib/ace/theme/tomorrow_night.js +++ b/lib/ace/theme/tomorrow_night.js @@ -3,7 +3,7 @@ * * Copyright (c) 2010, Ajax.org B.V. * All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright diff --git a/lib/ace/theme/tomorrow_night_blue.css b/lib/ace/theme/tomorrow_night_blue.css index daebddb1..b819e1ad 100644 --- a/lib/ace/theme/tomorrow_night_blue.css +++ b/lib/ace/theme/tomorrow_night_blue.css @@ -8,12 +8,12 @@ background: #00204b } -.ace-tomorrow-night-blue .ace_scroller { - background-color: #002451 +.ace-tomorrow-night-blue { + background-color: #002451; + color: #FFFFFF } -.ace-tomorrow-night-blue .ace_constant.ace_other, -.ace-tomorrow-night-blue .ace_text-layer { +.ace-tomorrow-night-blue .ace_constant.ace_other { color: #FFFFFF } @@ -129,5 +129,5 @@ } .ace-tomorrow-night-blue .ace_indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgUAn8z7Bq1ar/ABBUBHJ4/r3JAAAAAElFTkSuQmCC) right repeat-y + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYJDzqfwPAANXAeNsiA+ZAAAAAElFTkSuQmCC) right repeat-y; } \ No newline at end of file diff --git a/lib/ace/theme/tomorrow_night_blue.js b/lib/ace/theme/tomorrow_night_blue.js index dafd1f53..dcdf4adc 100644 --- a/lib/ace/theme/tomorrow_night_blue.js +++ b/lib/ace/theme/tomorrow_night_blue.js @@ -3,7 +3,7 @@ * * Copyright (c) 2010, Ajax.org B.V. * All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright diff --git a/lib/ace/theme/tomorrow_night_bright.css b/lib/ace/theme/tomorrow_night_bright.css index 065e2f00..2c9eedfa 100644 --- a/lib/ace/theme/tomorrow_night_bright.css +++ b/lib/ace/theme/tomorrow_night_bright.css @@ -8,11 +8,8 @@ background: #1a1a1a } -.ace-tomorrow-night-bright .ace_scroller { - background-color: #000000 -} - -.ace-tomorrow-night-bright .ace_text-layer { +.ace-tomorrow-night-bright { + background-color: #000000; color: #DEDEDE } @@ -132,5 +129,5 @@ } .ace-tomorrow-night-bright .ace_indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGD4z7Bq1ar/AAz9A/2naJQKAAAAAElFTkSuQmCC) right repeat-y + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYFBXV/8PAAJoAXX4kT2EAAAAAElFTkSuQmCC) right repeat-y; } \ No newline at end of file diff --git a/lib/ace/theme/tomorrow_night_bright.js b/lib/ace/theme/tomorrow_night_bright.js index 12c961ef..4b285668 100644 --- a/lib/ace/theme/tomorrow_night_bright.js +++ b/lib/ace/theme/tomorrow_night_bright.js @@ -3,7 +3,7 @@ * * Copyright (c) 2010, Ajax.org B.V. * All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright diff --git a/lib/ace/theme/tomorrow_night_eighties.css b/lib/ace/theme/tomorrow_night_eighties.css index 5584d62d..62308e6c 100644 --- a/lib/ace/theme/tomorrow_night_eighties.css +++ b/lib/ace/theme/tomorrow_night_eighties.css @@ -8,12 +8,12 @@ background: #272727 } -.ace-tomorrow-night-eighties .ace_scroller { - background-color: #2D2D2D +.ace-tomorrow-night-eighties { + background-color: #2D2D2D; + color: #CCCCCC } -.ace-tomorrow-night-eighties .ace_constant.ace_other, -.ace-tomorrow-night-eighties .ace_text-layer { +.ace-tomorrow-night-eighties .ace_constant.ace_other { color: #CCCCCC } @@ -128,5 +128,5 @@ } .ace-tomorrow-night-eighties .ace_indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPQ1dX9z7Bq1ar/ABE1BITwhhuFAAAAAElFTkSuQmCC) right repeat-y + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPQ09NrYAgMjP4PAAtGAwchHMyAAAAAAElFTkSuQmCC) right repeat-y } \ No newline at end of file diff --git a/lib/ace/theme/tomorrow_night_eighties.js b/lib/ace/theme/tomorrow_night_eighties.js index fc2cd15c..9ac7be67 100644 --- a/lib/ace/theme/tomorrow_night_eighties.js +++ b/lib/ace/theme/tomorrow_night_eighties.js @@ -3,7 +3,7 @@ * * Copyright (c) 2010, Ajax.org B.V. * All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright diff --git a/lib/ace/theme/twilight.css b/lib/ace/theme/twilight.css index 3ef9de2e..5ee32e93 100644 --- a/lib/ace/theme/twilight.css +++ b/lib/ace/theme/twilight.css @@ -8,11 +8,8 @@ background: #232323 } -.ace-twilight .ace_scroller { - background-color: #141414 -} - -.ace-twilight .ace_text-layer { +.ace-twilight { + background-color: #141414; color: #F8F8F8 } @@ -134,5 +131,5 @@ } .ace-twilight .ace_indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQERH5zzBz5sz/AA5EBAYqeZXWAAAAAElFTkSuQmCC) right repeat-y + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQERFpYLC1tf0PAAgOAnPnhxyiAAAAAElFTkSuQmCC) right repeat-y; } \ No newline at end of file diff --git a/lib/ace/theme/twilight.js b/lib/ace/theme/twilight.js index 216f09de..904f7ef6 100644 --- a/lib/ace/theme/twilight.js +++ b/lib/ace/theme/twilight.js @@ -3,7 +3,7 @@ * * Copyright (c) 2010, Ajax.org B.V. * All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright diff --git a/lib/ace/theme/vibrant_ink.css b/lib/ace/theme/vibrant_ink.css index c611681d..d0cd2582 100644 --- a/lib/ace/theme/vibrant_ink.css +++ b/lib/ace/theme/vibrant_ink.css @@ -8,11 +8,8 @@ background: #1a1a1a } -.ace-vibrant-ink .ace_scroller { - background-color: #0F0F0F -} - -.ace-vibrant-ink .ace_text-layer { +.ace-vibrant-ink { + background-color: #0F0F0F; color: #FFFFFF } @@ -114,5 +111,5 @@ } .ace-vibrant-ink .ace_indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPg5+f/z7Bq1ar/AA5lBCqoLxsgAAAAAElFTkSuQmCC) right repeat-y + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYNDTc/oPAALPAZ7hxlbYAAAAAElFTkSuQmCC) right repeat-y; } \ No newline at end of file diff --git a/lib/ace/theme/vibrant_ink.js b/lib/ace/theme/vibrant_ink.js index b41b1d47..7156e5de 100644 --- a/lib/ace/theme/vibrant_ink.js +++ b/lib/ace/theme/vibrant_ink.js @@ -3,7 +3,7 @@ * * Copyright (c) 2010, Ajax.org B.V. * All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright diff --git a/lib/ace/theme/xcode.css b/lib/ace/theme/xcode.css index 463703b0..782a0837 100644 --- a/lib/ace/theme/xcode.css +++ b/lib/ace/theme/xcode.css @@ -10,11 +10,8 @@ background: #e8e8e8 } -.ace-xcode .ace_scroller { - background-color: #FFFFFF -} - -.ace-xcode .ace_text-layer { +.ace-xcode { + background-color: #FFFFFF; color: #000000 } @@ -107,5 +104,5 @@ } .ace-xcode .ace_indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==) right repeat-y; + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==) right repeat-y } \ No newline at end of file diff --git a/lib/ace/theme/xcode.js b/lib/ace/theme/xcode.js index 19827338..e17d708d 100644 --- a/lib/ace/theme/xcode.js +++ b/lib/ace/theme/xcode.js @@ -3,7 +3,7 @@ * * Copyright (c) 2010, Ajax.org B.V. * All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright diff --git a/tool/package.json b/tool/package.json index a96e830d..2d33713a 100644 --- a/tool/package.json +++ b/tool/package.json @@ -3,7 +3,7 @@ "version": "0.1.0", "dependencies": { "plist": "", - "css-parse": "", - "css-stringify": "" + "css-parse": "1.0.3", + "css-stringify": "1.0.3" } } diff --git a/tool/theme.tmpl.css b/tool/theme.tmpl.css index 180132f2..58d16360 100644 --- a/tool/theme.tmpl.css +++ b/tool/theme.tmpl.css @@ -10,11 +10,8 @@ background: %printMargin%; } -.%cssClass% .ace_scroller { +.%cssClass% { background-color: %background%; -} - -.%cssClass% .ace_text-layer { color: %foreground%; } diff --git a/tool/tmtheme.js b/tool/tmtheme.js index 6c6416ff..7bfc07ea 100755 --- a/tool/tmtheme.js +++ b/tool/tmtheme.js @@ -248,7 +248,6 @@ var themes = { "solarized_dark": "Solarized-dark", "solarized_light": "Solarized-light", //"textmate": "Textmate (Mac Classic)", - "terminal": "Terminal" "tomorrow": "Tomorrow", "tomorrow_night": "Tomorrow-Night", "tomorrow_night_blue": "Tomorrow-Night-Blue", @@ -256,7 +255,7 @@ var themes = { "tomorrow_night_eighties": "Tomorrow-Night-Eighties", "twilight": "Twilight", "vibrant_ink": "Vibrant Ink", - //"xcode": "Xcode_default" + "xcode": "Xcode_default" }; function convertTheme(name) { @@ -277,13 +276,6 @@ function convertTheme(name) { i.replace(/^|\./g, ".ace_") + "{" + styles[i] + "}"; } - var js = fillTemplate(jsTemplate, { - name: name, - css: 'require("../requirejs/text!./' + name + '.css")', // quoteString(css), // - cssClass: "ace-" + hyphenate(name), - isDark: styles.isDark - }); - // we're going to look for NEW rules in the parsed content only // if such a rule exists, add it to the destination file // this way, we preserve all hand-modified rules in the .css rules, @@ -319,6 +311,13 @@ function convertTheme(name) { console.log("Creating new file: " + name + ".css") } + var js = fillTemplate(jsTemplate, { + name: name, + css: 'require("../requirejs/text!./' + name + '.css")', // quoteString(css), // + cssClass: "ace-" + hyphenate(name), + isDark: styles.isDark + }); + fs.writeFileSync(__dirname + "/../lib/ace/theme/" + name + ".js", js); fs.writeFileSync(__dirname + "/../lib/ace/theme/" + name + ".css", css); })