From fa5d39e9efd47dc035a8b4ab71c29fdb91dde43e Mon Sep 17 00:00:00 2001 From: Chiru B <33750251+itsezc@users.noreply.github.com> Date: Sun, 21 Aug 2022 08:42:45 +0530 Subject: [PATCH] 0.1.2 (#7) * chore: bump version to 0.1.2 * chore: update .vscodeignore config * fix(theme): Cosmos titleBar background on switch * fix(theme): Cosmos terminal background * chore(theme); remove comments for invalid JSON * chore(theme): remove trailing commas for JSON * add(theme): Cosmos buttons & inputs * add(theme): Cosmos terminal * fix(theme): Cosmos activityBar * fix(theme): Cosmos statusBar * add(theme): Cosmos menu selections * add(theme): Cosmos editorHoverWidget * add(theme): Cosmos PeekView * add(theme): Cosmos foldBackground * chore: add OpenVSX registry to README * chore: update description, keywords and scripts * chore: add sample settings.json * chore: update tsconfig.json - no sourcemaps --- .vscodeignore | 10 ++++++ README.md | 2 +- package.json | 11 +++--- settings.json | 20 +++++++++++ themes/cosmos.json | 89 +++++++++++++++++++++++++++++----------------- tsconfig.json | 4 +-- 6 files changed, 95 insertions(+), 41 deletions(-) create mode 100644 settings.json diff --git a/.vscodeignore b/.vscodeignore index 19bbe78..bb40302 100644 --- a/.vscodeignore +++ b/.vscodeignore @@ -1,3 +1,13 @@ .vscode/** .vscode-test/** + .gitignore +tsconfig.json + +.github/** +assets/icons/** + +extensions +icons + +build/icons/** \ No newline at end of file diff --git a/README.md b/README.md index 7572819..4bc3d8f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,3 @@ - # Foretag Development Toolkit For Visual Studio Code − Desktop and Cloud @@ -9,6 +8,7 @@ For Visual Studio Code − Desktop and Cloud ### Marketplaces - [VSCode Marketplace](https://marketplace.visualstudio.com/items?itemName=foretag.development-toolkit) +- [OpenVSX Registry](https://open-vsx.org/extension/foretag/development-toolkit) The toolkit was built for engineers and contributors at Foretag and heavily focused on our technology stack - found on [Stackshare](https://stackshare.io/foretag/foretag), following updates in parallel. Its objective is to provide a unified development experience, limiting complexity and improving accessibility. You can find all the bells and whistles: theme, icons, extensions, language, snippets, and more right out of the box. diff --git a/package.json b/package.json index a21214b..486aa72 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,12 @@ { "name": "development-toolkit", "displayName": "Foretag Development Toolkit", - "description": "Foretag themes, tools & extensions for VS Code", - "version": "0.1.1", + "description": "Foretag themes, icons, extensions, languages, snippets and more for VS Code", + "version": "0.1.2", "keywords": [ "rust", "themes", + "extension", "foretag" ], "activationEvents": [ @@ -23,8 +24,8 @@ "vscode": "^1.66.1" }, "scripts": { - "prebuild": "rm -rf build", - "prepublish": "npm run prebuild && npm run compile && npm run icons:build", + "prebuild": "rm -rf build && npm run compile", + "prepublish": "npm run prebuild && npm run icons:build", "icons:build": "npm run icons:copy && node build/icons/index.js", "icons:copy": "mkdir -p build/svgs && cp -R icons/svgs build", "compile": "tsc -p ./", @@ -312,7 +313,7 @@ ], "iconThemes": [ { - "id": "foretag-default-icons", + "id": "foretag-cosmos-icons", "label": "Foretag: Cosmos", "path": "./build/icons.json" } diff --git a/settings.json b/settings.json new file mode 100644 index 0000000..d8b65a7 --- /dev/null +++ b/settings.json @@ -0,0 +1,20 @@ +{ + "workbench.colorTheme": "Foretag: Cosmos", + "workbench.iconTheme": "foretag-cosmos-icons", + "editor.fontLigatures": true, + "editor.fontWeight": 400, + "editor.fontSize": 14, + "editor.formatOnSave": true, + "editor.cursorStyle": "block", + "editor.insertSpaces": false, + "editor.detectIndentation": false, + "editor.tabSize": 4, + "editor.cursorSmoothCaretAnimation": true, + "editor.cursorBlinking": "phase", + "rust-analyzer.debug.engine": "vadimcn.vscode-lldb", + "rust-analyzer.checkOnSave.command": "clippy", + "html.completion.attributeDefaultValue": "singlequotes", + "html.format.indentInnerHtml": true, + // Foretag internal + "redhat.telemetry.enabled": false +} \ No newline at end of file diff --git a/themes/cosmos.json b/themes/cosmos.json index 85c06bf..d778871 100644 --- a/themes/cosmos.json +++ b/themes/cosmos.json @@ -2,18 +2,18 @@ "name": "Cosmos", "type": "dark", "colors": { - // Basics + "button.background": "#5D21D2", + "button.foreground": "#F1EDF1", "progressBar.background": "#5D21D2", "list.focusBackground": "#191919", "list.activeSelectionForeground": "#f2eeff", "list.hoverBackground": "#1C1C1C", "list.activeSelectionBackground": "#303030", "list.inactiveSelectionBackground": "#303030", - // Scrollbar slider "scrollbarSlider.background": "#191919", "scrollbarSlider.activeBackground": "#303030", "scrollbarSlider.hoverBackground": "#303030", - // Editor + "tree.indentGuidesStroke": "#303030", "editor.background": "#1C1C1C", "editor.foreground": "#DAD6DA", "editor.hoverHighlightBackground": "#211F39", @@ -23,36 +23,48 @@ "editorLineNumber.activeForeground": "#7B797B", "editor.lineHighlightBorder": "#303030", "editor.lineHighlightBackground": "#303030", - "editorSuggestWidget.background": "#161526", - "editorSuggestWidget.selectedBackground": "#1C1D30", "editor.wordHighlightBackground": "#4c496b", "editor.findMatchBackground": "#534f79", + "editor.foldBackground": "#7B797B25", "editorMarkerNavigation.background": "#161526", - // Shadow "scrollbar.shadow": "#00000000", - "widget.shadow": "#00000000", - // Editor Brackets "editorBracketMatch.background": "#303030", "editorBracketMatch.border": "#303030", - // Editor lines "editorIndentGuide.background": "#303030", "editorIndentGuide.activeBackground": "#7B797B", "editorRuler.foreground": "#303030", - // Breadcrumb + "widget.shadow": "#00000000", + "editorWidget.background": "#303030", + "editorSuggestWidget.background": "#191919", + "editorSuggestWidget.border": "#303030", + "editorSuggestWidget.foreground": "#7B797B", + "editorSuggestWidget.selectedBackground": "#1C1C1C", + "editorHoverWidget.background": "#303030", + "editorHoverWidget.foreground": "#7B797B", + "editorHoverWidget.border": "#303030", + "peekView.border": "#303030", + "peekViewTitle.background": "#191919", + "peekViewTitleLabel.foreground": "#7B797B", + "peekViewTitleDescription.foreground": "#303030", + "peekViewEditor.background": "#303030", + "peekViewEditorGutter.background": "#1C1C1C", + "peekViewEditor.matchHighlightBackground": "#5D21D2", + "peekViewResult.matchHighlightBackground": "#5D21D250", + "peekViewResult.selectionBackground": "#303030", + "peekViewResult.selectionForeground": "#F1EDF1", + "peekViewResult.background": "#191919", + "peekViewResult.lineForeground": "#7B797B", + "peekViewResult.fileForeground": "#7B797B", "breadcrumb.background": "#1C1C1C", "breadcrumb.foreground": "#7B797B", "breadcrumb.focusForeground": "#F1EDF1", - // Widgets - "editorWidget.background": "#303030", "pickerGroup.foreground": "#191919", - // Sidebar "sideBarTitle.foreground": "#fff", "sideBar.border": "#191919", "sideBarSectionHeader.background": "#1C1C1C", "sideBarSectionHeader.border": "#1C1C1C", "sideBar.background": "#191919", "sideBar.foreground": "#e7e3f5ef", - // Tabs "tab.border": "#191919", "tab.inactiveForeground": "#ddd9ee8a", "tab.hoverForeground": "#d3cfe5", @@ -60,32 +72,43 @@ "tab.activeBackground": "#1C1C1C", "tab.inactiveBackground": "#191919", "editorGroupHeader.tabsBackground": "#191919", - // Titlebar + "titleBar.background": "#191919", "titleBar.activeBackground": "#191919", "titleBar.activeForeground": "#f1e8ff", "titleBar.inactiveBackground": "#161526", "titleBar.inactiveForeground": "#f1e8ff", - // Menubar "menu.background": "#303030", - // Activitybar + "menu.separatorBackground": "#7B797B", + "menu.selectionBackground": "#1C1C1C", + "menu.selectionForeground": "#F1EDF1", "activityBarBadge.background": "#5D21D2", "activityBarBadge.foreground": "#F1EDF1", - "activityBar.foreground": "#FFCFD4", + "activityBar.inactiveForeground": "#303030", + "activityBar.foreground": "#7B797B", "activityBar.background": "#191919", - "activityBar.border": "#191919", - // Statusbar "statusBar.background": "#191919", - // Input - "input.background": "#23263C", - "input.placeholderForeground": "#b7b5d49c", - // Debug and misc + "statusBar.foreground": "#7B797B", + "statusBarItem.remoteBackground": "#303030", + "statusBarItem.remoteForeground": "#F1EDF1", + "statusBar.debuggingBackground": "#5D21D2", + "statusBar.debuggingForeground": "#F1EDF1", + "input.background": "#1C1C1C", + "input.placeholderForeground": "#7B797B", + "input.border": "#303030", + "inputOption.activeBackground": "#303030", + "inputOption.activeForeground": "#F1EDF1", "debugToolBar.background": "#171529f6", "gitDecoration.ignoredResourceForeground": "#69698f", - "terminal.background": "#161526", + "terminal.background": "#1C1C1C", + "terminal.border": "#303030", + "terminal.selectionBackground": "#303030", + "terminal.foreground": "#7B797B", + "badge.background": "#5D21D2", + "badge.foreground": "#F1EDF1", "panel.border": "#191919", - "panelTitle.activeForeground": "#feeeff", - "statusBarItem.remoteBackground": "#303030", - "statusBarItem.remoteForeground": "#ccc" + "panelTitle.activeBorder": "#5D21D2", + "panelTitle.activeForeground": "#F1EDF1", + "panelTitle.inactiveForeground": "#7B797B" }, "tokenColors": [ { @@ -188,7 +211,7 @@ { "name": "Operator, Misc", "scope": [ - "punctuation.definition.tag", + "punctuation.definition.tag" ], "settings": { "foreground": "#cfcfee" @@ -220,7 +243,7 @@ { "name": "Block Level Variables", "scope": [ - "meta.block variable.other", + "meta.block variable.other" ], "settings": { "foreground": "#f6f3fc" @@ -229,7 +252,7 @@ { "name": "Block Level Variables", "scope": [ - "meta.block", + "meta.block" ], "settings": { "foreground": "#f07178" @@ -752,7 +775,7 @@ { "name": "TOML - Entry", "scope": [ - "variable.key.toml", + "variable.key.toml" ], "settings": { "fontStyle": "bold", @@ -762,7 +785,7 @@ { "name": "TOML - Table Punctuation", "scope": [ - "punctuation.definition.table.toml", + "punctuation.definition.table.toml" ], "settings": { "fontStyle": "bold", diff --git a/tsconfig.json b/tsconfig.json index bc138e7..1bd70d9 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,9 +5,9 @@ "lib": [ "ESNext" ], - "sourceMap": true, - "outDir": "build", + "sourceMap": false, "strict": true, + "outDir": "build", }, "exclude": [ "node_modules",