diffstat:
dropin.json | 2 +-
dryice/samples/sample.html | 2 +-
plugins/supported/whitetheme/index.js | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diffs (34 lines):
diff --git a/dropin.json b/dropin.json
--- a/dropin.json
+++ b/dropin.json
@@ -1,5 +1,5 @@
{
- "plugins": ["embedded", "html", "stylesheet", "js_syntax"],
+ "plugins": ["embedded", "html", "stylesheet", "js_syntax", "whitetheme"],
"output_dir": "tmp/BespinDropIn",
"include_sample": true
}
diff --git a/dryice/samples/sample.html b/dryice/samples/sample.html
--- a/dryice/samples/sample.html
+++ b/dryice/samples/sample.html
@@ -96,7 +96,7 @@
<body>
<h1>Sample Editor as a Component</h1>
-<div id="editor" class="bespin" data-bespinoptions='{ "settings": { "tabstop": 4 }, "syntax": "js", "stealFocus": true }'>// The text of this div shows up in the editor.
+<div id="editor" class="bespin" data-bespinoptions='{ "settings": { "tabstop": 4, "theme": "white" }, "syntax": "js", "stealFocus": true }'>// The text of this div shows up in the editor.
var thisCode = "what shows up in the editor";
function editMe() {
alert("and have fun!");
diff --git a/plugins/supported/whitetheme/index.js b/plugins/supported/whitetheme/index.js
--- a/plugins/supported/whitetheme/index.js
+++ b/plugins/supported/whitetheme/index.js
@@ -198,7 +198,7 @@ exports.whiteTheme = function() {
},
highlighterBG: {
- plain: 'rgb(0, 0, 0, 0)',
+ plain: '#ffffff',
addition: '#008000',
deletion: '#800000'
},