Skip to content

Instantly share code, notes, and snippets.

@vpekar
Created March 16, 2023 00:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vpekar/a84205ed2cd1ddcb7c0635684103b20f to your computer and use it in GitHub Desktop.
Save vpekar/a84205ed2cd1ddcb7c0635684103b20f to your computer and use it in GitHub Desktop.
A slightly modified JSON version of Darkmatter colour scheme for Sublime Text 4, based on https://github.com/patrickemuller/Sublime-Darkmatter-Theme
{
"name": "Darkmatter2",
"globals":
{
"background": "#14191f",
"caret": "#F8F8F0",
"foreground": "#aec2e0",
"invisibles": "#3B3A32",
"lineHighlight": "#1b232c",
"selection": "#183c66",
"findHighlight": "#FFE792",
"findHighlightForeground": "#000000",
"selectionBorder": "#183c66",
"activeGuide": "#9D550FB0",
"bracketsForeground": "#F8F8F2A5",
"bracketsOptions": "underline",
"bracketContentsForeground": "#F8F8F2A5",
"bracketContentsOptions": "underline",
"tagsOptions": "stippled_underline"
},
"rules":[
{
"name": "Comment",
"scope": "comment",
"foreground": "#516a88"
},
{
"name": "String",
"scope": "string",
"foreground": "#6ee2ff"
},
{
"name": "Number",
"scope": "constant.numeric",
"foreground": "#6ee2ff"
},
{
"name": "Built-in constant",
"scope": "constant.language",
"foreground": "#6ee2ff"
},
{
"name": "User-defined constant",
"scope": "constant.character, constant.other",
"foreground": "#4cbbff"
},
{
"name": "Variable",
"scope": "variable",
"foreground": "#d0dfe6"
},
{
"name": "Keyword",
"scope": "keyword",
"foreground": "#748aa6"
},
{
"name": "Storage",
"scope": "storage",
"font_style": "",
"foreground": "#ffffff"
},
{
"name": "Storage type",
"scope": "storage.type",
"font_style": "italic",
"foreground": "#267fb5"
},
{
"name": "Class name",
"scope": "entity.name.class",
"font_style": "",
"foreground": "#95CC5E"
},
{
"name": "Inherited class",
"scope": "entity.other.inherited-class",
"font_style": "italic underline",
"foreground": "#95CC5E"
},
{
"name": "Function name",
"scope": "entity.name.function",
"font_style": "",
"foreground": "#effbff"
},
{
"name": "Function argument",
"scope": "variable.parameter",
"font_style": "italic",
"foreground": "#95CC5E"
},
{
"name": "Tag name",
"scope": "entity.name.tag",
"font_style": "",
"foreground": "#ffffff"
},
{
"name": "Tag attribute",
"scope": "entity.other.attribute-name",
"font_style": "",
"foreground": "#7a9bc2"
},
{
"name": "Library function",
"scope": "support.function",
"font_style": "",
"foreground": "#267fb5"
},
{
"name": "Library constant",
"scope": "support.constant",
"font_style": "",
"foreground": "#267fb5"
},
{
"name": "Library class/type",
"scope": "support.type, support.class",
"font_style": "italic",
"foreground": "#267fb5"
},
{
"name": "Library variable",
"scope": "support.other.variable",
"font_style": ""
},
{
"name": "Invalid",
"scope": "invalid",
"background": "#00A8C6",
"font_style": "",
"foreground": "#F8F8F0"
},
{
"name": "Invalid deprecated",
"scope": "invalid.deprecated",
"background": "#8FBE00",
"foreground": "#F8F8F0"
},
{
"name": "JSON String",
"scope": "meta.structure.dictionary.json string.quoted.double.json",
"foreground": "#CFCFC2"
},
{
"name": "diff.header",
"scope": "meta.diff, meta.diff.header",
"foreground": "#75715E"
},
{
"name": "diff.deleted",
"scope": "markup.deleted",
"foreground": "#00A8C6"
},
{
"name": "diff.inserted",
"scope": "markup.inserted",
"foreground": "#A6E22E"
},
{
"name": "diff.changed",
"scope": "markup.changed",
"foreground": "#E6DB74"
},
{
"scope": "constant.numeric.line-number.find-in-files - match",
"foreground": "#8FBE00A0"
},
{
"scope": "entity.name.filename.find-in-files",
"foreground": "#E6DB74"
},
{
"scope": "punctuation.definition.heading.markdown, markup.heading.2.markdown, markup.heading.3.markdown, markup.heading.markdown",
"foreground": "#267fb5"
},
{
"scope": "markup.heading.1.markdown",
"font_style": "underline bold",
"foreground": "#267fb5"
},
{
"name": "Block code",
"scope": "markup.raw.block.markdown, markup.raw.block.fenced.markdown, markup.raw.inline.content.markdown, punctuation.definition.raw.markdown",
"foreground": "#4cbbff"
},
{
"scope": "markup.italic.markdown, markup.bold.markdown, markup.bold_italic.markdown",
"foreground": "#748aa6"
},
{
"scope": "markup.italic.markdown",
"font_style": "italic"
},
{
"scope": "markup.bold.markdown",
"font_style": "bold"
},
{
"scope": "markup.bold_italic.markdown",
"font_style": "bold italic"
},
{
"scope": "punctuation.definition.metadata, markup.underline.link, punctuation.definition.string.begin, punctuation.definition.string.end",
"foreground": "#516a88"
},
{
"scope": "string.other.link.title.markdown, string.other.link.description.markdown",
"foreground": "#aec2e0"
},
{
"scope": "markup.quote.markdown",
"foreground": "#d0dfe6"
}],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment