From 3396bec8c64a9afd78acd87edba0c85d518582b9 Mon Sep 17 00:00:00 2001 From: Mattia Astorino Date: Sat, 26 Aug 2023 13:48:42 +0200 Subject: [PATCH] feat: add new Deep Forest variant --- package.json | 10 ++++ scripts/generator/index.ts | 2 +- .../settings/specific/deepforest-hc.ts | 52 +++++++++++++++++++ .../generator/settings/specific/deepforest.ts | 52 +++++++++++++++++++ 4 files changed, 115 insertions(+), 1 deletion(-) create mode 100644 scripts/generator/settings/specific/deepforest-hc.ts create mode 100644 scripts/generator/settings/specific/deepforest.ts diff --git a/package.json b/package.json index f52c5b4..36afb6b 100644 --- a/package.json +++ b/package.json @@ -148,6 +148,16 @@ "path": "./build/themes/Material-Theme-Ocean-High-Contrast.json", "uiTheme": "vs-dark" }, + { + "label": "Material Theme Deep Forest", + "path": "./build/themes/Material-Theme-Deep-Forest.json", + "uiTheme": "vs-dark" + }, + { + "label": "Material Theme Deep Forest High Contrast", + "path": "./build/themes/Material-Theme-Deep-Forest-High-Contrast.json", + "uiTheme": "vs-dark" + }, { "label": "Material Theme Lighter", "path": "./build/themes/Material-Theme-Lighter.json", diff --git a/scripts/generator/index.ts b/scripts/generator/index.ts index 86c491e..d5b693e 100644 --- a/scripts/generator/index.ts +++ b/scripts/generator/index.ts @@ -7,7 +7,7 @@ import {getColorSet} from './color-set'; import {BUILD_FOLDER_PATH} from '../../src/env'; const THEME_BUILD_PATH = path.join(BUILD_FOLDER_PATH, 'themes'); -const themes = ['default', 'darker', 'lighter', 'ocean', 'palenight']; +const themes = ['default', 'darker', 'lighter', 'ocean', 'palenight', 'deepforest']; const withHC = themes.reduce((acc, src) => { acc = acc.concat(`${src}-hc`); diff --git a/scripts/generator/settings/specific/deepforest-hc.ts b/scripts/generator/settings/specific/deepforest-hc.ts new file mode 100644 index 0000000..43ea846 --- /dev/null +++ b/scripts/generator/settings/specific/deepforest-hc.ts @@ -0,0 +1,52 @@ +export default { + id: 'material.theme.deepforest.hc', + name: 'Material-Theme-Deep-Forest-High-Contrast', + type: 'dark', + scheme: { + defaultAccent: '#80CBC4', + background: '#141F1D', + backgroundAlt: '#101917', + contrastBorder: '#2C423A', + comments: '#476352', + caret: '#FFCC00', + findHighlight: '#FFCC00', + foreground: '#C2EDD3', + focusBorder: '#FFFFFF', + guides: '#52735C', + lineNumbers: '#52735C80', + invisibles: '#809E8150', + lineHighlight: '#000000', + selection: '#71B48050', + shadow: '#00000030', + inputBackground: '#1A2520', + inputForeground: '#D9FFE3', + inputBorder: '#FFFFFF10', + scrollbars: '#8CA59920', + scrollbarsHover: '#8CA59910', + statusbarForeground: '#4D6A59', + sidebarBackground: '#141F1D', + sidebarForeground: '#485E51', + listHoverForeground: '#FFFFFF', + listHoverBackground: '#141F1D', + tabActiveForeground: '#FFFFFF', + inactiveSelectionBackground: '#00000030', + findMatchBackground: '#000000', + findMatchHighlightBackground: '#00000050', + findMatchHighlightBorder: '#ffffff30', + base: { + white: '#ffffff', + black: '#000000', + red: '#C77272', + orange: '#CC8868', + yellow: '#FFCB6B', + green: '#A3D283', + cyan: '#74C9DE', + blue: '#6FA0DE', + paleblue: '#95BBBD', + purple: '#A68DCD', + brown: '#7B6E54', + pink: '#D3959B', + violet: '#9C7EA1' + } + } +}; diff --git a/scripts/generator/settings/specific/deepforest.ts b/scripts/generator/settings/specific/deepforest.ts new file mode 100644 index 0000000..02d778c --- /dev/null +++ b/scripts/generator/settings/specific/deepforest.ts @@ -0,0 +1,52 @@ +export default { + id: 'material.theme.deepforest', + name: 'Material-Theme-Deep-Forest', + type: 'dark', + scheme: { + defaultAccent: '#80CBC4', + background: '#141F1D', + backgroundAlt: '#141F1D', + contrastBorder: '#141F1D', + comments: '#476352', + caret: '#FFCC00', + findHighlight: '#FFCC00', + foreground: '#C2EDD3', + focusBorder: '#FFFFFF', + guides: '#52735C', + lineNumbers: '#52735C80', + invisibles: '#809E8150', + lineHighlight: '#000000', + selection: '#71B48050', + shadow: '#00000030', + inputBackground: '#1A2520', + inputForeground: '#D9FFE3', + inputBorder: '#FFFFFF10', + scrollbars: '#8CA59920', + scrollbarsHover: '#8CA59910', + statusbarForeground: '#4D6A59', + sidebarBackground: '#141F1D', + sidebarForeground: '#485E51', + listHoverForeground: '#FFFFFF', + listHoverBackground: '#141F1D', + tabActiveForeground: '#FFFFFF', + inactiveSelectionBackground: '#00000030', + findMatchBackground: '#000000', + findMatchHighlightBackground: '#00000050', + findMatchHighlightBorder: '#ffffff30', + base: { + white: '#ffffff', + black: '#000000', + red: '#C77272', + orange: '#CC8868', + yellow: '#FFCB6B', + green: '#A3D283', + cyan: '#74C9DE', + blue: '#6FA0DE', + paleblue: '#95BBBD', + purple: '#A68DCD', + brown: '#7B6E54', + pink: '#D3959B', + violet: '#9C7EA1' + } + } +};