Skip to content

Instantly share code, notes, and snippets.

@lcajigasm
Last active August 27, 2024 13:21
Show Gist options
  • Select an option

  • Save lcajigasm/ea22144f5f7f244da580412f40aa8b18 to your computer and use it in GitHub Desktop.

Select an option

Save lcajigasm/ea22144f5f7f244da580412f40aa8b18 to your computer and use it in GitHub Desktop.
Monokai Sublime Text 4
# File: /Users/luis/Library/Application Support/Sublime Text/Packages/User/CustomMonokai.sublime-color-scheme
# Font: https://github.com/tonsky/FiraCode
{
"variables": {
"background": "#272822",
"foreground": "#F8F8F2",
"caret": "#F8F8F0",
"accent": "#AE81FF",
"red": "#F92672",
"orange": "#FD971F",
"yellow": "#E6DB74",
"green": "#A6E22E",
"cyan": "#66D9EF",
"blue": "#66D9EF",
"purple": "#AE81FF",
"gutter_foreground": "#75715E",
"gutter_foreground_highlight": "#F8F8F0",
"selection": "#49483E",
"selection_border": "#222218",
"variable": "#A6E22E",
"constant": "#FD971F",
"function": "#66D9EF",
"keyword": "#F92672",
"operator": "#F92672",
"comment": "#75715E",
"php_tag": "#FF9D00",
"html_tag": "#F92672",
"html_attribute": "#66D9EF",
"css_selector": "#66D9EF",
"css_property": "#FD971F",
"css_value": "#A6E22E",
"bootstrap_class": "#AE81FF",
"jquery_selector": "#A6E22E",
"jquery_function": "#66D9EF"
},
"globals": {
"background": "var(background)",
"foreground": "var(foreground)",
"caret": "var(caret)",
"selection": "var(selection)",
"selection_border": "var(selection_border)",
"gutter": "var(background)",
"gutter_foreground": "var(gutter_foreground)",
"line_highlight": "var(selection)",
"highlight": "var(accent)",
"misspelling": "var(red)",
"find_highlight": "var(yellow)",
"find_highlight_foreground": "var(background)",
"brackets_foreground": "var(foreground)",
"brackets_options": "underline",
"tags_options": "stippled_underline"
},
"rules": [
// PHP
{
"scope": "comment",
"foreground": "var(comment)"
},
{
"scope": "string",
"foreground": "var(yellow)"
},
{
"scope": "constant.numeric",
"foreground": "var(cyan)"
},
{
"scope": "variable",
"foreground": "var(variable)"
},
{
"scope": "variable.other.php",
"foreground": "var(variable)"
},
{
"scope": "constant.language, constant.character, constant.other.php",
"foreground": "var(constant)"
},
{
"scope": "keyword, keyword.control, storage.type, storage.modifier, keyword.operator",
"foreground": "var(keyword)"
},
{
"scope": "entity.name.function, entity.name.function.php, support.function",
"foreground": "var(function)"
},
{
"scope": "keyword.operator, keyword.control.php",
"foreground": "var(operator)"
},
{
"scope": "meta.tag.inline.any.html, meta.tag.block.any.php",
"foreground": "var(php_tag)"
},
{
"scope": "entity.name.class, entity.name.type.class",
"foreground": "var(purple)"
},
{
"scope": "entity.name.function",
"foreground": "var(green)"
},
{
"scope": "meta.function-call.php",
"foreground": "var(function)"
},
{
"scope": "support.class.php, support.constant.core.php",
"foreground": "var(blue)"
},
{
"scope": "punctuation.definition.string, punctuation.definition.variable, punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php",
"foreground": "var(foreground)"
},
// HTML
{
"scope": "meta.tag, punctuation.definition.tag.begin, punctuation.definition.tag.end",
"foreground": "var(html_tag)"
},
{
"scope": "entity.name.tag, entity.name.tag.block, entity.name.tag.inline, entity.name.tag.structure",
"foreground": "var(html_tag)"
},
{
"scope": "entity.other.attribute-name",
"foreground": "var(html_attribute)"
},
{
"scope": "string.quoted.double.html, string.quoted.single.html, string.unquoted.html",
"foreground": "var(yellow)"
},
{
"scope": "punctuation.definition.string.begin.html, punctuation.definition.string.end.html",
"foreground": "var(foreground)"
},
// CSS
{
"scope": "source.css entity.name.tag",
"foreground": "var(css_selector)"
},
{
"scope": "support.type.property-name.css",
"foreground": "var(css_property)"
},
{
"scope": "meta.property-value.css, support.constant.property-value.css",
"foreground": "var(css_value)"
},
{
"scope": "entity.other.attribute-name.class.css, entity.other.attribute-name.id.css",
"foreground": "var(blue)"
},
{
"scope": "punctuation.definition.entity.css",
"foreground": "var(foreground)"
},
// JavaScript
{
"scope": "source.js variable.other.readwrite.js",
"foreground": "var(variable)"
},
{
"scope": "constant.language, constant.other, constant.character.js",
"foreground": "var(constant)"
},
{
"scope": "entity.name.function.js, meta.function-call.js",
"foreground": "var(function)"
},
{
"scope": "keyword.operator.js",
"foreground": "var(operator)"
},
{
"scope": "storage.type.function.js, storage.type.var.js, storage.modifier.async.js",
"foreground": "var(keyword)"
},
{
"scope": "string.quoted.double.js, string.quoted.single.js",
"foreground": "var(yellow)"
},
// jQuery
{
"scope": "variable.language.this.js",
"foreground": "var(jquery_selector)"
},
{
"scope": "support.function.jquery",
"foreground": "var(jquery_function)"
},
// Bootstrap (classes)
{
"scope": "entity.other.attribute-name.class.html",
"foreground": "var(bootstrap_class)"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment