@@ -82,6 +82,7 @@ exports.colorizeImpl = function (text) {
8282 };
8383};
8484exports.setValue = function (value) { return function (editor) { return function () { return editor.setValue(value); }; }; };
85+exports.layout = (editor) => () => editor.layout()
8586exports.defineThemeImpl = function (monacoInstance) {
8687 return function (name) {
8788 return function (theme) {
@@ -114,99 +115,138 @@ exports.setMonarchTokensProviderImpl = function (monacoInstance) {
114115 };
115116 };
116117};
117−exports.vsCodeTheme = function (bg) {
118+exports.horizonTheme = function (bg) {
118119 return ({
119120 base: "vs",
120121 inherit: true,
121122 rules: [
122123 {
123− foreground: "008e00",
124− token: "comment",
124+ foreground: "#33333380",
125+ fontStyle: "italic",
126+ token: "comment"
125127 },
126128 {
127− foreground: "7d4726",
128− token: "meta.preprocessor",
129+ foreground: "#DC3318",
130+ token: "constant"
129131 },
130132 {
131− foreground: "7d4726",
132− token: "keyword.control.import",
133+ foreground: "#F77D26",
134+ token: "entity.name"
133135 },
134136 {
135− foreground: "df0002",
136− token: "string",
137+ foreground: "#1D8991",
138+ token: "entity.name.function"
137139 },
138140 {
139− foreground: "3a00dc",
140− token: "constant.numeric",
141+ foreground: "#DA103F",
142+ token: "entity.name.tag"
141143 },
142144 {
143− foreground: "c800a4",
144− token: "constant.language",
145+ foreground: "#F77D26",
146+ token: "entity.name.type"
145147 },
146148 {
147− foreground: "275a5e",
148− token: "constant.character",
149+ foreground: "#DA103F",
150+ token: "variable"
149151 },
150152 {
151− foreground: "275a5e",
152− token: "constant.other",
153+ foreground: "#DA103F",
154+ token: "entity.name.variable"
153155 },
154156 {
155− foreground: "c800a4",
156− token: "variable.language",
157+ foreground: "#8A31B9",
158+ token: "keyword"
157159 },
158160 {
159− foreground: "c800a4",
160− token: "variable.other",
161+ foreground: "#333333",
162+ token: "keyword.operator"
161163 },
162164 {
163− foreground: "c800a4",
164− token: "keyword",
165+ foreground: "#8A31B9",
166+ token: "keyword.operator.new"
165167 },
166168 {
167− foreground: "c900a4",
168− token: "storage",
169+ foreground: "#8A31B9",
170+ token: "keyword.operator.expression"
169171 },
170172 {
171− foreground: "438288",
172− token: "entity.name.class",
173+ foreground: "#8A31B9",
174+ token: "keyword.operator.logical, keyword.operator.delete"
173175 },
174176 {
175− foreground: "790ead",
176− token: "entity.name.tag",
177+ foreground: "#8A31B9",
178+ token: "keyword.operator.delete"
177179 },
178180 {
179− foreground: "450084",
180− token: "entity.other.attribute-name",
181+ foreground: "#DC3318",
182+ token: "keyword.other.unit"
181183 },
182184 {
183− foreground: "450084",
184− token: "support.function",
185+ foreground: "#F6661EB3",
186+ fontStyle: "italic",
187+ token: "markup.quote"
185188 },
186189 {
187− foreground: "450084",
188− token: "support.constant",
190+ foreground: "#DA103F",
191+ token: "entity.name.section"
189192 },
190193 {
191− foreground: "790ead",
192− token: "support.type",
194+ foreground: "#8A31B9",
195+ token: "storage"
193196 },
194197 {
195− foreground: "790ead",
196− token: "support.class",
198+ foreground: "#F6661E",
199+ token: "string"
197200 },
198201 {
199− foreground: "790ead",
200− token: "support.other.variable",
202+ foreground: "#F77D26",
203+ token: "support"
204+ },
205+ {
206+ foreground: "#1D8991",
207+ token: "support.function"
208+ },
209+ {
210+ foreground: "#DA103F",
211+ token: "support.variable"
212+ },
213+ {
214+ foreground: "#DA103F",
215+ token: "support.type.property-name"
216+ },
217+ {
218+ foreground: "#DA103F",
219+ token: "meta.object-literal.key"
220+ },
221+ {
222+ foreground: "#333333",
223+ token: "support.type.property-name.css"
224+ },
225+ {
226+ foreground: "#F77D26",
227+ fontStyle: "italic",
228+ token: "variable.language"
229+ },
230+ {
231+ fontStyle: "italic",
232+ token: "variable.parameter"
233+ },
234+ {
235+ foreground: "#DA103FB3",
236+ token: "punctuation.definition.tag"
237+ },
238+ {
239+ foreground: "#333333",
240+ token: "punctuation.separator"
201241 },
202242 ],
203243 colors: {
204244 "editor.foreground": "#000000",
205− "editor.background": bg,
206− "editor.selectionBackground": "#B5D5FF",
245+ "editor.background": bg, //"#FDF0ED"
246+ "editor.selectionBackground": "#F9CBBE80",
207247 "editor.lineHighlightBackground": "#B5D5FF",
208248 "editor.lineHighlightBorder": "#B5D5FF",
209− "editorCursor.foreground": "#000000",
249+ "editorCursor.foreground": "#333333",
210250 "editorWhitespace.foreground": "#BFBFBF",
211251 },
212252 });
@@ -218,6 +258,7 @@ exports.nightOwlTheme = function (bg) {
218258 rules: [
219259 {
220260 foreground: "637777",
261+ fontStyle: "italic",
221262 token: "comment",
222263 },
223264 {