feat: add new Deep Forest variant

This commit is contained in:
Mattia Astorino 2023-08-26 13:48:42 +02:00
parent fa4a19828b
commit 3396bec8c6
No known key found for this signature in database
GPG key ID: D5713A99B7005A59
4 changed files with 115 additions and 1 deletions

View file

@ -148,6 +148,16 @@
"path": "./build/themes/Material-Theme-Ocean-High-Contrast.json", "path": "./build/themes/Material-Theme-Ocean-High-Contrast.json",
"uiTheme": "vs-dark" "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", "label": "Material Theme Lighter",
"path": "./build/themes/Material-Theme-Lighter.json", "path": "./build/themes/Material-Theme-Lighter.json",

View file

@ -7,7 +7,7 @@ import {getColorSet} from './color-set';
import {BUILD_FOLDER_PATH} from '../../src/env'; import {BUILD_FOLDER_PATH} from '../../src/env';
const THEME_BUILD_PATH = path.join(BUILD_FOLDER_PATH, 'themes'); 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) => { const withHC = themes.reduce((acc, src) => {
acc = acc.concat(`${src}-hc`); acc = acc.concat(`${src}-hc`);

View file

@ -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'
}
}
};

View file

@ -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'
}
}
};