From ded377b4ab37028a3753f41573c09fbd653b3f32 Mon Sep 17 00:00:00 2001 From: hhh Date: Mon, 16 Sep 2024 23:10:52 +0300 Subject: [PATCH] init theme --- .gitattributes | 2 + .gitignore | 3 + .vscode/launch.json | 17 ++ .vscodeignore | 4 + README.md | 2 + package.json | 21 ++ .../JetBrains Dark (New UI)-color-theme.json | 244 ++++++++++++++++++ 7 files changed, 293 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 .vscode/launch.json create mode 100644 .vscodeignore create mode 100644 README.md create mode 100644 package.json create mode 100644 themes/JetBrains Dark (New UI)-color-theme.json diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..70e63ff --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Set default behavior to automatically normalize line endings. +* text=auto diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9f7b388 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +node_modules +*.vsix +.idea diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..44a86ab --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,17 @@ +// 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", + "args": [ + "--extensionDevelopmentPath=${workspaceFolder}" + ] + } + ] +} diff --git a/.vscodeignore b/.vscodeignore new file mode 100644 index 0000000..f369b5e --- /dev/null +++ b/.vscodeignore @@ -0,0 +1,4 @@ +.vscode/** +.vscode-test/** +.gitignore +vsc-extension-quickstart.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..80dc670 --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +# JetBrains Dark +Endeavor to replicate the default dark theme from new versions of JetBrains IDEs (like PyCharm and WebStorm) in VSCode diff --git a/package.json b/package.json new file mode 100644 index 0000000..af18b12 --- /dev/null +++ b/package.json @@ -0,0 +1,21 @@ +{ + "name": "jetbrains-dark-new-ui", + "displayName": "JetBrains Dark (New UI)", + "description": "Endeavor to replicate the default dark theme from new versions of JetBrains IDEs (like PyCharm and WebStorm)", + "version": "0.0.1", + "engines": { + "vscode": "^1.93.0" + }, + "categories": [ + "Themes" + ], + "contributes": { + "themes": [ + { + "label": "JetBrains Dark (New UI)", + "uiTheme": "vs-dark", + "path": "./themes/JetBrains Dark (New UI)-color-theme.json" + } + ] + } +} diff --git a/themes/JetBrains Dark (New UI)-color-theme.json b/themes/JetBrains Dark (New UI)-color-theme.json new file mode 100644 index 0000000..7d08c1a --- /dev/null +++ b/themes/JetBrains Dark (New UI)-color-theme.json @@ -0,0 +1,244 @@ +{ + "name": "JetBrains Dark (New UI)", + "colors": { + "focusBorder": "#00000000", + "selection.background": "#2e436e", + "editor.background": "#1e1f22", + "editor.foreground": "#bcbec4", + "sideBar.foreground": "#bcbec4", + "sideBar.background": "#2b2d30", + "sideBarTitle.foreground": "#bbbbbb", + "statusBar.background": "#2b2d30", + "statusBar.foreground": "#a8abb0", + "activityBar.background": "#2b2d30", + "activityBar.border": "#1e1f22", + "activityBar.foreground": "#cacbd1", + "titleBar.activeBackground": "#2b2d30", + "gitDecoration.ignoredResourceForeground": "#c69568", + "gitDecoration.modifiedResourceForeground": "#699ce2", + "editor.findMatchBackground": "#373b39", + "editor.findMatchHighlightBackground": "#373b39a2", + "editorLineNumber.foreground": "#4b5059", + "editorSuggestWidget.background": "#2b2d30", + "editorSuggestWidget.selectedBackground": "#43454a", + "editorSuggestWidget.highlightForeground": "#548af7" + }, + "tokenColors": [ + { + "name": "Source", + "scope": [ + "source" + ], + "settings": { + "foreground": "#bcbec4", + } + }, + { + "name": "Quoted String", + "scope": [ + "string.quoted", + "string.template" + ], + "settings": { + "foreground": "#6aab73", + } + }, + { + "name": "Quoted Docstring", + "scope": [ + "string.quoted.docstring" + ], + "settings": { + "foreground": "#5f826b", + "fontStyle": "italic" + } + }, + { + "name": "Comment", + "scope": [ + "comment" + ], + "settings": { + "foreground": "#7a7e85", + } + }, + { + "name": "Keyword control flow", + "scope": [ + "keyword.control", + "keyword.other" + ], + "settings": { + "foreground": "#cf8e6d", + } + }, + { + "name": "Numeric constant", + "scope": [ + "constant.numeric" + ], + "settings": { + "foreground": "#2aacb8", + } + }, + { + "name": "Language constants", + "scope": [ + "constant.language" + ], + "settings": { + "foreground": "#cf8e6d", + } + }, + { + "name": "Builtin function call", + "scope": [ + "support.function.builtin", + "support.type" + ], + "settings": { + "foreground": "#8888c6", + } + }, + { + "name": "Format placeholder", + "scope": [ + "constant.character.format.placeholder" + ], + "settings": { + "foreground": "#cf8e6d", + } + }, + { + "name": "Function meta storage", + "scope": [ + "storage.type.function", + ], + "settings": { + "foreground": "#cf8e6d", + } + }, + { + "name": "Function entity", + "scope": [ + "entity.name.function" + ], + "settings": { + "foreground": "#56a8f5", + } + }, + { + "name": "Decorator", + "scope": [ + "entity.name.function.decorator" + ], + "settings": { + "foreground": "#b3ae60" + } + }, + { + "name": "Function call named parameters", + "scope": [ + "variable.parameter.function-call" + ], + "settings": { + "foreground": "#aa4926", + } + }, + { + "name": "Import variable alias", + "scope": [ + "variable.other.readwrite.alias" + ], + "settings": { + "foreground": "#56a8f5", + } + }, + { + "name": "Storage type", + "scope": [ + "storage.type", + "storage.modifier" + ], + "settings": { + "foreground": "#cf8e6d", + } + }, + { + "name": "Object literal key", + "scope": [ + "meta.object-literal.key" + ], + "settings": { + "foreground": "#c77dbb", + } + }, + { + "name": "Variable/object property", + "scope": [ + "variable.other.object.property", + "variable.other.property", + "variable.object.property" + ], + "settings": { + "foreground": "#c77dbb", + } + }, + { + "name": "Function arrow", + "scope": [ + "storage.type.function.arrow" + ], + "settings": { + "foreground": "#bcbec4", + } + }, + { + "name": "Template meta expression", + "scope": [ + "meta.template.expression" + ], + "settings": { + "foreground": "#bcbec4", + } + }, + { + "name": "Tag entity", + "scope": [ + "entity.name.tag", + "punctuation.definition.tag" + ], + "settings": { + "foreground": "#d5b778", + } + }, + { + "name": "Tag entity TOML", + "scope": [ + "entity.name.tag.toml", + "punctuation.definition.tag" + ], + "settings": { + "foreground": "#cf8e6d", + } + }, + { + "name": "Attribute name", + "scope": [ + "entity.other.attribute-name" + ], + "settings": { + "foreground": "#c77dbb", + } + }, + { + "name": "Component", + "scope": [ + "support.class.component" + ], + "settings": { + "foreground": "#2fbaa3", + } + } + ] +}