Last active
October 4, 2019 14:56
-
-
Save njohnson7/8e9b9b60242a0014a75b34a2d949e3da to your computer and use it in GitHub Desktop.
How to use a custom syntax highlighting theme in Postman by modifying the requester.js file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/***/ function(module, exports) { // line 105955 in 'requester.js' | |
"use strict"; | |
ace.define("ace/theme/monokai", ["require", "exports", "module", "ace/lib/dom"], function (acequire, exports, module) { | |
exports.isDark = true; | |
exports.cssClass = "ace-monokai"; | |
// this is the string you want to change (line 105963 in 'requester.js'): | |
exports.cssText = ".ace-monokai .ace_gutter {\ | |
background: #1a1a1a;\ | |
color: #BEBEBE;\ | |
}\ | |
.ace-monokai .ace_print-margin {\ | |
width: 1px;\ | |
background: #1a1a1a;\ | |
}\ | |
.ace-monokai {\ | |
background-color: #0F0F0F;\ | |
color: #FFFFFF;\ | |
}\ | |
.ace-monokai .ace_cursor {\ | |
color: #FFFFFF;\ | |
}\ | |
.ace-monokai .ace_marker-layer .ace_selection {\ | |
background: #6699CC;\ | |
}\ | |
.ace-monokai.ace_multiselect .ace_selection.ace_start {\ | |
box-shadow: 0 0 3px 0px #0F0F0F;\ | |
}\ | |
.ace-monokai .ace_marker-layer .ace_step {\ | |
background: rgb(102, 82, 0);\ | |
}\ | |
.ace-monokai .ace_marker-layer .ace_bracket {\ | |
margin: -1px 0 0 -1px;\ | |
border: 1px solid #404040;\ | |
}\ | |
.ace-monokai .ace_marker-layer .ace_active-line {\ | |
background: #333333;\ | |
}\ | |
.ace-monokai .ace_gutter-active-line {\ | |
background-color: #333333;\ | |
}\ | |
.ace-monokai .ace_marker-layer .ace_selected-word {\ | |
border: 1px solid #6699CC;\ | |
}\ | |
.ace-monokai .ace_invisible {\ | |
color: #404040;\ | |
}\ | |
.ace-monokai .ace_keyword,\ | |
.ace-monokai .ace_meta {\ | |
color: #FF6600;\ | |
}\ | |
.ace-monokai .ace_constant,\ | |
.ace-monokai .ace_constant.ace_character,\ | |
.ace-monokai .ace_constant.ace_character.ace_escape,\ | |
.ace-monokai .ace_constant.ace_other {\ | |
color: #339999;\ | |
}\ | |
.ace-monokai .ace_constant.ace_numeric {\ | |
color: #99CC99;\ | |
}\ | |
.ace-monokai .ace_invalid,\ | |
.ace-monokai .ace_invalid.ace_deprecated {\ | |
color: #CCFF33;\ | |
background-color: #000000;\ | |
}\ | |
.ace-monokai .ace_fold {\ | |
background-color: #FFCC00;\ | |
border-color: #FFFFFF;\ | |
}\ | |
.ace-monokai .ace_entity.ace_name.ace_function,\ | |
.ace-monokai .ace_support.ace_function,\ | |
.ace-monokai .ace_variable {\ | |
color: #FFCC00;\ | |
}\ | |
.ace-monokai .ace_variable.ace_parameter {\ | |
font-style: italic;\ | |
}\ | |
.ace-monokai .ace_string {\ | |
color: #66FF00;\ | |
}\ | |
.ace-monokai .ace_string.ace_regexp {\ | |
color: #44B4CC;\ | |
}\ | |
.ace-monokai .ace_comment {\ | |
color: #959595;\ | |
}\ | |
.ace-monokai .ace_entity.ace_other.ace_attribute-name {\ | |
font-style: italic;\ | |
color: #99CC99;\ | |
}\ | |
.ace-monokai .ace_indent-guide {\ | |
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYNDTc/oPAALPAZ7hxlbYAAAAAElFTkSuQmCC) right repeat-y;\ | |
}"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment