Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

move background color to the root element

  • Loading branch information...
commit 968688fb4088e1b447e94f896cdf537b389b531d 1 parent 0e1d746
@nightwing nightwing authored
Showing with 97 additions and 163 deletions.
  1. +2 −1  lib/ace/css/editor.css
  2. +2 −2 lib/ace/theme/ambiance.css
  3. +2 −4 lib/ace/theme/chaos.css
  4. +1 −1  lib/ace/theme/chrome.css
  5. +2 −5 lib/ace/theme/clouds.css
  6. +1 −1  lib/ace/theme/clouds.js
  7. +2 −5 lib/ace/theme/clouds_midnight.css
  8. +1 −1  lib/ace/theme/clouds_midnight.js
  9. +2 −5 lib/ace/theme/cobalt.css
  10. +1 −1  lib/ace/theme/cobalt.js
  11. +1 −4 lib/ace/theme/crimson_editor.css
  12. +2 −5 lib/ace/theme/dawn.css
  13. +1 −1  lib/ace/theme/dawn.js
  14. +1 −4 lib/ace/theme/dreamweaver.css
  15. +1 −4 lib/ace/theme/eclipse.css
  16. +2 −4 lib/ace/theme/github.css
  17. +3 −2 lib/ace/theme/idle_fingers.css
  18. +1 −1  lib/ace/theme/idle_fingers.js
  19. +2 −5 lib/ace/theme/kr_theme.css
  20. +1 −1  lib/ace/theme/kr_theme.js
  21. +2 −5 lib/ace/theme/merbivore.css
  22. +1 −1  lib/ace/theme/merbivore.js
  23. +2 −5 lib/ace/theme/merbivore_soft.css
  24. +1 −1  lib/ace/theme/merbivore_soft.js
  25. +3 −6 lib/ace/theme/mono_industrial.css
  26. +1 −1  lib/ace/theme/mono_industrial.js
  27. +3 −5 lib/ace/theme/monokai.css
  28. +1 −1  lib/ace/theme/monokai.js
  29. +2 −5 lib/ace/theme/pastel_on_dark.css
  30. +1 −1  lib/ace/theme/pastel_on_dark.js
  31. +3 −2 lib/ace/theme/solarized_dark.css
  32. +1 −1  lib/ace/theme/solarized_dark.js
  33. +2 −5 lib/ace/theme/solarized_light.css
  34. +1 −1  lib/ace/theme/solarized_light.js
  35. +1 −4 lib/ace/theme/terminal.css
  36. +1 −1  lib/ace/theme/textmate.css
  37. +2 −4 lib/ace/theme/tomorrow.css
  38. +1 −1  lib/ace/theme/tomorrow.js
  39. +2 −5 lib/ace/theme/tomorrow_night.css
  40. +1 −1  lib/ace/theme/tomorrow_night.js
  41. +4 −4 lib/ace/theme/tomorrow_night_blue.css
  42. +1 −1  lib/ace/theme/tomorrow_night_blue.js
  43. +2 −5 lib/ace/theme/tomorrow_night_bright.css
  44. +1 −1  lib/ace/theme/tomorrow_night_bright.js
  45. +4 −4 lib/ace/theme/tomorrow_night_eighties.css
  46. +1 −1  lib/ace/theme/tomorrow_night_eighties.js
  47. +2 −5 lib/ace/theme/twilight.css
  48. +1 −1  lib/ace/theme/twilight.js
  49. +2 −5 lib/ace/theme/vibrant_ink.css
  50. +1 −1  lib/ace/theme/vibrant_ink.js
  51. +3 −6 lib/ace/theme/xcode.css
  52. +1 −1  lib/ace/theme/xcode.js
  53. +2 −2 tool/package.json
  54. +1 −4 tool/theme.tmpl.css
  55. +8 −9 tool/tmtheme.js
View
3  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;
}
View
4 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 {
View
6 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;
}
View
2  lib/ace/theme/chrome.css
@@ -9,7 +9,7 @@
background: #e8e8e8;
}
-.ace-chrome .ace_scroller {
+.ace-chrome {
background-color: #FFFFFF;
}
View
7 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
}
View
2  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
View
7 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
}
View
2  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
View
7 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
}
View
2  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
View
5 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);
}
View
7 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
}
View
2  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
View
5 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;
}
View
5 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;
}
View
6 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;
}
View
5 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 {
View
2  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
View
7 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
}
View
2  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
View
7 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
}
View
2  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
View
7 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
}
View
2  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
View
9 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
}
@@ -135,4 +132,4 @@
.ace-mono-industrial .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNQ0tH4zzBz5sz/ABAOBECKH+evAAAAAElFTkSuQmCC) right repeat-y
-}
+}
View
2  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
View
8 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
}
View
2  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
View
7 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
}
View
2  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
View
5 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,
View
2  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
View
7 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
}
View
2  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
View
5 lib/ace/theme/terminal.css
@@ -8,11 +8,8 @@
background: #1a1a1a
}
-.ace-terminal-theme .ace_scroller {
+.ace-terminal-theme {
background-color: black
-}
-
-.ace-terminal-theme .ace_text-layer {
color: #DEDEDE
}
View
2  lib/ace/theme/textmate.css
@@ -12,7 +12,7 @@
background-color: #6B72E6;
}
-.ace-tm .ace_scroller {
+.ace-tm {
background-color: #FFFFFF;
}
View
6 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
}
View
2  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
View
7 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
}
View
2  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
View
8 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
}
View
2  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
View
7 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
}
View
2  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
View
8 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
}
View
2  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
View
7 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
}
View
2  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
View
7 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
}
View
2  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
View
9 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
}
View
2  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
View
4 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"
}
}
View
5 tool/theme.tmpl.css
@@ -10,11 +10,8 @@
background: %printMargin%;
}
-.%cssClass% .ace_scroller {
+.%cssClass% {
background-color: %background%;
-}
-
-.%cssClass% .ace_text-layer {
color: %foreground%;
}
View
17 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 <theme>.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);
})
Please sign in to comment.
Something went wrong with that request. Please try again.