love/source/sublime-text/love-template.sublime-color...

294 lines
8.0 KiB
Plaintext
Raw Permalink Normal View History

2020-04-14 11:26:29 +00:00
{
"name": "Love {{ love.name | capitalize }}",
"author": "Holllo",
"version": "{{ version }}",
2020-04-14 11:26:29 +00:00
"variables": {
"foreground1": "{{ love.colors.foreground1 }}",
"foreground2": "{{ love.colors.foreground2 }}",
"background1": "{{ love.colors.background1 }}",
"background2": "{{ love.colors.background2 }}",
/* {% for accent in love.colors.accents %}
"accent{{ loop.index }}": "{{ accent }}"
{{- ',' if loop.index !== love.colors.accents.length }}
{% endfor %} */
},
"globals": {
"foreground": "var(foreground1)",
"background": "var(background1)",
"caret": "color(var(foreground2) alpha(0.9))",
"block_caret": "color(var(foreground2) alpha(0.4))",
"invisibles": "color(var(foreground1) alpha(0.35))",
"line_highlight": "var(foreground1)",
"selection": "color(var(foreground1) alpha(0.2))",
"selection_border": "var(foreground1)",
"misspelling": "var(accent1)",
"active_guide": "color(var(accent2) alpha(0.69))",
"find_highlight_foreground": "var(background2)",
"find_highlight": "var(accent2)",
"brackets_options": "underline",
"brackets_foreground": "color(var(foreground1) alpha(0.65))",
"bracket_contents_options": "underline",
"bracket_contents_foreground": "color(var(foreground1) alpha(0.65))",
"tags_options": "stippled_underline"
},
"rules": [
{
"name": "Comment",
"scope": "comment",
"foreground": "color(var(foreground1) alpha(0.4))"
},
{
"name": "String",
"scope": "string",
"foreground": "var(accent4)"
},
{
"name": "Number",
"scope": "constant.numeric",
"foreground": "var(accent3)"
},
{
"name": "Built-in constant",
"scope": "constant.language",
"foreground": "var(accent3)"
},
{
"name": "User-defined constant",
"scope": "constant.character, constant.other",
"foreground": "var(accent3)"
},
{
"name": "Variable",
"scope": "variable"
},
{
"name": "Keyword",
"scope": "keyword - (source.c keyword.operator | source.c++ keyword.operator | source.objc keyword.operator | source.objc++ keyword.operator), keyword.operator.word",
"foreground": "var(accent9)"
},
{
"name": "Annotation Punctuation",
"scope": "punctuation.definition.annotation",
"foreground": "var(accent6)"
},
{
"name": "JavaScript Dollar",
"scope": "variable.other.dollar.only.js",
"foreground": "#f00"
},
{
"name": "Storage",
"scope": "storage",
"foreground": "var(accent9)"
},
{
"name": "Storage type",
"scope": "storage.type",
"foreground": "var(accent9)",
"font_style": "italic"
},
{
"name": "Entity name",
"scope": "entity.name - (entity.name.filename | entity.name.section | entity.name.tag | entity.name.label)",
"foreground": "var(accent8)"
},
{
"name": "Inherited class",
"scope": "entity.other.inherited-class",
"foreground": "var(accent4)",
"font_style": "italic underline"
},
{
"name": "Function argument",
"scope": "variable.parameter - (source.c | source.c++ | source.objc | source.objc++)",
"foreground": "var(accent3)",
"font_style": "italic"
},
{
"name": "Language variable",
"scope": "variable.language",
"foreground": "var(accent1)",
"font_style": "italic"
},
{
"name": "Tag name",
"scope": "entity.name.tag",
"foreground": "var(accent2)"
},
{
"name": "Tag attribute",
"scope": "entity.other.attribute-name",
"foreground": "var(accent3)"
},
{
"name": "Function call",
"scope": "variable.function, variable.annotation",
"foreground": "var(accent7)"
},
{
"name": "Library function",
"scope": "support.function, support.macro",
"foreground": "var(accent7)"
},
{
"name": "Library constant",
"scope": "support.constant",
"foreground": "var(accent3)"
},
{
"name": "Library class/type",
"scope": "support.type, support.class",
"foreground": "var(accent3)",
"font_style": "italic"
},
{
"name": "Library variable",
"scope": "support.other.variable"
},
{
"name": "Invalid",
"scope": "invalid",
"foreground": "var(accent1)"
},
{
"name": "Invalid deprecated",
"scope": "invalid.deprecated",
"foreground": "var(accent1)"
},
{
"name": "JSON String",
"scope": "meta.structure.dictionary.json string.quoted.double.json",
"foreground": "var(accent3)"
},
{
"name": "YAML String",
"scope": "string.unquoted.yaml",
"foreground": "var(foreground1)"
},
{
"name": "diff.header",
"scope": "meta.diff, meta.diff.header",
"foreground": "var(accent6)"
},
{
"name": "markup headings",
"scope": "markup.heading",
"font_style": "bold"
},
{
"name": "markup headings",
"scope": "markup.heading punctuation.definition.heading",
"foreground": "var(accent4)"
},
{
"name": "markup h1",
"scope": "markup.heading.1 punctuation.definition.heading",
"foreground": "var(accent4)"
},
{
"name": "markup links",
"scope": "markup.underline.link",
"foreground": "var(accent7)"
},
{
"name": "markup bold",
"scope": "markup.bold",
"font_style": "bold"
},
{
"name": "markup italic",
"scope": "markup.italic",
"font_style": "italic"
},
{
"name": "markup bold/italic",
"scope": "markup.italic markup.bold | markup.bold markup.italic",
"font_style": "bold italic"
},
{
"name": "markup hr",
"scope": "punctuation.definition.thematic-break",
"foreground": "var(foreground1)"
},
{
"name": "markup blockquote",
"scope": "markup.quote punctuation.definition.blockquote",
"foreground": "var(accent6)"
},
{
"name": "markup bullets",
"scope": "markup.list.numbered.bullet",
"foreground": "var(accent6)"
},
{
"name": "markup bullets",
"scope": "markup.list.unnumbered.bullet | (markup.list.numbered punctuation.definition)",
"foreground": "var(accent6)"
},
{
"name": "markup code",
"scope": "markup.raw",
"background": "color(var(foreground1) alpha(0.1))"
},
{
"name": "markup punctuation",
"scope": "markup.raw punctuation.definition.raw",
"foreground": "var(accent7)"
},
{
"name": "markup punctuation",
"scope": "text & (punctuation.definition.italic | punctuation.definition.bold | punctuation.definition.raw | punctuation.definition.link | punctuation.definition.metadata | punctuation.definition.image | punctuation.separator.table-cell | punctuation.section.table-header | punctuation.definition.constant)",
"foreground": "var(accent6)"
},
{
"name": "diff.deleted",
"scope": "markup.deleted",
"foreground": "var(accent1)"
},
{
"name": "diff.inserted",
"scope": "markup.inserted",
"foreground": "var(accent6)"
},
{
"name": "diff.changed",
"scope": "markup.changed",
"foreground": "var(accent3)"
},
{
"scope": "constant.numeric.line-number.find-in-files - match",
"foreground": "color(var(accent10) alpha(0.63))"
},
{
"scope": "entity.name.filename",
"foreground": "var(accent3)"
},
{
"scope": "message.error",
"foreground": "var(accent1)"
},
{
"scope": "diff.deleted",
"background": "var(accent1)",
"foreground": "var(background1)"
},
{
"scope": "diff.deleted.char",
"background": "var(accent1)",
"foreground": "var(background1)"
},
{
"scope": "diff.inserted",
"background": "var(accent4)",
"foreground": "var(background1)"
},
{
"scope": "diff.inserted.char",
"background": "var(accent4)",
"foreground": "var(background1)"
}
]
}