From: Brendan Hansen Date: Tue, 7 Sep 2021 15:10:32 +0000 (-0500) Subject: added more themes X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=f5605e691190a49a0450a9ba13e75cd9c0043a61;p=onyx-live.git added more themes --- diff --git a/static/vendor/ace/theme-eclipse.js b/static/vendor/ace/theme-eclipse.js new file mode 100644 index 0000000..c9256c5 --- /dev/null +++ b/static/vendor/ace/theme-eclipse.js @@ -0,0 +1,133 @@ +define("ace/theme/eclipse",["require","exports","module","ace/lib/dom"], function(require, exports, module) { +"use strict"; + +exports.isDark = false; +exports.cssText = ` +.ace-eclipse .ace_gutter { + background: #ebebeb; + border-right: 1px solid rgb(159, 159, 159); + color: rgb(136, 136, 136); +} + +.ace-eclipse .ace_print-margin { + width: 1px; + background: #ebebeb; +} + +.ace-eclipse { + background-color: #FFFFFF; + color: black; +} + +.ace-eclipse .ace_fold { + background-color: rgb(60, 76, 114); +} + +.ace-eclipse .ace_cursor { + color: black; +} + +.ace-eclipse .ace_storage, +.ace-eclipse .ace_keyword, +.ace-eclipse .ace_variable { + color: rgb(127, 0, 85); +} + +.ace-eclipse .ace_constant.ace_buildin { + color: rgb(88, 72, 246); +} + +.ace-eclipse .ace_constant.ace_library { + color: rgb(6, 150, 14); +} + +.ace-eclipse .ace_function { + color: rgb(60, 76, 114); +} + +.ace-eclipse .ace_string { + color: rgb(42, 0, 255); +} + +.ace-eclipse .ace_comment { + color: rgb(113, 150, 130); +} + +.ace-eclipse .ace_comment.ace_doc { + color: rgb(63, 95, 191); +} + +.ace-eclipse .ace_comment.ace_doc.ace_tag { + color: rgb(127, 159, 191); +} + +.ace-eclipse .ace_constant.ace_numeric { + color: darkblue; +} + +.ace-eclipse .ace_tag { + color: rgb(25, 118, 116); +} + +.ace-eclipse .ace_type { + color: rgb(127, 0, 127); +} + +.ace-eclipse .ace_xml-pe { + color: rgb(104, 104, 91); +} + +.ace-eclipse .ace_marker-layer .ace_selection { + background: rgb(181, 213, 255); +} + +.ace-eclipse .ace_marker-layer .ace_bracket { + margin: -1px 0 0 -1px; + border: 1px solid rgb(192, 192, 192); +} + +.ace-eclipse .ace_meta.ace_tag { + color:rgb(25, 118, 116); +} + +.ace-eclipse .ace_invisible { + color: #ddd; +} + +.ace-eclipse .ace_entity.ace_other.ace_attribute-name { + color:rgb(127, 0, 127); +} +.ace-eclipse .ace_marker-layer .ace_step { + background: rgb(255, 255, 0); +} + +.ace-eclipse .ace_active-line { + background: rgb(232, 242, 254); +} + +.ace-eclipse .ace_gutter-active-line { + background-color : #DADADA; +} + +.ace-eclipse .ace_marker-layer .ace_selected-word { + border: 1px solid rgb(181, 213, 255); +} + +.ace-eclipse .ace_indent-guide { + background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y; +} +`; + +exports.cssClass = "ace-eclipse"; + +var dom = require("../lib/dom"); +dom.importCssString(exports.cssText, exports.cssClass); +}); +(function() { + window.require(["ace/theme/eclipse"], function(m) { + if (typeof module == "object" && typeof exports == "object" && module) { + module.exports = m; + } + }); +})(); + diff --git a/static/vendor/ace/theme-gruvbox.js b/static/vendor/ace/theme-gruvbox.js new file mode 100644 index 0000000..d38beab --- /dev/null +++ b/static/vendor/ace/theme-gruvbox.js @@ -0,0 +1,113 @@ +define("ace/theme/gruvbox",["require","exports","module","ace/lib/dom"], function(require, exports, module) { +"use strict"; +exports.isDark = true; +exports.cssClass = "ace-gruvbox"; +exports.cssText = ` +.ace-gruvbox .ace_gutter-active-line { + background-color: #3C3836; +} + +.ace-gruvbox { + color: #EBDAB4; + background-color: #1D2021; +} + +.ace-gruvbox .ace_invisible { + color: #504945; +} + +.ace-gruvbox .ace_marker-layer .ace_selection { + background: rgba(179, 101, 57, 0.75) +} + +.ace-gruvbox.ace_multiselect .ace_selection.ace_start { + box-shadow: 0 0 3px 0px #002240; +} + +.ace-gruvbox .ace_keyword { + color: #8ec07c; +} + +.ace-gruvbox .ace_comment { + font-style: italic; + color: #928375; +} + +.ace-gruvbox .ace-statement { + color: red; +} + +.ace-gruvbox .ace_variable { + color: #84A598; +} + +.ace-gruvbox .ace_variable.ace_language { + color: #D2879B; +} + +.ace-gruvbox .ace_constant { + color: #C2859A; +} + +.ace-gruvbox .ace_constant.ace_language { + color: #C2859A; +} + +.ace-gruvbox .ace_constant.ace_numeric { + color: #C2859A; +} + +.ace-gruvbox .ace_string { + color: #B8BA37; +} + +.ace-gruvbox .ace_support { + color: #F9BC41; +} + +.ace-gruvbox .ace_support.ace_function { + color: #F84B3C; +} + +.ace-gruvbox .ace_storage { + color: #8FBF7F; +} + +.ace-gruvbox .ace_keyword.ace_operator { + color: #EBDAB4; +} + +.ace-gruvbox .ace_punctuation.ace_operator { + color: yellow; +} + +.ace-gruvbox .ace_marker-layer .ace_active-line { + background: #3C3836; +} + +.ace-gruvbox .ace_marker-layer .ace_selected-word { + border-radius: 4px; + border: 8px solid #3f475d; +} + +.ace-gruvbox .ace_print-margin { + width: 5px; + background: #3C3836; +} + +.ace-gruvbox .ace_indent-guide { + background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNQUFD4z6Crq/sfAAuYAuYl+7lfAAAAAElFTkSuQmCC") right repeat-y; +} +`; + +var dom = require("../lib/dom"); +dom.importCssString(exports.cssText, exports.cssClass); +}); +(function() { + window.require(["ace/theme/gruvbox"], function(m) { + if (typeof module == "object" && typeof exports == "object" && module) { + module.exports = m; + } + }); +})(); + diff --git a/static/vendor/ace/theme-nord-dark.js b/static/vendor/ace/theme-nord-dark.js new file mode 100644 index 0000000..47c0003 --- /dev/null +++ b/static/vendor/ace/theme-nord-dark.js @@ -0,0 +1,128 @@ +define("ace/theme/nord-dark",["require","exports","module","ace/lib/dom"], function(require, exports, module) { +"use strict"; +exports.isDark = true; +exports.cssClass = "ace-nord-dark"; +exports.cssText = ` +.ace-nord-dark .ace_gutter { + color: #616e88; +} + +.ace-nord-dark .ace_print-margin { + width: 1px; + background: #4c566a; +} + +.ace-nord-dark { + background-color: #2e3440; + color: #d8dee9; +} + +.ace-nord-dark .ace_entity.ace_other.ace_attribute-name, +.ace-nord-dark .ace_storage { + color: #d8dee9; +} + +.ace-nord-dark .ace_cursor { + color: #d8dee9; +}, + +.ace-nord-dark .ace_string.ace_regexp { + color: #bf616a; +} + +.ace-nord-dark .ace_marker-layer .ace_active-line { + background: #434c5ecc; +} +.ace-nord-dark .ace_marker-layer .ace_selection { + background: #434c5ecc; +} + +.ace-nord-dark.ace_multiselect .ace_selection.ace_start { + box-shadow: 0 0 3px 0px #2e3440; +} + +.ace-nord-dark .ace_marker-layer .ace_step { + background: #ebcb8b; +} + +.ace-nord-dark .ace_marker-layer .ace_bracket { + margin: -1px 0 0 -1px; + border: 1px solid #88c0d066; +} + +.ace-nord-dark .ace_gutter-active-line { + background-color: #434c5ecc; +} + +.ace-nord-dark .ace_marker-layer .ace_selected-word { + border: 1px solid #88c0d066; +} + +.ace-nord-dark .ace_invisible { + color: #4c566a; +} + +.ace-nord-dark .ace_keyword, +.ace-nord-dark .ace_meta, +.ace-nord-dark .ace_support.ace_class, +.ace-nord-dark .ace_support.ace_type { + color: #81a1c1; +} + +.ace-nord-dark .ace_constant.ace_character, +.ace-nord-dark .ace_constant.ace_other { + color: #d8dee9; +} + +.ace-nord-dark .ace_constant.ace_language { + color: #5e81ac; +} + +.ace-nord-dark .ace_constant.ace_escape { + color: #ebcB8b; +} + +.ace-nord-dark .ace_constant.ace_numeric { + color: #b48ead; +} + +.ace-nord-dark .ace_fold { + background-color: #4c566a; + border-color: #d8dee9; +} + +.ace-nord-dark .ace_entity.ace_name.ace_function, +.ace-nord-dark .ace_entity.ace_name.ace_tag, +.ace-nord-dark .ace_support.ace_function, +.ace-nord-dark .ace_variable, +.ace-nord-dark .ace_variable.ace_language { + color: #8fbcbb; +} + +.ace-nord-dark .ace_string { + color: #a3be8c; +} + +.ace-nord-dark .ace_comment { + color: #616e88; +} + +.ace-nord-dark .ace_indent-guide { + box-shadow: inset -1px 0 0 0 #434c5eb3; +} +`; + +exports.$selectionColorConflict = true; + +var dom = require("../lib/dom"); +dom.importCssString(exports.cssText, exports.cssClass); +}); + +(function() { + window.require(["ace/theme/nord-dark"], function(m) { + if (typeof module == "object" && typeof exports == "object" && module) { + module.exports = m; + } + }); +})(); + diff --git a/static/vendor/ace/theme-one-dark.js b/static/vendor/ace/theme-one-dark.js new file mode 100644 index 0000000..b8cb98c --- /dev/null +++ b/static/vendor/ace/theme-one-dark.js @@ -0,0 +1,180 @@ +define("ace/theme/one-dark",["require","exports","module","ace/lib/dom"], function(require, exports, module) { +"use strict"; + +exports.isDark = true; +exports.cssClass = "ace-one-dark"; +exports.cssText = ` +.ace-one-dark .ace_gutter { + background: #282c34; + color: #6a6f7a +} + +.ace-one-dark .ace_print-margin { + width: 1px; + background: #e8e8e8 +} + +.ace-one-dark { + background-color: #282c34; + color: #abb2bf +} + +.ace-one-dark .ace_cursor { + color: #528bff +} + +.ace-one-dark .ace_marker-layer .ace_selection { + background: #3d4350 +} + +.ace-one-dark.ace_multiselect .ace_selection.ace_start { + box-shadow: 0 0 3px 0 #282c34; + border-radius: 2px +} + +.ace-one-dark .ace_marker-layer .ace_step { + background: #c6dbae +} + +.ace-one-dark .ace_marker-layer .ace_bracket { + margin: -1px 0 0 -1px; + border: 1px solid #747369 +} + +.ace-one-dark .ace_marker-layer .ace_active-line { + background: rgba(76, 87, 103, .19) +} + +.ace-one-dark .ace_gutter-active-line { + background-color: rgba(76, 87, 103, .19) +} + +.ace-one-dark .ace_marker-layer .ace_selected-word { + border: 1px solid #3d4350 +} + +.ace-one-dark .ace_fold { + background-color: #61afef; + border-color: #abb2bf +} + +.ace-one-dark .ace_keyword { + color: #c678dd +} + +.ace-one-dark .ace_keyword.ace_operator { + color: #c678dd +} + +.ace-one-dark .ace_keyword.ace_other.ace_unit { + color: #d19a66 +} + +.ace-one-dark .ace_constant.ace_language { + color: #d19a66 +} + +.ace-one-dark .ace_constant.ace_numeric { + color: #d19a66 +} + +.ace-one-dark .ace_constant.ace_character { + color: #56b6c2 +} + +.ace-one-dark .ace_constant.ace_other { + color: #56b6c2 +} + +.ace-one-dark .ace_support.ace_function { + color: #61afef +} + +.ace-one-dark .ace_support.ace_constant { + color: #d19a66 +} + +.ace-one-dark .ace_support.ace_class { + color: #e5c07b +} + +.ace-one-dark .ace_support.ace_type { + color: #e5c07b +} + +.ace-one-dark .ace_storage { + color: #c678dd +} + +.ace-one-dark .ace_storage.ace_type { + color: #c678dd +} + +.ace-one-dark .ace_invalid { + color: #fff; + background-color: #f2777a +} + +.ace-one-dark .ace_invalid.ace_deprecated { + color: #272b33; + background-color: #d27b53 +} + +.ace-one-dark .ace_string { + color: #98c379 +} + +.ace-one-dark .ace_string.ace_regexp { + color: #e06c75 +} + +.ace-one-dark .ace_comment { + font-style: italic; + color: #5c6370 +} + +.ace-one-dark .ace_variable { + color: #e06c75 +} + +.ace-one-dark .ace_variable.ace_parameter { + color: #d19a66 +} + +.ace-one-dark .ace_meta.ace_tag { + color: #e06c75 +} + +.ace-one-dark .ace_entity.ace_other.ace_attribute-name { + color: #e06c75 +} + +.ace-one-dark .ace_entity.ace_name.ace_function { + color: #61afef +} + +.ace-one-dark .ace_entity.ace_name.ace_tag { + color: #e06c75 +} + +.ace-one-dark .ace_markup.ace_heading { + color: #98c379 +} + +.ace-one-dark .ace_indent-guide { + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPQ09NrYAgMjP4PAAtGAwchHMyAAAAAAElFTkSuQmCC) right repeat-y +} +`; + +var dom = require("../lib/dom"); +dom.importCssString(exports.cssText, exports.cssClass); +}); + +(function() { + window.require(["ace/theme/one-dark"], function(m) { + if (typeof module == "object" && typeof exports == "object" && module) { + module.exports = m; + } + }); +})(); + diff --git a/static/vendor/ace/theme-terminal.js b/static/vendor/ace/theme-terminal.js new file mode 100644 index 0000000..fd707eb --- /dev/null +++ b/static/vendor/ace/theme-terminal.js @@ -0,0 +1,150 @@ +define("ace/theme/terminal",["require","exports","module","ace/lib/dom"], function(require, exports, module) { + +exports.isDark = true; +exports.cssClass = "ace-terminal-theme"; +exports.cssText = ` +.ace-terminal-theme .ace_gutter { + background: #1a0005; + color: steelblue +} + +.ace-terminal-theme .ace_print-margin { + width: 1px; + background: #1a1a1a +} + +.ace-terminal-theme { + background-color: black; + color: #DEDEDE +} + +.ace-terminal-theme .ace_cursor { + color: #9F9F9F +} + +.ace-terminal-theme .ace_marker-layer .ace_selection { + background: #424242 +} + +.ace-terminal-theme.ace_multiselect .ace_selection.ace_start { + box-shadow: 0 0 3px 0px black; +} + +.ace-terminal-theme .ace_marker-layer .ace_step { + background: rgb(0, 0, 0) +} + +.ace-terminal-theme .ace_marker-layer .ace_bracket { + background: #090; +} + +.ace-terminal-theme .ace_marker-layer .ace_bracket-start { + background: #090; +} + +.ace-terminal-theme .ace_marker-layer .ace_bracket-unmatched { + margin: -1px 0 0 -1px; + border: 1px solid #900 +} + +.ace-terminal-theme .ace_marker-layer .ace_active-line { + background: #2A2A2A +} + +.ace-terminal-theme .ace_gutter-active-line { + background-color: #2A112A +} + +.ace-terminal-theme .ace_marker-layer .ace_selected-word { + border: 1px solid #424242 +} + +.ace-terminal-theme .ace_invisible { + color: #343434 +} + +.ace-terminal-theme .ace_keyword, +.ace-terminal-theme .ace_meta, +.ace-terminal-theme .ace_storage, +.ace-terminal-theme .ace_storage.ace_type, +.ace-terminal-theme .ace_support.ace_type { + color: tomato +} + +.ace-terminal-theme .ace_keyword.ace_operator { + color: deeppink +} + +.ace-terminal-theme .ace_constant.ace_character, +.ace-terminal-theme .ace_constant.ace_language, +.ace-terminal-theme .ace_constant.ace_numeric, +.ace-terminal-theme .ace_keyword.ace_other.ace_unit, +.ace-terminal-theme .ace_support.ace_constant, +.ace-terminal-theme .ace_variable.ace_parameter { + color: #E78C45 +} + +.ace-terminal-theme .ace_constant.ace_other { + color: gold +} + +.ace-terminal-theme .ace_invalid { + color: yellow; + background-color: red +} + +.ace-terminal-theme .ace_invalid.ace_deprecated { + color: #CED2CF; + background-color: #B798BF +} + +.ace-terminal-theme .ace_fold { + background-color: #7AA6DA; + border-color: #DEDEDE +} + +.ace-terminal-theme .ace_entity.ace_name.ace_function, +.ace-terminal-theme .ace_support.ace_function, +.ace-terminal-theme .ace_variable { + color: #7AA6DA +} + +.ace-terminal-theme .ace_support.ace_class, +.ace-terminal-theme .ace_support.ace_type { + color: #E7C547 +} + +.ace-terminal-theme .ace_heading, +.ace-terminal-theme .ace_string { + color: #B9CA4A +} + +.ace-terminal-theme .ace_entity.ace_name.ace_tag, +.ace-terminal-theme .ace_entity.ace_other.ace_attribute-name, +.ace-terminal-theme .ace_meta.ace_tag, +.ace-terminal-theme .ace_string.ace_regexp, +.ace-terminal-theme .ace_variable { + color: #D54E53 +} + +.ace-terminal-theme .ace_comment { + color: orangered +} + +.ace-terminal-theme .ace_indent-guide { + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYLBWV/8PAAK4AYnhiq+xAAAAAElFTkSuQmCC) right repeat-y; +} +`; + +var dom = require("../lib/dom"); +dom.importCssString(exports.cssText, exports.cssClass); +}); + +(function() { + window.require(["ace/theme/terminal"], function(m) { + if (typeof module == "object" && typeof exports == "object" && module) { + module.exports = m; + } + }); +})(); + diff --git a/static/vendor/ace/theme-tomorrow.js b/static/vendor/ace/theme-tomorrow.js new file mode 100644 index 0000000..a9e1487 --- /dev/null +++ b/static/vendor/ace/theme-tomorrow.js @@ -0,0 +1,143 @@ +define("ace/theme/tomorrow",["require","exports","module","ace/lib/dom"], function(require, exports, module) { + +exports.isDark = false; +exports.cssClass = "ace-tomorrow"; +exports.cssText = ` +.ace-tomorrow .ace_gutter { + background: #f6f6f6; + color: #4D4D4C +} + +.ace-tomorrow .ace_print-margin { + width: 1px; + background: #f6f6f6 +} + +.ace-tomorrow { + background-color: #FFFFFF; + color: #4D4D4C +} + +.ace-tomorrow .ace_cursor { + color: #AEAFAD +} + +.ace-tomorrow .ace_marker-layer .ace_selection { + background: #D6D6D6 +} + +.ace-tomorrow.ace_multiselect .ace_selection.ace_start { + box-shadow: 0 0 3px 0px #FFFFFF; +} + +.ace-tomorrow .ace_marker-layer .ace_step { + background: rgb(255, 255, 0) +} + +.ace-tomorrow .ace_marker-layer .ace_bracket { + margin: -1px 0 0 -1px; + border: 1px solid #D1D1D1 +} + +.ace-tomorrow .ace_marker-layer .ace_active-line { + background: #EFEFEF +} + +.ace-tomorrow .ace_gutter-active-line { + background-color : #dcdcdc +} + +.ace-tomorrow .ace_marker-layer .ace_selected-word { + border: 1px solid #D6D6D6 +} + +.ace-tomorrow .ace_invisible { + color: #D1D1D1 +} + +.ace-tomorrow .ace_keyword, +.ace-tomorrow .ace_meta, +.ace-tomorrow .ace_storage, +.ace-tomorrow .ace_storage.ace_type, +.ace-tomorrow .ace_support.ace_type { + color: #8959A8 +} + +.ace-tomorrow .ace_keyword.ace_operator { + color: #3E999F +} + +.ace-tomorrow .ace_constant.ace_character, +.ace-tomorrow .ace_constant.ace_language, +.ace-tomorrow .ace_constant.ace_numeric, +.ace-tomorrow .ace_keyword.ace_other.ace_unit, +.ace-tomorrow .ace_support.ace_constant, +.ace-tomorrow .ace_variable.ace_parameter { + color: #F5871F +} + +.ace-tomorrow .ace_constant.ace_other { + color: #666969 +} + +.ace-tomorrow .ace_invalid { + color: #FFFFFF; + background-color: #C82829 +} + +.ace-tomorrow .ace_invalid.ace_deprecated { + color: #FFFFFF; + background-color: #8959A8 +} + +.ace-tomorrow .ace_fold { + background-color: #4271AE; + border-color: #4D4D4C +} + +.ace-tomorrow .ace_entity.ace_name.ace_function, +.ace-tomorrow .ace_support.ace_function, +.ace-tomorrow .ace_variable { + color: #4271AE +} + +.ace-tomorrow .ace_support.ace_class, +.ace-tomorrow .ace_support.ace_type { + color: #C99E00 +} + +.ace-tomorrow .ace_heading, +.ace-tomorrow .ace_markup.ace_heading, +.ace-tomorrow .ace_string { + color: #718C00 +} + +.ace-tomorrow .ace_entity.ace_name.ace_tag, +.ace-tomorrow .ace_entity.ace_other.ace_attribute-name, +.ace-tomorrow .ace_meta.ace_tag, +.ace-tomorrow .ace_string.ace_regexp, +.ace-tomorrow .ace_variable { + color: #C82829 +} + +.ace-tomorrow .ace_comment { + color: #8E908C +} + +.ace-tomorrow .ace_indent-guide { + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bdu3f/BwAlfgctduB85QAAAABJRU5ErkJggg==) right repeat-y +} +`; + +var dom = require("../lib/dom"); +dom.importCssString(exports.cssText, exports.cssClass); +}); + +(function() { + window.require(["ace/theme/tomorrow"], function(m) { + if (typeof module == "object" && typeof exports == "object" && module) { + module.exports = m; + } + }); +})(); + diff --git a/templates/index.html b/templates/index.html index 98e5f0e..7802ae5 100644 --- a/templates/index.html +++ b/templates/index.html @@ -73,8 +73,14 @@ main :: (args: [] cstr) { + + + + + +