Skip to content

Commit 6f6faef

Browse files
committed
ported the Blackboard theme from TextMate
1 parent 871cf08 commit 6f6faef

2 files changed

Lines changed: 137 additions & 0 deletions

File tree

‎plotdevice/theme/blackboard.css‎

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
/* THIS THEME WAS AUTOGENERATED BY Theme.tmpl.css (UUID: A2C6BAA7-90D0-4147-BBF5-96B0CD92D109) */
2+
3+
.ace-blackboard .ace_gutter {
4+
background: #0c1021;
5+
color: #AEAEAE;
6+
}
7+
8+
.ace-blackboard .ace_print-margin {
9+
width: 1px;
10+
background: #e8e8e8;
11+
}
12+
13+
.ace-blackboard {
14+
background-color: #0C1021;
15+
color: #F8F8F8;
16+
}
17+
18+
.ace-blackboard .ace_cursor {
19+
color: rgba(255, 255, 255, 0.65);
20+
}
21+
22+
.ace-blackboard .ace_marker-layer .ace_selection {
23+
background: #325087;
24+
}
25+
26+
.ace-blackboard.ace_multiselect .ace_selection.ace_start {
27+
box-shadow: 0 0 3px 0px #0C1021;
28+
border-radius: 2px;
29+
}
30+
31+
.ace-blackboard .ace_marker-layer .ace_step {
32+
background: rgb(198, 219, 174);
33+
}
34+
35+
.ace-blackboard .ace_marker-layer .ace_bracket {
36+
margin: -1px 0 0 -1px;
37+
border: 1px solid rgba(255, 255, 255, 0.25);
38+
}
39+
40+
.ace-blackboard .ace_marker-layer .ace_active-line {
41+
background: rgba(255, 255, 255, 0.059);
42+
}
43+
44+
.ace-blackboard .ace_gutter-active-line {
45+
background-color: rgba(255, 255, 255, 0.059);
46+
}
47+
48+
.ace-blackboard .ace_marker-layer .ace_selected-word {
49+
border: 1px solid #253B76;
50+
}
51+
52+
.ace-blackboard .ace_fold {
53+
background-color: #FBDE2D;
54+
border-color: #F8F8F8;
55+
}
56+
57+
.ace-blackboard .ace_keyword,
58+
.ace-blackboard .ace_storage {
59+
color: #FBDE2D;
60+
}
61+
62+
.ace-blackboard .ace_constant {
63+
color: #D8FA3C;
64+
}
65+
66+
.ace-blackboard .ace_support {
67+
color: #8DA6CE;
68+
}
69+
70+
.ace-blackboard .ace_invalid.ace_illegal {
71+
color: #F8F8F8;
72+
background-color: #9D1E15;
73+
}
74+
75+
.ace-blackboard .ace_invalid.ace_deprecated {
76+
font-style: italic;
77+
color: #AB2A1D;
78+
}
79+
80+
.ace-blackboard .ace_string {
81+
color: #61CE3C;
82+
}
83+
84+
.ace-blackboard .ace_invisible{
85+
color:rgba(174, 174, 174, 0.5);
86+
}
87+
.ace-blackboard .ace_comment {
88+
color: #AEAEAE;
89+
}
90+
91+
.ace-blackboard .ace_meta.ace_tag {
92+
color: #7F90AA;
93+
}
94+
95+
.ace-blackboard .ace_variable,
96+
.ace-blackboard .ace_variable.ace_language {
97+
color:rgba(255, 100, 0, 1.0);
98+
}

‎plotdevice/theme/blackboard.js‎

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
/* ***** BEGIN LICENSE BLOCK *****
2+
* Distributed under the BSD license:
3+
*
4+
* Copyright (c) 2010, Ajax.org B.V.
5+
* All rights reserved.
6+
*
7+
* Redistribution and use in source and binary forms, with or without
8+
* modification, are permitted provided that the following conditions are met:
9+
* * Redistributions of source code must retain the above copyright
10+
* notice, this list of conditions and the following disclaimer.
11+
* * Redistributions in binary form must reproduce the above copyright
12+
* notice, this list of conditions and the following disclaimer in the
13+
* documentation and/or other materials provided with the distribution.
14+
* * Neither the name of Ajax.org B.V. nor the
15+
* names of its contributors may be used to endorse or promote products
16+
* derived from this software without specific prior written permission.
17+
*
18+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19+
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20+
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21+
* DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY
22+
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23+
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24+
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25+
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27+
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28+
*
29+
* ***** END LICENSE BLOCK ***** */
30+
31+
define(function(require, exports, module) {
32+
33+
exports.isDark = true;
34+
exports.cssClass = "ace-blackboard";
35+
exports.cssText = require("../requirejs/text!./blackboard.css");
36+
37+
var dom = require("../lib/dom");
38+
dom.importCssString(exports.cssText, exports.cssClass);
39+
});

0 commit comments

Comments
 (0)