changeset in labs/bespinclient: Fix the plain background color i...

2 views
Skip to first unread message

Patrick Walton

unread,
Sep 26, 2010, 6:39:48 AM9/26/10
to bespin-...@googlegroups.com
changeset ddec708df4de in /repo/hg/mozilla/labs/bespinclient
details: http://hg.mozilla.org/labs/bespinclient?cmd=changeset;node=ddec708df4de
description:
Fix the plain background color in the white theme

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'
},

Reply all
Reply to author
Forward
0 new messages