Generate light theme

From the Textmate theme
This commit is contained in:
simurai 2020-03-24 15:30:23 +09:00
parent b3db9b5b1c
commit f3f127459f
6 changed files with 503 additions and 2 deletions

18
.vscode/launch.json vendored Normal file
View file

@ -0,0 +1,18 @@
// A launch configuration that launches the extension inside a new window
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
{
"version": "0.2.0",
"configurations": [
{
"name": "Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
]
}
]
}

3
.vscodeignore Normal file
View file

@ -0,0 +1,3 @@
.vscode/**
.vscode-test/**
.gitignore

3
CHANGELOG.md Normal file
View file

@ -0,0 +1,3 @@
## [Unreleased]
- Initial release

View file

@ -1,2 +1,3 @@
# github-vscode-light
GitHub's VS Code theme
# GitHub VS Code theme
> 🚧 WIP

21
package.json Normal file
View file

@ -0,0 +1,21 @@
{
"name": "github-vscode-theme",
"displayName": "GitHub VSCode Theme",
"description": "GitHub theme for VS Code",
"version": "0.0.1",
"engines": {
"vscode": "^1.43.0"
},
"categories": [
"Themes"
],
"contributes": {
"themes": [
{
"label": "GitHub light",
"uiTheme": "vs",
"path": "./themes/color-theme-light.json"
}
]
}
}

View file

@ -0,0 +1,455 @@
{
"tokenColors": [
{
"settings": {
"background": "#fff",
"foreground": "#24292e",
"diffRenamed": "#fafbfc",
"diffModified": "#f9c513",
"diffDeleted": "#d73a49",
"diffAdded": "#34d058",
"markdown": "#f7f7f7",
"selectionBorder": "#fafbfc",
"findHighlight": "#e36209",
"findHighlightForeground": "#fff8f2",
"activeGuide": "#24292e",
"stackGuide": "#959da5",
"highlight": "#444d56",
"popupCss": "<![CDATA[html { background-color: #e0e0e0; } h1, h2, h3, h4, h5, h6 { color: #005cc5; margin-top: 0.2em; margin-bottom: 0.2em; } h1 { font-size: 1.5em; } h2 { font-size: 1.4em; } h3 { font-size: 1.3em; } h4 { font-size: 1.2em; } h5 { font-size: 1.1em; } h6 { font-size: 1em; } blockquote { color: #22863a; display: block; font-style: italic; } pre { display: block; } a { color: #032f62; font-style: underline; } body { color: #24292e; background-color: #fff; margin: 1px; font-size: 1em; padding: 0.2em; } .danger { color: #b31d28; } .important, .attention { color: #6f42c1; } .caution, .warning { color: #e36209; } .note { color: #735c0f; }]]>",
"highlightForeground": "#444d56",
"tagsOptions": "underline",
"bracketContentsOptions": "underline",
"bracketContentsForeground": "#24292e",
"bracketsOptions": "underline",
"bracketsForeground": "#24292e",
"gutterForeground": "#24292e"
}
},
{
"scope": [
"comment",
"punctuation.definition.comment",
"string.comment"
],
"settings": {
"foreground": "#6a737d"
},
"name": "Comment"
},
{
"scope": [
"constant",
"entity.name.constant",
"variable.other.constant",
"variable.language"
],
"settings": {
"foreground": "#005cc5"
},
"name": "Constant"
},
{
"scope": [
"keyword.operator.symbole",
"keyword.other.mark"
],
"name": "Clojure workaround; don't highlight these separately from their enclosing scope",
"settings": {}
},
{
"scope": [
"entity",
"entity.name"
],
"settings": {
"fontStyle": "",
"foreground": "#6f42c1"
},
"name": "Entity"
},
{
"scope": "variable.parameter.function",
"settings": {
"foreground": "#24292e"
}
},
{
"scope": "entity.name.tag",
"settings": {
"fontStyle": "",
"foreground": "#22863a"
}
},
{
"scope": "keyword",
"settings": {
"fontStyle": "",
"foreground": "#d73a49"
},
"name": "Keyword"
},
{
"scope": [
"storage",
"storage.type"
],
"settings": {
"foreground": "#d73a49"
},
"name": "Storage"
},
{
"scope": [
"storage.modifier.package",
"storage.modifier.import",
"storage.type.java"
],
"settings": {
"foreground": "#24292e"
}
},
{
"scope": [
"string",
"punctuation.definition.string",
"string punctuation.section.embedded source"
],
"settings": {
"fontStyle": "",
"foreground": "#032f62"
},
"name": "String"
},
{
"name": "Ada workaround; don't highlight imports as strings",
"scope": "string.unquoted.import.ada",
"settings": {}
},
{
"scope": "support",
"settings": {
"fontStyle": "",
"foreground": "#005cc5"
},
"name": "Support"
},
{
"scope": "meta.property-name",
"settings": {
"fontStyle": "",
"foreground": "#005cc5"
}
},
{
"scope": "variable",
"settings": {
"fontStyle": "",
"foreground": "#e36209"
},
"name": "Variable"
},
{
"scope": "variable.other",
"settings": {
"foreground": "#24292e"
}
},
{
"scope": "invalid.broken",
"settings": {
"fontStyle": "bold italic underline",
"foreground": "#b31d28"
},
"name": "Invalid - Broken"
},
{
"scope": "invalid.deprecated",
"settings": {
"fontStyle": "bold italic underline",
"foreground": "#b31d28"
},
"name": "Invalid Deprecated"
},
{
"scope": "invalid.illegal",
"settings": {
"fontStyle": "italic underline",
"background": "#b31d28",
"foreground": "#fafbfc"
},
"name": "Invalid Illegal"
},
{
"scope": "carriage-return",
"settings": {
"fontStyle": "italic underline",
"background": "#d73a49",
"foreground": "#fafbfc",
"content": "^M"
},
"name": "Carriage Return"
},
{
"scope": "invalid.unimplemented",
"settings": {
"fontStyle": "bold italic underline",
"foreground": "#b31d28"
},
"name": "Invalid - Unimplemented"
},
{
"scope": "message.error",
"settings": {
"foreground": "#b31d28"
}
},
{
"scope": "string source",
"settings": {
"fontStyle": "",
"foreground": "#24292e"
},
"name": "String embedded-source"
},
{
"scope": "string variable",
"settings": {
"fontStyle": "",
"foreground": "#005cc5"
},
"name": "String variable"
},
{
"scope": [
"source.regexp",
"string.regexp"
],
"settings": {
"fontStyle": "",
"foreground": "#032f62"
},
"name": "String.regexp"
},
{
"scope": [
"string.regexp.character-class",
"string.regexp constant.character.escape",
"string.regexp source.ruby.embedded",
"string.regexp string.regexp.arbitrary-repitition"
],
"settings": {
"foreground": "#032f62"
},
"name": "String.regexp.«special»"
},
{
"scope": "string.regexp constant.character.escape",
"settings": {
"fontStyle": "bold",
"foreground": "#22863a"
},
"name": "String.regexp constant.character.escape"
},
{
"scope": "support.constant",
"settings": {
"fontStyle": "",
"foreground": "#005cc5"
},
"name": "Support.constant"
},
{
"scope": "support.variable",
"settings": {
"foreground": "#005cc5"
},
"name": "Support.variable"
},
{
"scope": "meta.module-reference",
"settings": {
"foreground": "#005cc5"
},
"name": "meta module-reference"
},
{
"scope": "markup.list",
"settings": {
"foreground": "#735c0f"
},
"name": "Markup.list"
},
{
"scope": [
"markup.heading",
"markup.heading entity.name"
],
"settings": {
"fontStyle": "bold",
"foreground": "#005cc5"
},
"name": "Markup.heading"
},
{
"scope": "markup.quote",
"settings": {
"foreground": "#22863a"
},
"name": "Markup.quote"
},
{
"scope": "markup.italic",
"settings": {
"fontStyle": "italic",
"foreground": "#24292e"
},
"name": "Markup.italic"
},
{
"scope": "markup.bold",
"settings": {
"fontStyle": "bold",
"foreground": "#24292e"
},
"name": "Markup.bold"
},
{
"scope": "markup.raw",
"settings": {
"fontStyle": "",
"foreground": "#005cc5"
},
"name": "Markup.raw"
},
{
"scope": [
"markup.deleted",
"meta.diff.header.from-file",
"punctuation.definition.deleted"
],
"settings": {
"background": "#ffeef0",
"foreground": "#b31d28"
},
"name": "Markup.deleted"
},
{
"scope": [
"markup.inserted",
"meta.diff.header.to-file",
"punctuation.definition.inserted"
],
"settings": {
"background": "#f0fff4",
"foreground": "#22863a"
},
"name": "Markup.inserted"
},
{
"scope": [
"markup.changed",
"punctuation.definition.changed"
],
"settings": {
"background": "#ffebda",
"foreground": "#e36209"
}
},
{
"scope": [
"markup.ignored",
"markup.untracked"
],
"settings": {
"foreground": "#f6f8fa",
"background": "#005cc5"
}
},
{
"scope": "meta.diff.range",
"settings": {
"foreground": "#6f42c1",
"fontStyle": "bold"
}
},
{
"scope": "meta.diff.header",
"settings": {
"foreground": "#005cc5"
}
},
{
"scope": "meta.separator",
"settings": {
"fontStyle": "bold",
"foreground": "#005cc5"
},
"name": "Meta.separator"
},
{
"name": "Output",
"scope": "meta.output",
"settings": {
"foreground": "#005cc5"
}
},
{
"scope": [
"brackethighlighter.tag",
"brackethighlighter.curly",
"brackethighlighter.round",
"brackethighlighter.square",
"brackethighlighter.angle",
"brackethighlighter.quote"
],
"settings": {
"foreground": "#586069"
}
},
{
"scope": "brackethighlighter.unmatched",
"settings": {
"foreground": "#b31d28"
}
},
{
"scope": "sublimelinter.mark.error",
"settings": {
"foreground": "#b31d28"
}
},
{
"scope": "sublimelinter.mark.warning",
"settings": {
"foreground": "#e36209"
}
},
{
"scope": "sublimelinter.gutter-mark",
"settings": {
"foreground": "#959da5"
}
},
{
"scope": [
"constant.other.reference.link",
"string.other.link"
],
"settings": {
"foreground": "#032f62",
"fontStyle": "underline"
}
}
],
"colors": {
"editor.selectionBackground": "#c8c8fa",
"editor.lineHighlightBackground": "#fafbfc",
"editor.background": "#fff",
"editor.foreground": "#24292e",
"editorWhitespace.foreground": "#959da5",
"editorCursor.foreground": "#24292e",
"editor.inactiveSelectionBackground": "#fafbfc",
"editorIndentGuide.background": "#959da5"
},
"name": "GitHub light"
}