feat: add kanagawa theme

This commit is contained in:
Keisuke Hirata 2024-09-07 02:34:16 +09:00
parent 8794fff8b2
commit 0512b64ce4
2 changed files with 920 additions and 0 deletions

915
src/lib/kanagawa.json Normal file
View File

@ -0,0 +1,915 @@
{
"name": "Kanagawa",
"type": "dark",
"semanticHighlighting": true,
"colors": {
"activityBar.background": "#2A2A37",
"activityBar.foreground": "#DCD7BA",
"activityBarBadge.background": "#658594",
"activityBarBadge.foreground": "#DCD7BA",
"badge.background": "#2A2A37",
"button.background": "#2A2A37",
"button.secondaryBackground": "#223249",
"button.secondaryForeground": "#DCD7BA",
"checkbox.border": "#223249",
"debugToolBar.background": "#16161D",
"descriptionForeground": "#DCD7BA",
"diffEditor.insertedTextBackground": "#2B3328",
"dropdown.background": "#16161D",
"dropdown.border": "#16161D",
"editor.background": "#1F1F28",
"editor.findMatchBackground": "#2D4F67",
"editor.findMatchBorder": "#FF9E3B",
"editor.findMatchHighlightBackground": "#2D4F67",
"editor.foreground": "#DCD7BA",
"editorHoverWidget.highlightForeground": "#658594",
"editorInlayHint.foreground": "#727169",
"editorInlayHint.background": "#1F1F28",
"editor.lineHighlightBackground": "#2A2A37",
"editorLineNumber.activeForeground": "#957FB8",
"editorGutter.addedBackground": "#76946A",
"editorGutter.deletedBackground": "#C34043",
"editorGutter.modifiedBackground": "#DCA561",
"editor.wordHighlightBackground": "#3636464d",
"editor.wordHighlightBorder": "#54546D",
"editor.wordHighlightStrongBackground": "#3636464d",
"editor.wordHighlightStrongBorder": "#54546D",
"editor.selectionBackground": "#223249",
"editor.selectionHighlightBackground": "#363646",
"editor.selectionHighlightBorder": "#54546D",
"editorBracketMatch.background": "#16161D",
"editorBracketMatch.border": "#54546D",
"editorBracketHighlight.foreground1": "#957FB8",
"editorBracketHighlight.foreground2": "#FFA066",
"editorBracketHighlight.foreground3": "#7E9CD8",
"editorBracketHighlight.foreground4": "#D27E99",
"editorBracketHighlight.foreground5": "#E6C384",
"editorBracketHighlight.foreground6": "#7AA89F",
"editorBracketHighlight.unexpectedBracket.foreground": "#FF5D62",
"editorBracketPairGuide.activeBackground1": "#957FB8",
"editorBracketPairGuide.activeBackground2": "#FFA066",
"editorBracketPairGuide.activeBackground3": "#7E9CD8",
"editorBracketPairGuide.activeBackground4": "#D27E99",
"editorBracketPairGuide.activeBackground5": "#E6C384",
"editorBracketPairGuide.activeBackground6": "#7AA89F",
"editorCursor.background": "#DCD7BA",
"editorCursor.foreground": "#DCD7BA",
"editorError.foreground": "#E82424",
"editorGroup.border": "#16161D",
"editorGroupHeader.tabsBackground": "#16161D",
"editorHoverWidget.background": "#1F1F28",
"editorHoverWidget.border": "#2A2A37",
"editorIndentGuide.activeBackground": "#363646",
"editorIndentGuide.background": "#2A2A37",
"editorLineNumber.foreground": "#54546D",
"editorMarkerNavigation.background": "#363646",
"editorRuler.foreground": "#363646",
"editorSuggestWidget.background": "#223249",
"editorSuggestWidget.border": "#223249",
"editorSuggestWidget.selectedBackground": "#2D4F67",
"editorWarning.foreground": "#FF9E3B",
"editorWhitespace.foreground": "#1F1F28",
"editorWidget.background": "#1f1f28",
"focusBorder": "#223249",
"gitDecoration.ignoredResourceForeground": "#727169",
"input.background": "#16161D",
"list.activeSelectionBackground": "#363646",
"list.activeSelectionForeground": "#DCD7BA",
"list.focusBackground": "#2A2A37",
"list.focusForeground": "#DCD7BA",
"list.highlightForeground": "#7E9CD8",
"list.hoverBackground": "#363646",
"list.hoverForeground": "#DCD7BA",
"list.inactiveSelectionBackground": "#2A2A37",
"list.inactiveSelectionForeground": "#DCD7BA",
"list.warningForeground": "#FF9E3B",
"menu.foreground": "#DCD7BA",
"menu.separatorBackground": "#16161D",
"minimapGutter.addedBackground": "#76946A",
"minimapGutter.deletedBackground": "#C34043",
"minimapGutter.modifiedBackground": "#DCA561",
"panel.border": "#16161D",
"sideBar.border": "#16161D",
"panelSectionHeader.background": "#1f1f28",
"peekView.border": "#54546D",
"peekViewEditor.background": "#2A2A37",
"peekViewEditor.matchHighlightBackground": "#2D4F67",
"peekViewResult.background": "#363646",
"scrollbar.shadow": "#363646",
"scrollbarSlider.activeBackground": "#6f6f9080",
"scrollbarSlider.background": "#54546D66",
"scrollbarSlider.hoverBackground": "#54546D80",
"settings.focusedRowBackground": "#363646",
"settings.headerForeground": "#DCD7BA",
"sideBar.background": "#1F1F28",
"sideBar.foreground": "#DCD7BA",
"sideBarSectionHeader.background": "#363646",
"sideBarSectionHeader.foreground": "#DCD7BA",
"statusBar.background": "#16161D",
"statusBar.debuggingBackground": "#E82424",
"statusBar.debuggingBorder": "#957FB8",
"statusBar.debuggingForeground": "#DCD7BA",
"statusBar.foreground": "#C8C093",
"statusBar.noFolderBackground": "#1f1f28",
"statusBarItem.hoverBackground": "#363646",
"statusBarItem.remoteBackground": "#2D4F67",
"statusBarItem.remoteForeground": "#DCD7BA",
"tab.activeBackground": "#363646",
"tab.activeForeground": "#DCD7BA",
"tab.border": "#16161d",
"tab.hoverBackground": "#54546D",
"tab.inactiveBackground": "#1f1f28",
"tab.unfocusedHoverBackground": "#2A2A37",
"terminal.ansiBlack": "#1F1F28",
"terminal.ansiBlue": "#658594",
"terminal.ansiBrightBlack": "#2A2A37",
"terminal.ansiBrightBlue": "#7FB4CA",
"terminal.ansiBrightCyan": "#A3D4D5",
"terminal.ansiBrightGreen": "#98BB6C",
"terminal.ansiBrightMagenta": "#D27E99",
"terminal.ansiBrightRed": "#FF5D62",
"terminal.ansiBrightWhite": "#DCD7BA",
"terminal.ansiBrightYellow": "#E6C384",
"terminal.ansiCyan": "#9CABCA",
"terminal.ansiGreen": "#76946A",
"terminal.ansiMagenta": "#957FB8",
"terminal.ansiRed": "#E82424",
"terminal.ansiWhite": "#DCD7BA",
"terminal.ansiYellow": "#FF9E3B",
"terminal.background": "#1F1F28",
"terminal.border": "#16161D",
"terminal.foreground": "#DCD7BA",
"terminal.selectionBackground": "#223249",
"textBlockQuote.background": "#1F1F28",
"textBlockQuote.border": "#16161D",
"textLink.foreground": "#6A9589",
"textPreformat.foreground": "#FF9E3B",
"titleBar.activeBackground": "#363646",
"titleBar.activeForeground": "#DCD7BA",
"titleBar.inactiveBackground": "#1F1F28",
"titleBar.inactiveForeground": "#DCD7BA",
"walkThrough.embeddedEditorBackground": "#1F1F28"
},
"tokenColors": [
{
"name": "Comment",
"scope": [
"comment",
"punctuation.definition.comment"
],
"settings": {
"foreground": "#727169"
}
},
{
"name": "Variables",
"scope": [
"variable",
"string constant.other.placeholder"
],
"settings": {
"foreground": "#DCD7BA"
}
},
{
"name": "Colors",
"scope": [
"constant.other.color"
],
"settings": {
"foreground": "#FFA066"
}
},
{
"name": "Invalid",
"scope": [
"invalid",
"invalid.illegal"
],
"settings": {
"foreground": "#E82424"
}
},
{
"name": "Storage - Type",
"scope": [
"storage.type"
],
"settings": {
"foreground": "#957FB8"
}
},
{
"name": "Storage - Modifier",
"scope": [
"storage.modifier"
],
"settings": {
"foreground": "#957FB8"
}
},
{
"name": "Control Keyword",
"scope": [
"keyword.control.flow",
"keyword.control.conditional",
"keyword.control.loop"
],
"settings": {
"foreground": "#957FB8",
"fontStyle": "bold"
}
},
{
"name": "Operator, Misc",
"scope": [
"keyword.control",
"constant.other.color",
"meta.tag",
"keyword.other.template",
"keyword.other.substitution",
"keyword.other"
],
"settings": {
"foreground": "#957FB8"
}
},
{
"name": "ini file definition",
"scope": [
"keyword.other.definition.ini"
],
"settings": {
"foreground": "#FFA066"
}
},
{
"name": "Operator, Misc",
"scope": [
"keyword.control.trycatch"
],
"settings": {
"foreground": "#FF5D62",
"fontStyle": "bold"
}
},
{
"name": "Identifiers",
"scope": [
"keyword.other.unit",
"keyword.operator"
],
"settings": {
"foreground": "#C0A36E"
}
},
{
"name": "Punctuation, Brace",
"scope": [
"punctuation",
"punctuation.definition.tag",
"punctuation.separator.inheritance.php",
"punctuation.definition.tag.html",
"punctuation.definition.tag.begin.html",
"punctuation.definition.tag.end.html",
"punctuation.section.embedded",
"meta.brace",
"keyword.operator.type.annotation",
"keyword.operator.namespace"
],
"settings": {
"foreground": "#9CABCA"
}
},
{
"name": "Tag",
"scope": [
"entity.name.tag",
"meta.tag.sgml"
],
"settings": {
"foreground": "#E6C384"
}
},
{
"name": "HTML Tag",
"scope": [
"entity.name.tag.html"
],
"settings": {
"foreground": "#957FB8"
}
},
{
"name": "Function, Special Method",
"scope": [
"entity.name.function",
"meta.function-call",
"variable.function",
"support.function",
"keyword.other.special-method"
],
"settings": {
"foreground": "#7E9CD8"
}
},
{
"name": "Macto",
"scope": [
"entity.name.function.macro"
],
"settings": {
"foreground": "#FFA066"
}
},
{
"name": "Block Level Variables",
"scope": [
"meta.block variable.other"
],
"settings": {
"foreground": "#DCD7BA"
}
},
{
"name": "Other Variable",
"scope": [
"support.other.variable"
],
"settings": {
"foreground": "#DCD7BA"
}
},
{
"name": "String Link",
"scope": [
"string.other.link"
],
"settings": {
"foreground": "#FFA066"
}
},
{
"name": "Constant, Function Argument, Tag Attribute, Embedded",
"scope": [
"constant.numeric",
"constant.language",
"support.constant",
"constant.character",
"constant.escape"
],
"settings": {
"foreground": "#7FB4CA"
}
},
{
"name": "Boolean",
"scope": [
"constant.language.boolean"
],
"settings": {
"foreground": "#FFA066"
}
},
{
"name": "Number",
"scope": [
"constant.numeric"
],
"settings": {
"foreground": "#D27E99"
}
},
{
"name": "String, Symbols, Inherited Class, Markup Heading",
"scope": [
"string",
"punctuation.definition.string",
"constant.other.symbol",
"constant.other.key",
"entity.other.inherited-class",
"markup.heading",
"markup.inserted.git_gutter",
"meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js",
"markup.inline.raw.string"
],
"settings": {
"foreground": "#98BB6C"
}
},
{
"name": "Class, Support",
"scope": [
"entity.name",
"support.type",
"support.class",
"support.other.namespace.use.php",
"meta.use.php",
"support.other.namespace.php",
"support.type.sys-types"
],
"settings": {
"foreground": "#7AA89F"
}
},
{
"name": "Namespace, Module",
"scope": [
"entity.name.type.module",
"entity.name.namespace"
],
"settings": {
"foreground": "#DCD7BA"
}
},
{
"name": "Go import",
"scope": [
"entity.name.import.go"
],
"settings": {
"foreground": "#98BB6C"
}
},
{
"name": "Property",
"scope": [
"variable.other.property"
],
"settings": {
"foreground": "#E6C384"
}
},
{
"name": "Import",
"scope": [
"keyword.control.import",
"keyword.import",
"meta.import"
],
"settings": {
"foreground": "#FFA066"
}
},
{
"name": "CSS Class and Support",
"scope": [
"source.css support.type.property-name",
"source.sass support.type.property-name",
"source.scss support.type.property-name",
"source.less support.type.property-name",
"source.stylus support.type.property-name",
"source.postcss support.type.property-name"
],
"settings": {
"foreground": "#7AA89F"
}
},
{
"name": "Sub-methods",
"scope": [
"entity.name.module.js",
"variable.import.parameter.js",
"variable.other.class.js"
],
"settings": {
"foreground": "#FF5D62"
}
},
{
"name": "Language methods",
"scope": [
"variable.language"
],
"settings": {
"foreground": "#FF5D62"
}
},
{
"name": "entity.name.method.js",
"scope": [
"entity.name.method.js"
],
"settings": {
"foreground": "#7E9CD8"
}
},
{
"name": "meta.method.js",
"scope": [
"meta.class-method.js entity.name.function.js",
"variable.function.constructor"
],
"settings": {
"foreground": "#7E9CD8"
}
},
{
"name": "Attributes",
"scope": [
"entity.other.attribute-name"
],
"settings": {
"foreground": "#957FB8"
}
},
{
"name": "HTML Attributes",
"scope": [
"entity.other.attribute-name.html",
"entity.other.attribute-name",
"invalid.deprecated.entity.other.attribute-name.html"
],
"settings": {
"foreground": "#E6C384"
}
},
{
"name": "CSS Classes",
"scope": [
"entity.other.attribute-name.class"
],
"settings": {
"foreground": "#E6C384"
}
},
{
"name": "CSS ID's",
"scope": [
"source.sass keyword.control"
],
"settings": {
"foreground": "#7FB4CA"
}
},
{
"name": "Inserted",
"scope": [
"markup.inserted"
],
"settings": {
"foreground": "#76946A"
}
},
{
"name": "Deleted",
"scope": [
"markup.deleted"
],
"settings": {
"foreground": "#C34043"
}
},
{
"name": "Changed",
"scope": [
"markup.changed"
],
"settings": {
"foreground": "#DCA561"
}
},
{
"name": "Regular Expressions",
"scope": [
"string.regexp"
],
"settings": {
"foreground": "#7FB4CA"
}
},
{
"name": "Escape Characters",
"scope": [
"constant.character.escape"
],
"settings": {
"foreground": "#7FB4CA"
}
},
{
"name": "URL",
"scope": [
"*url*",
"*link*",
"*uri*"
],
"settings": {
"fontStyle": "underline"
}
},
{
"name": "Decorators",
"scope": [
"tag.decorator.js entity.name.tag.js",
"tag.decorator.js punctuation.definition.tag.js"
],
"settings": {
"foreground": "#957FB8"
}
},
{
"name": "ES7 Bind Operator",
"scope": [
"source.js constant.other.object.key.js string.unquoted.label.js"
],
"settings": {
"foreground": "#FF5D62"
}
},
{
"name": "JSON Key - Level 0",
"scope": [
"source.json meta.structure.dictionary.json support.type.property-name.json"
],
"settings": {
"foreground": "#D27E99"
}
},
{
"name": "JSON Key - Level 1",
"scope": [
"source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"
],
"settings": {
"foreground": "#E6C384"
}
},
{
"name": "JSON Key - Level 2",
"scope": [
"source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"
],
"settings": {
"foreground": "#FFA066"
}
},
{
"name": "JSON Key - Level 3",
"scope": [
"source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"
],
"settings": {
"foreground": "#FF5D62"
}
},
{
"name": "JSON Key - Level 4",
"scope": [
"source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"
],
"settings": {
"foreground": "#FFA066"
}
},
{
"name": "JSON Key - Level 5",
"scope": [
"source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"
],
"settings": {
"foreground": "#7E9CD8"
}
},
{
"name": "JSON Key - Level 6",
"scope": [
"source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"
],
"settings": {
"foreground": "#D27E99"
}
},
{
"name": "JSON Key - Level 7",
"scope": [
"source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"
],
"settings": {
"foreground": "#957FB8"
}
},
{
"name": "JSON Key - Level 8",
"scope": [
"source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"
],
"settings": {
"foreground": "#98BB6C"
}
},
{
"name": "Markdown - Plain",
"scope": [
"text.html.markdown",
"punctuation.definition.list_item.markdown"
],
"settings": {
"foreground": "#DCD7BA"
}
},
{
"name": "Markdown - Markup Raw Inline",
"scope": [
"text.html.markdown markup.inline.raw.markdown"
],
"settings": {
"foreground": "#957FB8"
}
},
{
"name": "Markdown - Markup Raw Inline Punctuation",
"scope": [
"text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown"
],
"settings": {
"foreground": "#957FB8"
}
},
{
"name": "Markdown - Heading",
"scope": [
"markdown.heading",
"entity.name.section.markdown",
"markup.heading.markdown"
],
"settings": {
"foreground": "#7E9CD8"
}
},
{
"name": "Markup - Italic",
"scope": [
"markup.italic"
],
"settings": {
"fontStyle": "italic",
"foreground": "#E46876"
}
},
{
"name": "Markup - Bold",
"scope": [
"markup.bold",
"markup.bold string"
],
"settings": {
"fontStyle": "bold"
}
},
{
"name": "Markup - Bold-Italic",
"scope": [
"markup.bold markup.italic",
"markup.italic markup.bold",
"markup.quote markup.bold",
"markup.bold markup.italic string",
"markup.italic markup.bold string",
"markup.quote markup.bold string"
],
"settings": {
"fontStyle": "bold",
"foreground": "#E46876"
}
},
{
"name": "Markup - Underline",
"scope": [
"markup.underline"
],
"settings": {
"fontStyle": "underline",
"foreground": "#7FB4CA"
}
},
{
"name": "Markdown - Blockquote",
"scope": [
"markup.quote punctuation.definition.blockquote.markdown"
],
"settings": {
"foreground": "#727169"
}
},
{
"name": "Markup - Quote",
"scope": [
"markup.quote"
],
"settings": {
"fontStyle": "italic"
}
},
{
"name": "Markdown - Link",
"scope": [
"string.other.link.title.markdown"
],
"settings": {
"foreground": "#FFA066"
}
},
{
"name": "Markdown - Link Description",
"scope": [
"string.other.link.description.title.markdown"
],
"settings": {
"foreground": "#957FB8"
}
},
{
"name": "Markdown - Link Anchor",
"scope": [
"constant.other.reference.link.markdown"
],
"settings": {
"foreground": "#E6C384"
}
},
{
"name": "Markup - Raw Block",
"scope": [
"markup.raw.block"
],
"settings": {
"foreground": "#957FB8"
}
},
{
"name": "Markdown - Raw Block Fenced",
"scope": [
"markup.raw.block.fenced.markdown"
],
"settings": {
"foreground": "#727169"
}
},
{
"name": "Markdown - Fenced Bode Block",
"scope": [
"punctuation.definition.fenced.markdown"
],
"settings": {
"foreground": "#727169"
}
},
{
"name": "Markdown - Fenced Bode Block Variable",
"scope": [
"markup.raw.block.fenced.markdown",
"variable.language.fenced.markdown",
"punctuation.section.class.end"
],
"settings": {
"foreground": "#DCD7BA"
}
},
{
"name": "Markdown - Fenced Language",
"scope": [
"variable.language.fenced.markdown"
],
"settings": {
"foreground": "#727169"
}
},
{
"name": "Markdown - Separator",
"scope": [
"meta.separator"
],
"settings": {
"fontStyle": "bold",
"foreground": "#9CABCA"
}
},
{
"name": "Markup - Table",
"scope": [
"markup.table"
],
"settings": {
"foreground": "#DCD7BA"
}
}
],
"semanticTokenColors": {
"parameter": "#DCD7BA",
"variable": "#DCD7BA",
"arithmetic": "#C0A36E",
"method": "#7E9CD8",
"function": "#7E9CD8",
"operator": "#C0A36E",
"parameter.declaration": "#E6C384",
"parameter.definition": "#E6C384",
"variable.readonly": "#FFA066",
"variable.readonly.local": "#DCD7BA",
"variable.readonly.defaultLibrary": "#7FB4CA",
"macro": "#FFA066",
"keyword.controlFlow": {
"foreground": "#957FB8",
"fontStyle": "bold"
}
}
}

5
src/lib/kanagawa.ts Normal file
View File

@ -0,0 +1,5 @@
import fs from 'fs';
export const kanagawa_dark = JSON.parse(
fs.readFileSync('./src/lib/kanagawa.json', 'utf-8')
)