Skip to content

Commit

Permalink
feat: add new Deep Forest variant
Browse files Browse the repository at this point in the history
  • Loading branch information
equinusocio committed Aug 26, 2023
1 parent fa4a198 commit 3396bec
Show file tree
Hide file tree
Showing 4 changed files with 115 additions and 1 deletion.
10 changes: 10 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion scripts/generator/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`);
Expand Down
52 changes: 52 additions & 0 deletions scripts/generator/settings/specific/deepforest-hc.ts
Original file line number Diff line number Diff line change
@@ -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'
}
}
};
52 changes: 52 additions & 0 deletions scripts/generator/settings/specific/deepforest.ts
Original file line number Diff line number Diff line change
@@ -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'
}
}
};

0 comments on commit 3396bec

Please sign in to comment.