Skip to content

Commit

Permalink
switch to JSON theme format
Browse files Browse the repository at this point in the history
  • Loading branch information
idleberg committed Jul 17, 2017
1 parent 72e6000 commit 7001509
Show file tree
Hide file tree
Showing 2 changed files with 348 additions and 1 deletion.
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,12 @@
"contributes": {
"themes": [
{
"label": "Hopscotch (Syntax Theme)",
"label": "Hopscotch",
"uiTheme": "vs-dark",
"path": "./themes/hopscotch.json"
},
{
"label": "Hopscotch (TextMate Theme)",
"uiTheme": "vs-dark",
"path": "./themes/hopscotch.tmTheme"
}
Expand Down
342 changes: 342 additions & 0 deletions themes/hopscotch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,342 @@
{
"name": "Hopscotch",
"type": "dark",
"colors": {
"editor.background": "#322931",
"editor.foreground": "#b9b5b8"
},
"tokenColors": [
{
"settings": {
"background": "#322931",
"foreground": "#b9b5b8"
}
},
{
"name": "Text",
"scope": "variable.parameter.function",
"settings": {
"foreground": "#b9b5b8"
}
},
{
"name": "Comments",
"scope": [
"comment",
"punctuation.definition.comment"
],
"settings": {
"foreground": "#797379"
}
},
{
"name": "Punctuation",
"scope": [
"punctuation.definition.string",
"punctuation.definition.variable",
"punctuation.definition.string",
"punctuation.definition.parameters",
"punctuation.definition.string",
"punctuation.definition.array"
],
"settings": {
"foreground": "#b9b5b8"
}
},
{
"name": "Delimiters",
"scope": "none",
"settings": {
"foreground": "#b9b5b8"
}
},
{
"name": "Operators",
"scope": "keyword.operator",
"settings": {
"foreground": "#b9b5b8"
}
},
{
"name": "Keywords",
"scope": [
"keyword",
"keyword.control"
],
"settings": {
"foreground": "#c85e7c"
}
},
{
"name": "Variables",
"scope": "variable",
"settings": {
"foreground": "#dd464c"
}
},
{
"name": "Functions",
"scope": [
"entity.name.function",
"meta.require",
"support.function.any-method"
],
"settings": {
"foreground": "#1290bf"
}
},
{
"name": "Classes",
"scope": [
"support.class",
"entity.name.class",
"entity.name.type"
],
"settings": {
"foreground": "#fdcc59"
}
},
{
"name": "Methods",
"scope": "keyword.other.special-method",
"settings": {
"foreground": "#1290bf"
}
},
{
"name": "Storage",
"scope": "storage",
"settings": {
"foreground": "#c85e7c"
}
},
{
"name": "Support",
"scope": "support.function",
"settings": {
"foreground": "#7e602c"
}
},
{
"name": "Strings, Inherited Class",
"scope": [
"string",
"constant.other.symbol",
"entity.other.inherited-class"
],
"settings": {
"foreground": "#8fc13e"
}
},
{
"name": "Integers",
"scope": "constant.numeric",
"settings": {
"foreground": "#fd8b19"
}
},
{
"name": "Floats",
"scope": "none",
"settings": {
"foreground": "#fd8b19"
}
},
{
"name": "Boolean",
"scope": "none",
"settings": {
"foreground": "#fd8b19"
}
},
{
"name": "Constants",
"scope": "constant",
"settings": {
"foreground": "#fd8b19"
}
},
{
"name": "Tags",
"scope": "entity.name.tag",
"settings": {
"foreground": "#dd464c"
}
},
{
"name": "Attributes",
"scope": "entity.other.attribute-name",
"settings": {
"foreground": "#fd8b19"
}
},
{
"name": "Attribute IDs",
"scope": [
"entity.other.attribute-name.id",
"punctuation.definition.entity"
],
"settings": {
"foreground": "#1290bf"
}
},
{
"name": "Selector",
"scope": "meta.selector",
"settings": {
"foreground": "#c85e7c"
}
},
{
"name": "Values",
"scope": "none",
"settings": {
"foreground": "#fd8b19"
}
},
{
"name": "Headings",
"scope": [
"markup.heading",
"markup.heading.setext",
"punctuation.definition.heading",
"entity.name.section"
],
"settings": {
"fontStyle": "",
"foreground": "#1290bf"
}
},
{
"name": "Units",
"scope": "keyword.other.unit",
"settings": {
"foreground": "#fd8b19"
}
},
{
"name": "Bold",
"scope": [
"markup.bold",
"punctuation.definition.bold"
],
"settings": {
"fontStyle": "bold",
"foreground": "#fdcc59"
}
},
{
"name": "Italic",
"scope": [
"markup.italic",
"punctuation.definition.italic"
],
"settings": {
"fontStyle": "italic",
"foreground": "#c85e7c"
}
},
{
"name": "Code",
"scope": "markup.inline.raw",
"settings": {
"foreground": "#8fc13e"
}
},
{
"name": "Link Text",
"scope": "string.other.link",
"settings": {
"foreground": "#dd464c"
}
},
{
"name": "Link Url",
"scope": "meta.link",
"settings": {
"foreground": "#fd8b19"
}
},
{
"name": "Lists",
"scope": "markup.list",
"settings": {
"foreground": "#dd464c"
}
},
{
"name": "Quotes",
"scope": "markup.quote",
"settings": {
"foreground": "#fd8b19"
}
},
{
"name": "Separator",
"scope": "meta.separator",
"settings": {
"background": "#5c545b",
"foreground": "#b9b5b8"
}
},
{
"name": "Inserted",
"scope": "markup.inserted",
"settings": {
"foreground": "#8fc13e"
}
},
{
"name": "Deleted",
"scope": "markup.deleted",
"settings": {
"foreground": "#dd464c"
}
},
{
"name": "Changed",
"scope": "markup.changed",
"settings": {
"foreground": "#c85e7c"
}
},
{
"name": "Colors",
"scope": "constant.other.color",
"settings": {
"foreground": "#7e602c"
}
},
{
"name": "Regular Expressions",
"scope": "string.regexp",
"settings": {
"foreground": "#7e602c"
}
},
{
"name": "Escape Characters",
"scope": "constant.character.escape",
"settings": {
"foreground": "#7e602c"
}
},
{
"name": "Embedded",
"scope": [
"punctuation.section.embedded",
"variable.interpolation"
],
"settings": {
"foreground": "#149b93"
}
},
{
"name": "Invalid",
"scope": "invalid.illegal",
"settings": {
"foreground": "#dd464c"
}
}
]
}

0 comments on commit 7001509

Please sign in to comment.