Feat/generator 1 iteration (#397)
* chore: added editor config and fix vscode settings * fix: eslint and typescript * chore: cleanup folders (gulp) * feat: cleanup and working generator
This commit is contained in:
parent
3f4a1be8a0
commit
bf9a2bb6ed
39 changed files with 1791 additions and 5560 deletions
8
.editorconfig
Normal file
8
.editorconfig
Normal file
|
@ -0,0 +1,8 @@
|
|||
root = true
|
||||
|
||||
[*]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
28
.eslintrc
28
.eslintrc
|
@ -1,19 +1,9 @@
|
|||
env:
|
||||
node: true
|
||||
shared-node-browser: true
|
||||
extends: 'eslint:recommended'
|
||||
rules:
|
||||
indent:
|
||||
- warn
|
||||
- 2
|
||||
quotes:
|
||||
- error
|
||||
- single
|
||||
semi:
|
||||
- error
|
||||
- always
|
||||
no-console: 0
|
||||
no-unused-vars:
|
||||
- warn
|
||||
plugins:
|
||||
- standard
|
||||
{
|
||||
"extends": [
|
||||
"xo-space",
|
||||
"xo-typescript"
|
||||
],
|
||||
"rules": {
|
||||
"@typescript-eslint/indent": ["error", 2, { "SwitchCase": 1 }]
|
||||
}
|
||||
}
|
||||
|
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -6,3 +6,5 @@ node_modules/
|
|||
.DS_Store
|
||||
/themes
|
||||
/ui/
|
||||
build
|
||||
dist
|
||||
|
|
15
.vscode/settings.json
vendored
15
.vscode/settings.json
vendored
|
@ -1,7 +1,5 @@
|
|||
{
|
||||
"editor.tabSize": 2,
|
||||
"editor.insertSpaces": true,
|
||||
"files.insertFinalNewline": true,
|
||||
"javascript.validate.enable": false,
|
||||
"files.exclude": {
|
||||
"**/.git": true,
|
||||
".git-crypt": true,
|
||||
|
@ -15,14 +13,17 @@
|
|||
"*.template": "json"
|
||||
},
|
||||
"html.format.preserveNewLines": true,
|
||||
"files.trimTrailingWhitespace": true,
|
||||
"[markdown]": {
|
||||
"diffEditor.ignoreTrimWhitespace": false,
|
||||
"editor.tabSize": 4,
|
||||
"editor.wordWrap": "on",
|
||||
"editor.quickSuggestions": false
|
||||
},
|
||||
"gulp.autoDetect": "off",
|
||||
"npm.autoDetect": "off",
|
||||
"eslint.autoFixOnSave": true
|
||||
"xo.enable": false,
|
||||
"editor.formatOnSave": false,
|
||||
"eslint.enable": true,
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.fixAll.eslint": true
|
||||
},
|
||||
"editor.codeActionsOnSaveTimeout": 2000
|
||||
}
|
||||
|
|
3
env.ts
Normal file
3
env.ts
Normal file
|
@ -0,0 +1,3 @@
|
|||
import * as path from 'path';
|
||||
|
||||
export const BUILD_FOLDER_PATH = path.resolve('./build');
|
|
@ -1,9 +0,0 @@
|
|||
import Gulp from 'gulp';
|
||||
import GulpStats from 'gulp-stats';
|
||||
import tasks from './out/.gulp';
|
||||
|
||||
// Use gulp-stats
|
||||
GulpStats(Gulp);
|
||||
|
||||
// set default task
|
||||
Gulp.task('default', tasks);
|
42
package.json
42
package.json
|
@ -24,14 +24,15 @@
|
|||
"vscode": ">=1.39.0"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "yarn cleanup && yarn build-ts && yarn build-themes && yarn build-ui",
|
||||
"cleanup": "rimraf out",
|
||||
"prebuild-themes": "tsc src/themes/generator.ts",
|
||||
"build-themes": "node src/themes/generator.js",
|
||||
"bu": "yarn cleanup && yarn build:ts && yarn build:generate-themes",
|
||||
"lint": "eslint .",
|
||||
"build": "yarn cleanup && yarn build:ts && yarn build-themes && yarn build-ui",
|
||||
"cleanup": "rimraf build && rimraf dist",
|
||||
"build:generate-themes": "node dist/scripts/generator/index.js",
|
||||
"build-ui": "gulp build:copy-ui && yarn build-ui-release-notes",
|
||||
"build-ui-release-notes": "browserify out/src/webviews/ui/release-notes/index.js > out/ui/release-notes.js",
|
||||
"build-ui-only": "yarn cleanup && yarn build-ts && yarn build-ui",
|
||||
"build-ts": "tsc -p ./tsconfig.json",
|
||||
"build:ts": "tsc -p ./tsconfig.json",
|
||||
"test": "tslint **.ts",
|
||||
"postinstall": "node ./node_modules/vscode/bin/install && opencollective postinstall && tsc -p tsconfig.json"
|
||||
},
|
||||
|
@ -49,7 +50,8 @@
|
|||
"extensionKind": "ui",
|
||||
"main": "./out/src/material.theme.config",
|
||||
"contributes": {
|
||||
"commands": [{
|
||||
"commands": [
|
||||
{
|
||||
"command": "materialTheme.setAccent",
|
||||
"title": "Set accent color",
|
||||
"category": "🎨 Material Theme"
|
||||
|
@ -90,7 +92,8 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"themes": [{
|
||||
"themes": [
|
||||
{
|
||||
"label": "Material Theme",
|
||||
"path": "./out/themes/Material-Theme-Default.json",
|
||||
"uiTheme": "vs-dark"
|
||||
|
@ -145,7 +148,8 @@
|
|||
"extensionDependency": [
|
||||
"Equinusocio.vsc-material-theme-icons"
|
||||
],
|
||||
"badges": [{
|
||||
"badges": [
|
||||
{
|
||||
"url": "https://camo.githubusercontent.com/d3c6e53aa66426dead24cdedab0e83082103bea6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f657175696e75736f63696f2f7673632d6d6174657269616c2d7468656d652e7376673f7374796c653d666c61742d737175617265",
|
||||
"href": "https://github.com/material-theme/vsc-material-theme/issues",
|
||||
"description": "Open issues"
|
||||
|
@ -159,27 +163,23 @@
|
|||
"devDependencies": {
|
||||
"@babel/register": "7.4.4",
|
||||
"@moxer/vscode-theme-generator": "1.1.0",
|
||||
"@types/gulp": "4.0.5",
|
||||
"@types/gulp-if": "0.0.33",
|
||||
"@types/gulp-util": "3.0.34",
|
||||
"@types/mustache": "0.8.32",
|
||||
"@types/rimraf": "2.0.2",
|
||||
"@typescript-eslint/eslint-plugin": "2.12.0",
|
||||
"@typescript-eslint/parser": "2.12.0",
|
||||
"babel-core": "6.26.3",
|
||||
"babel-preset-env": "1.7.0",
|
||||
"browserify": "16.2.2",
|
||||
"eslint": "6.7.2",
|
||||
"eslint-config-xo-space": "0.22.0",
|
||||
"eslint-config-xo-typescript": "0.23.0",
|
||||
"fs-extra": "8.1.0",
|
||||
"gulp": "3.9.1",
|
||||
"gulp-bump": "3.1.0",
|
||||
"gulp-conventional-changelog": "1.1.11",
|
||||
"gulp-if": "2.0.2",
|
||||
"gulp-stats": "0.0.4",
|
||||
"gulp-util": "3.0.8",
|
||||
"mustache": "3.0.1",
|
||||
"tslint": "5.10.0",
|
||||
"tslint-xo": "0.8.0",
|
||||
"typescript": "2.9.2",
|
||||
"vscode": "1.1.18",
|
||||
"yargs": "11.0.0"
|
||||
"typescript": "3.7.4",
|
||||
"vscode": "1.1.36",
|
||||
"yargs": "15.0.2"
|
||||
},
|
||||
"__metadata": {
|
||||
"id": "dffaf5a1-2219-434b-9d87-cb586fd59260",
|
||||
|
@ -187,7 +187,7 @@
|
|||
"publisherId": "e41388a1-a892-4c1e-940b-1e7c1bf43c97"
|
||||
},
|
||||
"dependencies": {
|
||||
"@sanity/client": "0.139.0",
|
||||
"@sanity/client": "0.147.3",
|
||||
"@types/fs-extra": "8.0.1",
|
||||
"opencollective": "1.0.3"
|
||||
},
|
||||
|
|
393
scripts/generator/color-set.ts
Normal file
393
scripts/generator/color-set.ts
Normal file
|
@ -0,0 +1,393 @@
|
|||
import {IColorSet} from '@moxer/vscode-theme-generator';
|
||||
import {ThemeSetting} from './types';
|
||||
|
||||
export const getColorSet = (theme: ThemeSetting): IColorSet => {
|
||||
// Do this like below if you need to interpolate
|
||||
const themeSchemeBackground = `${theme.scheme.background}00`;
|
||||
const themeSchemeBasePaleBlue = `${theme.scheme.base.paleblue}50`;
|
||||
const themeSchemeForeground = `${theme.scheme.foreground}05`;
|
||||
// Const themeSchemeShade2 = `${theme.scheme.shade2}50`;
|
||||
|
||||
return {
|
||||
base: {
|
||||
// Determines the overall background color
|
||||
background: theme.scheme.background,
|
||||
// Determines boolean, identifier, keyword, storage, and cssClass
|
||||
color1: theme.scheme.base.red,
|
||||
// Determines string, stringEscape, and cssId
|
||||
color2: theme.scheme.base.green,
|
||||
// Determines function, class, classMember, type, and cssTag
|
||||
color3: theme.scheme.base.yellow,
|
||||
// Determines functionCall and number
|
||||
color4: theme.scheme.base.paleblue,
|
||||
// Determines the overall text foreground color
|
||||
foreground: theme.scheme.base.white
|
||||
},
|
||||
/**
|
||||
* Overrides workbench UI Elements
|
||||
*/
|
||||
workbench: {
|
||||
/**
|
||||
* General elements style
|
||||
*/
|
||||
focusBorder: themeSchemeBackground,
|
||||
'widget.shadow': themeSchemeBackground,
|
||||
'selection.background': themeSchemeBasePaleBlue,
|
||||
'scrollbar.shadow': themeSchemeBackground,
|
||||
'editorLink.activeForeground': theme.scheme.foreground,
|
||||
'progressBar.background': theme.scheme.base.yellow,
|
||||
'debugToolBar.background': theme.scheme.background,
|
||||
'pickerGroup.foreground': theme.scheme.base.yellow,
|
||||
'editorMarkerNavigation.background': themeSchemeForeground,
|
||||
// 'tree.indentGuidesStroke': theme.scheme.shade1,
|
||||
'terminalCursor.foreground': theme.scheme.base.yellow,
|
||||
'terminalCursor.background': theme.scheme.base.black,
|
||||
/**
|
||||
* Buttons style
|
||||
*/
|
||||
'button.background': theme.scheme.background,
|
||||
// 'button.hoverBackground': theme.scheme.shade2,
|
||||
/**
|
||||
* Links style
|
||||
*/
|
||||
'textLink.foreground': theme.scheme.base.cyan,
|
||||
'textLink.activeForeground': theme.scheme.base.yellow,
|
||||
/**
|
||||
* Sidebar style
|
||||
*/
|
||||
'sideBar.background': theme.scheme.background,
|
||||
// 'sideBar.foreground': theme.scheme.shade4,
|
||||
// 'sideBar.border': themeSchemeShade2,
|
||||
/**
|
||||
* Sidebar elements style
|
||||
*/
|
||||
// 'sideBarTitle.foreground': theme.scheme.shade4,
|
||||
'sideBarSectionHeader.background': theme.scheme.background,
|
||||
// "sideBarSectionHeader.foreground": theme.scheme.foreground,
|
||||
'sideBarSectionHeader.border': theme.scheme.background,
|
||||
/**
|
||||
* Window panels style (terminal, global search)
|
||||
*/
|
||||
'panel.background': theme.scheme.background,
|
||||
// 'panel.border': theme.scheme.borders,
|
||||
// 'panel.dropBackground': theme.scheme.shade2,
|
||||
/**
|
||||
* Window panels elements style
|
||||
*/
|
||||
// 'panelTitle.inactiveForeground': theme.scheme.shade4,
|
||||
'panelTitle.activeForeground': theme.scheme.base.white,
|
||||
'panelTitle.activeBorder': theme.scheme.base.yellow,
|
||||
/**
|
||||
* Code Editor style
|
||||
*/
|
||||
'editor.background': theme.scheme.background,
|
||||
'editor.foreground': theme.scheme.foreground,
|
||||
// 'editor.lineHighlightBackground': theme.scheme.shade1 + '50',
|
||||
// 'editor.lineHighlightBorder': theme.scheme.shade1 + '00',
|
||||
'editor.findMatchBackground': themeSchemeBackground,
|
||||
'editor.findMatchHighlightBackground': themeSchemeBackground,
|
||||
'editor.findMatchBorder': theme.scheme.base.pink,
|
||||
// 'editor.findMatchHighlightBorder': theme.scheme.shade6,
|
||||
// Editor Indent guides
|
||||
// 'editorIndentGuide.background': theme.scheme.shade1,
|
||||
// 'editorIndentGuide.activeBackground': theme.scheme.shade3,
|
||||
// Editor line number
|
||||
// 'editorLineNumber.foreground': theme.scheme.shade3,
|
||||
'editorLineNumber.activeForeground': theme.scheme.base.yellow,
|
||||
// Editor tab groups
|
||||
'editorGroupHeader.tabsBackground': theme.scheme.background,
|
||||
'editorGroup.border': theme.scheme.background,
|
||||
// Editor gutter
|
||||
'editorGutter.modifiedBackground': theme.scheme.base.blue + '60',
|
||||
'editorGutter.addedBackground': theme.scheme.base.green + '60',
|
||||
'editorGutter.deletedBackground': theme.scheme.base.red + '60',
|
||||
/**
|
||||
* Activity bar style
|
||||
*/
|
||||
'activityBar.background': theme.scheme.background,
|
||||
'activityBar.border': theme.scheme.background,
|
||||
// 'activityBar.foreground': theme.scheme.shade5,
|
||||
'activityBar.activeBorder': theme.scheme.base.pink,
|
||||
/**
|
||||
* Activity bar badges style
|
||||
*/
|
||||
'activityBarBadge.background': theme.scheme.base.cyan,
|
||||
'activityBarBadge.foreground': theme.scheme.background,
|
||||
/**
|
||||
* Global badges style
|
||||
*/
|
||||
'badge.background': theme.scheme.base.cyan,
|
||||
'badge.foreground': theme.scheme.background,
|
||||
/**
|
||||
* Extensions badge style
|
||||
*/
|
||||
// 'extensionBadge.remoteBackground': theme.scheme.shade3,
|
||||
'extensionBadge.remoteForeground': theme.scheme.foreground,
|
||||
/**
|
||||
* Scrollbar style
|
||||
*/
|
||||
// 'scrollbarSlider.background': theme.scheme.shade4 + '50',
|
||||
// 'scrollbarSlider.hoverBackground': theme.scheme.shade2,
|
||||
// 'scrollbarSlider.activeBackground': theme.scheme.shade4,
|
||||
/**
|
||||
* Tabs style
|
||||
*/
|
||||
'tab.activeBorder': theme.scheme.background,
|
||||
'tab.activeBorderTop': theme.scheme.base.cyan,
|
||||
// 'tab.inactiveModifiedBorder': theme.scheme.shade5,
|
||||
'tab.activeModifiedBorder': theme.scheme.base.pink,
|
||||
// 'tab.unfocusedActiveBorder': theme.scheme.shade4,
|
||||
'tab.activeForeground': theme.scheme.base.white,
|
||||
'tab.activeBackground': theme.scheme.background,
|
||||
// 'tab.inactiveForeground': theme.scheme.shade4,
|
||||
'tab.inactiveBackground': theme.scheme.background,
|
||||
'tab.unfocusedActiveForeground': theme.scheme.foreground,
|
||||
'tab.border': theme.scheme.background,
|
||||
/**
|
||||
* Editor overlay widgets style (find/replace..)
|
||||
*/
|
||||
// 'editorWidget.background': theme.scheme.shade1,
|
||||
'editorWidget.resizeBorder': theme.scheme.base.yellow,
|
||||
'editorWidget.border': theme.scheme.base.yellow,
|
||||
/**
|
||||
* Statusbar style
|
||||
*/
|
||||
'statusBar.noFolderBackground': theme.scheme.background,
|
||||
// 'statusBar.border': theme.scheme.borders,
|
||||
'statusBar.background': theme.scheme.background,
|
||||
// 'statusBar.foreground': theme.scheme.shade4,
|
||||
'statusBar.debuggingBackground': theme.scheme.base.purple,
|
||||
'statusBar.debuggingForeground': theme.scheme.base.white,
|
||||
/**
|
||||
* Statusbar items style
|
||||
*/
|
||||
// 'statusBarItem.hoverBackground': theme.scheme.shade1 + '50',
|
||||
'statusBarItem.remoteForeground': theme.scheme.base.black,
|
||||
'statusBarItem.remoteBackground': theme.scheme.base.yellow,
|
||||
/**
|
||||
* Matching brackets style
|
||||
*/
|
||||
'editorBracketMatch.border': theme.scheme.base.cyan + '70',
|
||||
'editorBracketMatch.background': theme.scheme.background,
|
||||
/**
|
||||
* Editor Overview Ruler style
|
||||
*/
|
||||
'editorOverviewRuler.findMatchForeground': theme.scheme.base.pink,
|
||||
// 'editorOverviewRuler.border': theme.scheme.borders,
|
||||
'editorOverviewRuler.errorForeground': theme.scheme.base.red,
|
||||
'editorOverviewRuler.infoForeground': theme.scheme.base.blue,
|
||||
'editorOverviewRuler.warningForeground': theme.scheme.base.yellow,
|
||||
/**
|
||||
* Squigglies style
|
||||
*/
|
||||
'editorInfo.foreground': theme.scheme.base.blue,
|
||||
'editorWarning.foreground': theme.scheme.base.yellow,
|
||||
'editorError.foreground': theme.scheme.base.red,
|
||||
/**
|
||||
* Popop dialogs style
|
||||
*/
|
||||
// 'editorHoverWidget.background': theme.scheme.shade1,
|
||||
// 'editorHoverWidget.border': theme.scheme.shade1,
|
||||
/**
|
||||
* Title bar style
|
||||
*/
|
||||
'titleBar.activeBackground': theme.scheme.background,
|
||||
'titleBar.activeForeground': theme.scheme.foreground,
|
||||
'titleBar.inactiveBackground': theme.scheme.background,
|
||||
// 'titleBar.inactiveForeground': theme.scheme.shade4,
|
||||
// 'titleBar.border': theme.scheme.borders,
|
||||
/**
|
||||
* Textfield and inputs style
|
||||
*/
|
||||
'input.background': theme.scheme.background,
|
||||
'input.foreground': theme.scheme.base.pink,
|
||||
// 'input.placeholderForeground': theme.scheme.shade3,
|
||||
// 'input.border': theme.scheme.shade1,
|
||||
/**
|
||||
* Inputs validation style
|
||||
*/
|
||||
'inputValidation.errorBorder': theme.scheme.base.red + '50',
|
||||
'inputValidation.infoBorder': theme.scheme.base.blue + '50',
|
||||
'inputValidation.warningBorder': theme.scheme.base.yellow + '50',
|
||||
/**
|
||||
* Dropdown menu style
|
||||
*/
|
||||
// 'dropdown.background': theme.scheme.shade1,
|
||||
// 'dropdown.border': theme.scheme.shade1,
|
||||
/**
|
||||
* Lists style
|
||||
*/
|
||||
'list.hoverForeground': theme.scheme.foreground,
|
||||
'list.hoverBackground': themeSchemeBackground,
|
||||
'list.activeSelectionBackground': themeSchemeBackground,
|
||||
'list.activeSelectionForeground': theme.scheme.base.cyan,
|
||||
'list.inactiveSelectionForeground': theme.scheme.base.cyan,
|
||||
// 'list.inactiveSelectionBackground': theme.scheme.shade1 + '50',
|
||||
// 'list.focusBackground': theme.scheme.shade1,
|
||||
'list.focusForeground': theme.scheme.base.white,
|
||||
'list.highlightForeground': theme.scheme.base.cyan,
|
||||
// 'list.dropBackground': theme.scheme.shade2,
|
||||
/**
|
||||
* Editor suggest widget style
|
||||
*/
|
||||
// 'editorSuggestWidget.background': theme.scheme.shade1,
|
||||
'editorSuggestWidget.foreground': theme.scheme.foreground,
|
||||
'editorSuggestWidget.highlightForeground': theme.scheme.base.cyan,
|
||||
// 'editorSuggestWidget.selectedBackground': theme.scheme.shade2,
|
||||
// 'editorSuggestWidget.border': theme.scheme.shade1,
|
||||
/**
|
||||
* Editor diff editor style
|
||||
*/
|
||||
'diffEditor.insertedTextBackground': theme.scheme.base.cyan + '20',
|
||||
'diffEditor.removedTextBackground': theme.scheme.base.pink + '20',
|
||||
/**
|
||||
* Extensions button style
|
||||
*/
|
||||
'extensionButton.prominentBackground': theme.scheme.base.yellow,
|
||||
'extensionButton.prominentHoverBackground': theme.scheme.base.yellow,
|
||||
'extensionButton.prominentForeground': theme.scheme.background,
|
||||
/**
|
||||
* Peekview window style
|
||||
*/
|
||||
'peekViewEditor.background': theme.scheme.background,
|
||||
'peekViewResult.background': theme.scheme.background,
|
||||
// 'peekView.border': theme.scheme.shade1,
|
||||
// 'peekViewTitle.background': theme.scheme.shade1,
|
||||
'peekViewEditorGutter.background': theme.scheme.background,
|
||||
'peekViewTitleDescription.foreground': theme.scheme.foreground,
|
||||
'peekViewResult.matchHighlightBackground': theme.scheme.base.pink + '50',
|
||||
'peekViewEditor.matchHighlightBackground': theme.scheme.base.pink + '50',
|
||||
// 'peekViewResult.selectionBackground': theme.scheme.shade1,
|
||||
/**
|
||||
* GIT decorations style
|
||||
*/
|
||||
'gitDecoration.deletedResourceForeground': theme.scheme.base.red,
|
||||
'gitDecoration.conflictingResourceForeground': theme.scheme.base.yellow,
|
||||
'gitDecoration.modifiedResourceForeground': theme.scheme.base.blue,
|
||||
'gitDecoration.untrackedResourceForeground': theme.scheme.base.green,
|
||||
// 'gitDecoration.ignoredResourceForeground': theme.scheme.shade1,
|
||||
/**
|
||||
* Breadcrumb style
|
||||
*/
|
||||
'breadcrumb.background': theme.scheme.background,
|
||||
// 'breadcrumb.foreground': theme.scheme.shade4,
|
||||
'breadcrumb.focusForeground': theme.scheme.foreground,
|
||||
'breadcrumb.activeSelectionForeground': theme.scheme.base.pink,
|
||||
'breadcrumbPicker.background': theme.scheme.background,
|
||||
/**
|
||||
* Custom menus style
|
||||
*/
|
||||
// 'menu.background': theme.scheme.shade1,
|
||||
// 'menu.foreground': theme.scheme.shade3,
|
||||
// 'menu.selectionBackground': theme.scheme.shade1,
|
||||
'menu.selectionForeground': theme.scheme.foreground,
|
||||
// 'menu.selectionBorder': theme.scheme.shade1,
|
||||
// 'menu.separatorBackground': theme.scheme.shade3,
|
||||
/**
|
||||
* Menu Bar style
|
||||
*/
|
||||
// 'menubar.selectionBackground': theme.scheme.shade1,
|
||||
'menubar.selectionForeground': theme.scheme.foreground,
|
||||
// 'menubar.selectionBorder': theme.scheme.shade1,
|
||||
/**
|
||||
* Settings elements style
|
||||
*/
|
||||
'settings.dropdownForeground': theme.scheme.foreground,
|
||||
'settings.dropdownBackground': theme.scheme.background,
|
||||
'settings.numberInputForeground': theme.scheme.foreground,
|
||||
'settings.numberInputBackground': theme.scheme.background,
|
||||
'settings.textInputForeground': theme.scheme.foreground,
|
||||
'settings.textInputBackground': theme.scheme.background,
|
||||
'settings.headerForeground': theme.scheme.base.cyan,
|
||||
'settings.modifiedItemIndicator': theme.scheme.base.pink,
|
||||
'settings.checkboxBackground': theme.scheme.background,
|
||||
'settings.checkboxForeground': theme.scheme.foreground,
|
||||
/**
|
||||
* List Filter Widget style
|
||||
*/
|
||||
'listFilterWidget.background': theme.scheme.base.violet,
|
||||
'listFilterWidget.outline': theme.scheme.base.violet,
|
||||
'listFilterWidget.noMatchesOutline': theme.scheme.base.violet
|
||||
},
|
||||
/**
|
||||
* Overrides specific syntax scopes provided
|
||||
* by the theme generator
|
||||
*/
|
||||
syntax: {
|
||||
boolean: theme.scheme.base.pink,
|
||||
class: theme.scheme.base.violet,
|
||||
classMember: theme.scheme.base.red,
|
||||
// Comment: theme.scheme.shade4,
|
||||
cssClass: theme.scheme.base.yellow,
|
||||
cssId: theme.scheme.base.orange,
|
||||
cssTag: theme.scheme.base.yellow,
|
||||
function: theme.scheme.base.yellow,
|
||||
functionCall: theme.scheme.base.violet,
|
||||
identifier: theme.scheme.base.cyan,
|
||||
keyword: theme.scheme.base.red,
|
||||
storage: theme.scheme.foreground,
|
||||
string: theme.scheme.base.green,
|
||||
stringEscape: theme.scheme.foreground,
|
||||
type: theme.scheme.base.pink
|
||||
},
|
||||
/**
|
||||
* Define the integrated shell
|
||||
* color palette
|
||||
*/
|
||||
terminal: {
|
||||
// Black: theme.scheme.shade3,
|
||||
blue: theme.scheme.base.blue,
|
||||
// BrightBlack: theme.scheme.shade3,
|
||||
brightBlue: theme.scheme.base.blue,
|
||||
brightCyan: theme.scheme.base.cyan,
|
||||
brightGreen: theme.scheme.base.green,
|
||||
brightMagenta: theme.scheme.base.purple,
|
||||
brightRed: theme.scheme.base.red,
|
||||
brightWhite: theme.scheme.base.white,
|
||||
brightYellow: theme.scheme.base.yellow,
|
||||
cyan: theme.scheme.base.cyan,
|
||||
green: theme.scheme.base.green,
|
||||
magenta: theme.scheme.base.purple,
|
||||
red: theme.scheme.base.red,
|
||||
white: theme.scheme.base.white,
|
||||
yellow: theme.scheme.base.yellow
|
||||
},
|
||||
/**
|
||||
* Define workbench colors
|
||||
*/
|
||||
ui: {
|
||||
// Highlights matches from the find widget
|
||||
// currentFindMatchHighlight: theme.scheme.shade5,
|
||||
// Set the editor cursor color
|
||||
cursor: theme.scheme.base.yellow,
|
||||
// Ighlights matches from the find widge
|
||||
findMatchHighlight: theme.scheme.base.pink,
|
||||
// Highlights the selected area for "find in selection"
|
||||
findRangeHighlight: theme.scheme.base.yellow + '30',
|
||||
// Set color for invisible characters/whitespaces
|
||||
// invisibles: theme.scheme.shade1,
|
||||
// Highlights text which matches the selected text
|
||||
// selection: theme.scheme.shade1,
|
||||
// Highlights text inside selected area
|
||||
selectionHighlight: theme.scheme.base.yellow + '50',
|
||||
// When the cursor is on a symbol, highlights places that symbol is read
|
||||
wordHighlight: theme.scheme.base.pink + '30',
|
||||
// When the cursor is on a symbol, highlights places that symbol is written
|
||||
wordHighlightStrong: theme.scheme.base.green + '30'
|
||||
}
|
||||
/**
|
||||
* Override all syntax tokens
|
||||
*/
|
||||
// customTokens: [
|
||||
// {
|
||||
// name: 'String',
|
||||
// scope: [ 'string' ],
|
||||
// settings: {
|
||||
// fontStyle: 'normal',
|
||||
// foreground: '#',
|
||||
// background: '#'
|
||||
// }
|
||||
// }
|
||||
// ]
|
||||
};
|
||||
};
|
33
scripts/generator/index.ts
Normal file
33
scripts/generator/index.ts
Normal file
|
@ -0,0 +1,33 @@
|
|||
import * as fs from 'fs-extra';
|
||||
import * as path from 'path';
|
||||
|
||||
import {generateTheme} from '@moxer/vscode-theme-generator';
|
||||
import {ThemeSetting} from './types';
|
||||
import {getColorSet} from './color-set';
|
||||
import {BUILD_FOLDER_PATH} from '../../env';
|
||||
|
||||
const THEME_BUILD_PATH = path.join(BUILD_FOLDER_PATH, 'themes');
|
||||
const themes = ['default', 'darker', 'lighter', 'ocean', 'palenight'];
|
||||
|
||||
const withHC = themes.reduce((acc, src) => {
|
||||
acc = acc.concat(`${src}-hc`);
|
||||
return acc;
|
||||
}, themes);
|
||||
|
||||
const themeModules = withHC.map(async theme => import(`./settings/specific/${theme}`).then(res => res.default));
|
||||
|
||||
const generate = async (): Promise<void> => {
|
||||
await fs.mkdirp(THEME_BUILD_PATH);
|
||||
const modules = await Promise.all(themeModules) as ThemeSetting[];
|
||||
modules.forEach(theme => {
|
||||
const colorSet = getColorSet(theme);
|
||||
generateTheme(theme.name, colorSet, path.join(THEME_BUILD_PATH, `${theme.name}.json`));
|
||||
});
|
||||
};
|
||||
|
||||
try {
|
||||
generate();
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
process.exit(1);
|
||||
}
|
49
scripts/generator/settings/specific/darker-hc.ts
Normal file
49
scripts/generator/settings/specific/darker-hc.ts
Normal file
|
@ -0,0 +1,49 @@
|
|||
export default {
|
||||
id: 'material.theme.darker.hc',
|
||||
name: 'Material-Theme-Darker-High-Contrast',
|
||||
type: 'dark',
|
||||
scheme: {
|
||||
background: '#212121',
|
||||
backgroundAlt: '#1a1a1a',
|
||||
contrastBorder: '#000000',
|
||||
sidebarForeground: '#848484',
|
||||
scrollbars: '#EEFFFF20',
|
||||
comments: '#4A4A4A',
|
||||
caret: '#FFCC00',
|
||||
findHighlight: '#FFCC00',
|
||||
foreground: '#EEFFFF',
|
||||
focusBorder: '#FFFFFF',
|
||||
guides: '#424242',
|
||||
lineNumbers: '#424242',
|
||||
invisibles: '#65737E',
|
||||
lineHighlight: '#000000',
|
||||
selection: '#61616150',
|
||||
shadow: '#00000030',
|
||||
inputBackground: '#2B2B2B',
|
||||
inputForeground: '#EEFFFF',
|
||||
inputBorder: '#FFFFFF10',
|
||||
scrollbarsHover: '#EEFFFF10',
|
||||
statusbarForeground: '#616161',
|
||||
listHoverForeground: '#FFFFFF',
|
||||
tabActiveForeground: '#FFFFFF',
|
||||
inactiveSelectionBackground: '#00000030',
|
||||
findMatchBackground: '#000000',
|
||||
findMatchHighlightBackground: '#00000050',
|
||||
findMatchHighlightBorder: '#ffffff50',
|
||||
base: {
|
||||
white: '#ffffff',
|
||||
black: '#000000',
|
||||
red: '#FF5370',
|
||||
orange: '#F78C6C',
|
||||
yellow: '#FFCB6B',
|
||||
green: '#C3E88D',
|
||||
cyan: '#89DDFF',
|
||||
blue: '#82AAFF',
|
||||
paleblue: '#B2CCD6',
|
||||
purple: '#C792EA',
|
||||
brown: '#C17E70',
|
||||
pink: '#f07178',
|
||||
violet: '#bb80b3'
|
||||
}
|
||||
}
|
||||
};
|
51
scripts/generator/settings/specific/darker.ts
Normal file
51
scripts/generator/settings/specific/darker.ts
Normal file
|
@ -0,0 +1,51 @@
|
|||
export default {
|
||||
id: 'material.theme.darker',
|
||||
name: 'Material-Theme-Darker',
|
||||
type: 'dark',
|
||||
scheme: {
|
||||
background: '#212121',
|
||||
backgroundAlt: '#212121',
|
||||
contrastBorder: '#212121',
|
||||
comments: '#545454',
|
||||
caret: '#FFCC00',
|
||||
findHighlight: '#FFCC00',
|
||||
foreground: '#EEFFFF',
|
||||
focusBorder: '#FFFFFF',
|
||||
guides: '#424242',
|
||||
lineNumbers: '#424242',
|
||||
invisibles: '#65737E',
|
||||
lineHighlight: '#000000',
|
||||
selection: '#61616150',
|
||||
shadow: '#00000030',
|
||||
inputBackground: '#2B2B2B',
|
||||
inputForeground: '#EEFFFF',
|
||||
inputBorder: '#FFFFFF10',
|
||||
scrollbars: '#EEFFFF20',
|
||||
scrollbarsHover: '#EEFFFF10',
|
||||
statusbarForeground: '#616161',
|
||||
sidebarBackground: '#212121',
|
||||
sidebarForeground: '#616161',
|
||||
listHoverForeground: '#FFFFFF',
|
||||
listHoverBackground: '#212121',
|
||||
tabActiveForeground: '#FFFFFF',
|
||||
inactiveSelectionBackground: '#00000030',
|
||||
findMatchBackground: '#000000',
|
||||
findMatchHighlightBackground: '#00000050',
|
||||
findMatchHighlightBorder: '#ffffff30',
|
||||
base: {
|
||||
white: '#ffffff',
|
||||
black: '#000000',
|
||||
red: '#FF5370',
|
||||
orange: '#F78C6C',
|
||||
yellow: '#FFCB6B',
|
||||
green: '#C3E88D',
|
||||
cyan: '#89DDFF',
|
||||
blue: '#82AAFF',
|
||||
paleblue: '#B2CCD6',
|
||||
purple: '#C792EA',
|
||||
brown: '#C17E70',
|
||||
pink: '#f07178',
|
||||
violet: '#bb80b3'
|
||||
}
|
||||
}
|
||||
};
|
51
scripts/generator/settings/specific/default-hc.ts
Normal file
51
scripts/generator/settings/specific/default-hc.ts
Normal file
|
@ -0,0 +1,51 @@
|
|||
export default {
|
||||
id: 'material.theme.default.hc',
|
||||
name: 'Material-Theme-Default-High-Contrast',
|
||||
type: 'dark',
|
||||
scheme: {
|
||||
background: '#263238',
|
||||
backgroundAlt: '#192227',
|
||||
contrastBorder: '#000000',
|
||||
scrollbars: '#EEFFFF20',
|
||||
sidebarForeground: '#5f7a87',
|
||||
comments: '#546E7A',
|
||||
caret: '#FFCC00',
|
||||
findHighlight: '#FFCC00',
|
||||
foreground: '#EEFFFF',
|
||||
focusBorder: '#FFFFFF',
|
||||
guides: '#37474F',
|
||||
lineNumbers: '#37474F',
|
||||
invisibles: '#65737E',
|
||||
lineHighlight: '#000000',
|
||||
selection: '#80CBC420',
|
||||
shadow: '#00000030',
|
||||
inputBackground: '#303C41',
|
||||
inputForeground: '#EEFFFF',
|
||||
inputBorder: '#FFFFFF10',
|
||||
scrollbarsHover: '#EEFFFF10',
|
||||
statusbarForeground: '#546E7A',
|
||||
sidebarBackground: '#263238',
|
||||
listHoverForeground: '#FFFFFF',
|
||||
listHoverBackground: '#263238',
|
||||
tabActiveForeground: '#FFFFFF',
|
||||
inactiveSelectionBackground: '#00000030',
|
||||
findMatchBackground: '#000000',
|
||||
findMatchHighlightBackground: '#00000050',
|
||||
findMatchHighlightBorder: '#ffffff50',
|
||||
base: {
|
||||
white: '#ffffff',
|
||||
black: '#000000',
|
||||
red: '#FF5370',
|
||||
orange: '#F78C6C',
|
||||
yellow: '#FFCB6B',
|
||||
green: '#C3E88D',
|
||||
cyan: '#89DDFF',
|
||||
blue: '#82AAFF',
|
||||
paleblue: '#B2CCD6',
|
||||
purple: '#C792EA',
|
||||
brown: '#C17E70',
|
||||
pink: '#f07178',
|
||||
violet: '#bb80b3'
|
||||
}
|
||||
}
|
||||
};
|
51
scripts/generator/settings/specific/default.ts
Normal file
51
scripts/generator/settings/specific/default.ts
Normal file
|
@ -0,0 +1,51 @@
|
|||
export default {
|
||||
id: 'material.theme.default',
|
||||
name: 'Material-Theme-Default',
|
||||
type: 'dark',
|
||||
scheme: {
|
||||
background: '#263238',
|
||||
backgroundAlt: '#263238',
|
||||
contrastBorder: '#263238',
|
||||
comments: '#546E7A',
|
||||
caret: '#FFCC00',
|
||||
findHighlight: '#FFCC00',
|
||||
foreground: '#EEFFFF',
|
||||
focusBorder: '#FFFFFF',
|
||||
guides: '#37474F',
|
||||
lineNumbers: '#37474F',
|
||||
invisibles: '#65737E',
|
||||
lineHighlight: '#000000',
|
||||
selection: '#80CBC420',
|
||||
shadow: '#00000030',
|
||||
inputBackground: '#303C41',
|
||||
inputForeground: '#EEFFFF',
|
||||
inputBorder: '#FFFFFF10',
|
||||
scrollbars: '#EEFFFF20',
|
||||
scrollbarsHover: '#EEFFFF10',
|
||||
statusbarForeground: '#546E7A',
|
||||
sidebarBackground: '#263238',
|
||||
sidebarForeground: '#607a86',
|
||||
listHoverForeground: '#FFFFFF',
|
||||
listHoverBackground: '#263238',
|
||||
tabActiveForeground: '#FFFFFF',
|
||||
inactiveSelectionBackground: '#00000030',
|
||||
findMatchBackground: '#000000',
|
||||
findMatchHighlightBackground: '#00000050',
|
||||
findMatchHighlightBorder: '#ffffff30',
|
||||
base: {
|
||||
white: '#ffffff',
|
||||
black: '#000000',
|
||||
red: '#FF5370',
|
||||
orange: '#F78C6C',
|
||||
yellow: '#FFCB6B',
|
||||
green: '#C3E88D',
|
||||
cyan: '#89DDFF',
|
||||
blue: '#82AAFF',
|
||||
paleblue: '#B2CCD6',
|
||||
purple: '#C792EA',
|
||||
brown: '#C17E70',
|
||||
pink: '#f07178',
|
||||
violet: '#bb80b3'
|
||||
}
|
||||
}
|
||||
};
|
51
scripts/generator/settings/specific/lighter-hc.ts
Normal file
51
scripts/generator/settings/specific/lighter-hc.ts
Normal file
|
@ -0,0 +1,51 @@
|
|||
export default {
|
||||
id: 'material.theme.lighter.hc',
|
||||
name: 'Material-Theme-Lighter-High-Contrast',
|
||||
type: 'light',
|
||||
scheme: {
|
||||
background: '#FFFFFF',
|
||||
backgroundAlt: '#FAFAFA',
|
||||
contrastBorder: '#CBCBCB',
|
||||
scrollbars: '#90A4AE20',
|
||||
sidebarForeground: '#627883',
|
||||
comments: '#90A4AE',
|
||||
caret: '#272727',
|
||||
findHighlight: '#FFCC00',
|
||||
foreground: '#90A4AE',
|
||||
focusBorder: '#FFFFFF',
|
||||
guides: '#B0BEC5',
|
||||
lineNumbers: '#CFD8DC',
|
||||
invisibles: '#E7EAEC',
|
||||
lineHighlight: '#CCD7DA',
|
||||
selection: '#80CBC440',
|
||||
shadow: '#00000020',
|
||||
inputBackground: '#EEEEEE',
|
||||
inputForeground: '#90A4AE',
|
||||
inputBorder: '#00000010',
|
||||
scrollbarsHover: '#90A4AE10',
|
||||
statusbarForeground: '#7E939E',
|
||||
sidebarBackground: '#FAFAFA',
|
||||
listHoverForeground: '#B1C7D3',
|
||||
listHoverBackground: '#FAFAFA',
|
||||
tabActiveForeground: '#000000',
|
||||
inactiveSelectionBackground: '#CCD7DA50',
|
||||
findMatchBackground: '#00000040',
|
||||
findMatchHighlightBackground: '#00000010',
|
||||
findMatchHighlightBorder: '#00000060',
|
||||
base: {
|
||||
white: '#FFFFFF',
|
||||
black: '#000000',
|
||||
red: '#E53935',
|
||||
orange: '#F76D47',
|
||||
yellow: '#FFB62C',
|
||||
green: '#91B859',
|
||||
cyan: '#39ADB5',
|
||||
blue: '#6182B8',
|
||||
paleblue: '#8796B0',
|
||||
purple: '#7C4DFF',
|
||||
brown: '#C17E70',
|
||||
pink: '#FF5370',
|
||||
violet: '#945EB8'
|
||||
}
|
||||
}
|
||||
};
|
51
scripts/generator/settings/specific/lighter.ts
Normal file
51
scripts/generator/settings/specific/lighter.ts
Normal file
|
@ -0,0 +1,51 @@
|
|||
export default {
|
||||
id: 'material.theme.lighter',
|
||||
name: 'Material-Theme-Lighter',
|
||||
type: 'light',
|
||||
scheme: {
|
||||
background: '#FAFAFA',
|
||||
backgroundAlt: '#FAFAFA',
|
||||
contrastBorder: '#FAFAFA',
|
||||
comments: '#90A4AE',
|
||||
caret: '#272727',
|
||||
findHighlight: '#FFCC00',
|
||||
foreground: '#90A4AE',
|
||||
focusBorder: '#FFFFFF',
|
||||
guides: '#B0BEC5',
|
||||
lineNumbers: '#CFD8DC',
|
||||
invisibles: '#E7EAEC',
|
||||
lineHighlight: '#CCD7DA',
|
||||
selection: '#80CBC440',
|
||||
shadow: '#00000020',
|
||||
inputBackground: '#EEEEEE',
|
||||
inputForeground: '#90A4AE',
|
||||
inputBorder: '#00000010',
|
||||
scrollbars: '#90A4AE20',
|
||||
scrollbarsHover: '#90A4AE10',
|
||||
statusbarForeground: '#7E939E',
|
||||
sidebarBackground: '#FAFAFA',
|
||||
sidebarForeground: '#7E939E',
|
||||
listHoverForeground: '#B1C7D3',
|
||||
listHoverBackground: '#FAFAFA',
|
||||
tabActiveForeground: '#000000',
|
||||
inactiveSelectionBackground: '#CCD7DA50',
|
||||
findMatchBackground: '#00000020',
|
||||
findMatchHighlightBackground: '#00000010',
|
||||
findMatchHighlightBorder: '#00000030',
|
||||
base: {
|
||||
white: '#FFFFFF',
|
||||
black: '#000000',
|
||||
red: '#E53935',
|
||||
orange: '#F76D47',
|
||||
yellow: '#FFB62C',
|
||||
green: '#91B859',
|
||||
cyan: '#39ADB5',
|
||||
blue: '#6182B8',
|
||||
paleblue: '#8796B0',
|
||||
purple: '#7C4DFF',
|
||||
brown: '#C17E70',
|
||||
pink: '#FF5370',
|
||||
violet: '#945EB8'
|
||||
}
|
||||
}
|
||||
};
|
51
scripts/generator/settings/specific/ocean-hc.ts
Normal file
51
scripts/generator/settings/specific/ocean-hc.ts
Normal file
|
@ -0,0 +1,51 @@
|
|||
export default {
|
||||
id: 'material.theme.ocean.hc',
|
||||
name: 'Material-Theme-Ocean-High-Contrast',
|
||||
type: 'dark',
|
||||
scheme: {
|
||||
background: '#0F111A',
|
||||
backgroundAlt: '#090B10',
|
||||
contrastBorder: '#000000',
|
||||
comments: '#464B5D',
|
||||
caret: '#FFCC00',
|
||||
findHighlight: '#FFCC00',
|
||||
foreground: '#8F93A2',
|
||||
focusBorder: '#FFFFFF',
|
||||
guides: '#3B3F51',
|
||||
lineNumbers: '#3B3F5180',
|
||||
invisibles: '#80869E50',
|
||||
lineHighlight: '#000000',
|
||||
selection: '#717CB450',
|
||||
shadow: '#00000030',
|
||||
inputBackground: '#1A1C25',
|
||||
inputForeground: '#EEFFFF',
|
||||
inputBorder: '#FFFFFF10',
|
||||
scrollbars: '#8F93A220',
|
||||
scrollbarsHover: '#8F93A210',
|
||||
statusbarForeground: '#4B526D',
|
||||
sidebarBackground: '#292D3E',
|
||||
sidebarForeground: '#4B526D',
|
||||
listHoverForeground: '#FFFFFF',
|
||||
listHoverBackground: '#292D3E',
|
||||
tabActiveForeground: '#FFFFFF',
|
||||
inactiveSelectionBackground: '#00000030',
|
||||
findMatchBackground: '#000000',
|
||||
findMatchHighlightBackground: '#00000050',
|
||||
findMatchHighlightBorder: '#ffffff50',
|
||||
base: {
|
||||
white: '#ffffff',
|
||||
black: '#000000',
|
||||
red: '#FF5370',
|
||||
orange: '#F78C6C',
|
||||
yellow: '#FFCB6B',
|
||||
green: '#C3E88D',
|
||||
cyan: '#89DDFF',
|
||||
blue: '#82AAFF',
|
||||
paleblue: '#B2CCD6',
|
||||
purple: '#C792EA',
|
||||
brown: '#C17E70',
|
||||
pink: '#f07178',
|
||||
violet: '#bb80b3'
|
||||
}
|
||||
}
|
||||
};
|
51
scripts/generator/settings/specific/ocean.ts
Normal file
51
scripts/generator/settings/specific/ocean.ts
Normal file
|
@ -0,0 +1,51 @@
|
|||
export default {
|
||||
id: 'material.theme.ocean',
|
||||
name: 'Material-Theme-Ocean',
|
||||
type: 'dark',
|
||||
scheme: {
|
||||
background: '#0F111A',
|
||||
backgroundAlt: '#0F111A',
|
||||
contrastBorder: '#0F111A',
|
||||
comments: '#464B5D',
|
||||
caret: '#FFCC00',
|
||||
findHighlight: '#FFCC00',
|
||||
foreground: '#8F93A2',
|
||||
focusBorder: '#FFFFFF',
|
||||
guides: '#3B3F51',
|
||||
lineNumbers: '#3B3F5180',
|
||||
invisibles: '#80869E50',
|
||||
lineHighlight: '#000000',
|
||||
selection: '#717CB450',
|
||||
shadow: '#00000030',
|
||||
inputBackground: '#1A1C25',
|
||||
inputForeground: '#EEFFFF',
|
||||
inputBorder: '#FFFFFF10',
|
||||
scrollbars: '#8F93A220',
|
||||
scrollbarsHover: '#8F93A210',
|
||||
statusbarForeground: '#4B526D',
|
||||
sidebarBackground: '#292D3E',
|
||||
sidebarForeground: '#525975',
|
||||
listHoverForeground: '#FFFFFF',
|
||||
listHoverBackground: '#292D3E',
|
||||
tabActiveForeground: '#FFFFFF',
|
||||
inactiveSelectionBackground: '#00000030',
|
||||
findMatchBackground: '#000000',
|
||||
findMatchHighlightBackground: '#00000050',
|
||||
findMatchHighlightBorder: '#ffffff30',
|
||||
base: {
|
||||
white: '#ffffff',
|
||||
black: '#000000',
|
||||
red: '#FF5370',
|
||||
orange: '#F78C6C',
|
||||
yellow: '#FFCB6B',
|
||||
green: '#C3E88D',
|
||||
cyan: '#89DDFF',
|
||||
blue: '#82AAFF',
|
||||
paleblue: '#B2CCD6',
|
||||
purple: '#C792EA',
|
||||
brown: '#C17E70',
|
||||
pink: '#f07178',
|
||||
violet: '#bb80b3'
|
||||
}
|
||||
}
|
||||
};
|
51
scripts/generator/settings/specific/palenight-hc.ts
Normal file
51
scripts/generator/settings/specific/palenight-hc.ts
Normal file
|
@ -0,0 +1,51 @@
|
|||
export default {
|
||||
id: 'material.theme.palenight.hc',
|
||||
name: 'Material-Theme-Palenight-High-Contrast',
|
||||
type: 'dark',
|
||||
scheme: {
|
||||
background: '#292D3E',
|
||||
backgroundAlt: '#1B1E2B',
|
||||
contrastBorder: '#000000',
|
||||
scrollbars: '#A6ACCD20',
|
||||
sidebarForeground: '#757CA1',
|
||||
comments: '#676E95',
|
||||
caret: '#FFCC00',
|
||||
findHighlight: '#FFCC00',
|
||||
foreground: '#A6ACCD',
|
||||
focusBorder: '#FFFFFF',
|
||||
guides: '#4E5579',
|
||||
lineNumbers: '#3A3F58',
|
||||
invisibles: '#4E5579',
|
||||
lineHighlight: '#000000',
|
||||
selection: '#717CB450',
|
||||
shadow: '#00000030',
|
||||
inputBackground: '#333747',
|
||||
inputForeground: '#EEFFFF',
|
||||
inputBorder: '#FFFFFF10',
|
||||
scrollbarsHover: '#A6ACCD10',
|
||||
statusbarForeground: '#676E95',
|
||||
sidebarBackground: '#292D3E',
|
||||
listHoverForeground: '#FFFFFF',
|
||||
listHoverBackground: '#292D3E',
|
||||
tabActiveForeground: '#FFFFFF',
|
||||
inactiveSelectionBackground: '#00000030',
|
||||
findMatchBackground: '#000000',
|
||||
findMatchHighlightBackground: '#00000050',
|
||||
findMatchHighlightBorder: '#ffffff50',
|
||||
base: {
|
||||
white: '#ffffff',
|
||||
black: '#000000',
|
||||
red: '#FF5370',
|
||||
orange: '#F78C6C',
|
||||
yellow: '#FFCB6B',
|
||||
green: '#C3E88D',
|
||||
cyan: '#89DDFF',
|
||||
blue: '#82AAFF',
|
||||
paleblue: '#B2CCD6',
|
||||
purple: '#C792EA',
|
||||
brown: '#C17E70',
|
||||
pink: '#f07178',
|
||||
violet: '#bb80b3'
|
||||
}
|
||||
}
|
||||
};
|
51
scripts/generator/settings/specific/palenight.ts
Normal file
51
scripts/generator/settings/specific/palenight.ts
Normal file
|
@ -0,0 +1,51 @@
|
|||
export default {
|
||||
id: 'material.theme.palenight',
|
||||
name: 'Material-Theme-Palenight',
|
||||
type: 'dark',
|
||||
scheme: {
|
||||
background: '#292D3E',
|
||||
backgroundAlt: '#292D3E',
|
||||
contrastBorder: '#292D3E',
|
||||
comments: '#676E95',
|
||||
caret: '#FFCC00',
|
||||
findHighlight: '#FFCC00',
|
||||
foreground: '#A6ACCD',
|
||||
focusBorder: '#FFFFFF',
|
||||
guides: '#4E5579',
|
||||
lineNumbers: '#3A3F58',
|
||||
invisibles: '#4E5579',
|
||||
lineHighlight: '#000000',
|
||||
selection: '#717CB450',
|
||||
shadow: '#00000030',
|
||||
inputBackground: '#333747',
|
||||
inputForeground: '#EEFFFF',
|
||||
inputBorder: '#FFFFFF10',
|
||||
scrollbars: '#A6ACCD20',
|
||||
scrollbarsHover: '#A6ACCD10',
|
||||
statusbarForeground: '#676E95',
|
||||
sidebarBackground: '#292D3E',
|
||||
sidebarForeground: '#676E95',
|
||||
listHoverForeground: '#FFFFFF',
|
||||
listHoverBackground: '#292D3E',
|
||||
tabActiveForeground: '#FFFFFF',
|
||||
inactiveSelectionBackground: '#00000030',
|
||||
findMatchBackground: '#000000',
|
||||
findMatchHighlightBackground: '#00000050',
|
||||
findMatchHighlightBorder: '#ffffff30',
|
||||
base: {
|
||||
white: '#ffffff',
|
||||
black: '#000000',
|
||||
red: '#FF5370',
|
||||
orange: '#F78C6C',
|
||||
yellow: '#FFCB6B',
|
||||
green: '#C3E88D',
|
||||
cyan: '#89DDFF',
|
||||
blue: '#82AAFF',
|
||||
paleblue: '#B2CCD6',
|
||||
purple: '#C792EA',
|
||||
brown: '#C17E70',
|
||||
pink: '#f07178',
|
||||
violet: '#bb80b3'
|
||||
}
|
||||
}
|
||||
};
|
50
scripts/generator/types.ts
Normal file
50
scripts/generator/types.ts
Normal file
|
@ -0,0 +1,50 @@
|
|||
|
||||
export type ThemeSetting = {
|
||||
id: string;
|
||||
name: string;
|
||||
type: string;
|
||||
scheme: {
|
||||
background: string;
|
||||
backgroundAlt: string;
|
||||
contrastBorder: string;
|
||||
sidebarForeground: string;
|
||||
scrollbars: string;
|
||||
comments: string;
|
||||
caret: string;
|
||||
findHighlight: string;
|
||||
foreground: string;
|
||||
focusBorder: string;
|
||||
guides: string;
|
||||
lineNumbers: string;
|
||||
invisibles: string;
|
||||
lineHighlight: string;
|
||||
selection: string;
|
||||
shadow: string;
|
||||
inputBackground: string;
|
||||
inputForeground: string;
|
||||
inputBorder: string;
|
||||
scrollbarsHover: string;
|
||||
statusbarForeground: string;
|
||||
listHoverForeground: string;
|
||||
tabActiveForeground: string;
|
||||
inactiveSelectionBackground: string;
|
||||
findMatchBackground: string;
|
||||
findMatchHighlightBackground: string;
|
||||
findMatchHighlightBorder: string;
|
||||
base: {
|
||||
white: string;
|
||||
black: string;
|
||||
red: string;
|
||||
orange: string;
|
||||
yellow: string;
|
||||
green: string;
|
||||
cyan: string;
|
||||
blue: string;
|
||||
paleblue: string;
|
||||
purple: string;
|
||||
brown: string;
|
||||
pink: string;
|
||||
violet: string;
|
||||
};
|
||||
};
|
||||
};
|
|
@ -1,435 +0,0 @@
|
|||
import * as fs from 'fs-extra';
|
||||
import * as path from 'path';
|
||||
import Default from './settings/specific/default';
|
||||
import DefaultHC from './settings/specific/default-hc';
|
||||
import Darker from './settings/specific/darker';
|
||||
import DarkerHC from './settings/specific/darker-hc';
|
||||
import Lighter from './settings/specific/lighter';
|
||||
import LighterHC from './settings/specific/lighter-hc';
|
||||
import Ocean from './settings/specific/ocean';
|
||||
import OceanHC from './settings/specific/ocean-hc';
|
||||
import Palenight from './settings/specific/palenight';
|
||||
import PalenightHC from './settings/specific/palenight-hc';
|
||||
|
||||
// tslint:disable-next-line: no-submodule-imports
|
||||
import { generateTheme, IColorSet } from '@moxer/vscode-theme-generator';
|
||||
|
||||
/**
|
||||
* Define paths
|
||||
*/
|
||||
const buildPath: string = path.join(__dirname, '../../out/themes');
|
||||
const themes: any[] = [
|
||||
Default,
|
||||
DefaultHC,
|
||||
Darker,
|
||||
DarkerHC,
|
||||
Lighter,
|
||||
LighterHC,
|
||||
Ocean,
|
||||
OceanHC,
|
||||
Palenight,
|
||||
PalenightHC
|
||||
];
|
||||
|
||||
/**
|
||||
* Checl if the build folder exist.
|
||||
* If not, create it.
|
||||
*/
|
||||
if (!fs.existsSync(buildPath)) {
|
||||
fs.mkdirSync(buildPath);
|
||||
}
|
||||
|
||||
/**
|
||||
* Generate a [theme-name].json for each
|
||||
* theme file found inside src/themes
|
||||
*/
|
||||
themes.forEach((theme) => {
|
||||
const colorSet: IColorSet = {
|
||||
base: {
|
||||
// Determines the overall background color
|
||||
background: theme.scheme.background,
|
||||
// Determines boolean, identifier, keyword, storage, and cssClass
|
||||
color1: theme.scheme.base.red,
|
||||
// Determines string, stringEscape, and cssId
|
||||
color2: theme.scheme.base.green,
|
||||
// Determines function, class, classMember, type, and cssTag
|
||||
color3: theme.scheme.base.yellow,
|
||||
// Determines functionCall and number
|
||||
color4: theme.scheme.base.paleblue,
|
||||
// Determines the overall text foreground color
|
||||
foreground: theme.scheme.base.white
|
||||
},
|
||||
/**
|
||||
* Overrides workbench UI Elements
|
||||
*/
|
||||
workbench: {
|
||||
/**
|
||||
* General elements style
|
||||
*/
|
||||
focusBorder: theme.scheme.background + '00',
|
||||
'widget.shadow': theme.scheme.background + '00',
|
||||
'selection.background': theme.scheme.base.paleblue + '50',
|
||||
'scrollbar.shadow': theme.scheme.background + '00',
|
||||
'editorLink.activeForeground': theme.scheme.foreground,
|
||||
'progressBar.background': theme.scheme.base.yellow,
|
||||
'debugToolBar.background': theme.scheme.background,
|
||||
'pickerGroup.foreground': theme.scheme.base.yellow,
|
||||
'editorMarkerNavigation.background': theme.scheme.foreground + '05',
|
||||
'tree.indentGuidesStroke': theme.scheme.shade1,
|
||||
'terminalCursor.foreground': theme.scheme.base.yellow,
|
||||
'terminalCursor.background': theme.scheme.base.black,
|
||||
/**
|
||||
* Buttons style
|
||||
*/
|
||||
'button.background': theme.scheme.background,
|
||||
'button.hoverBackground': theme.scheme.shade2,
|
||||
/**
|
||||
* Links style
|
||||
*/
|
||||
'textLink.foreground': theme.scheme.base.cyan,
|
||||
'textLink.activeForeground': theme.scheme.base.yellow,
|
||||
/**
|
||||
* Sidebar style
|
||||
*/
|
||||
'sideBar.background': theme.scheme.background,
|
||||
'sideBar.foreground': theme.scheme.shade4,
|
||||
'sideBar.border': theme.scheme.shade2 + '50',
|
||||
/**
|
||||
* Sidebar elements style
|
||||
*/
|
||||
'sideBarTitle.foreground': theme.scheme.shade4,
|
||||
'sideBarSectionHeader.background': theme.scheme.background,
|
||||
// "sideBarSectionHeader.foreground": theme.scheme.foreground,
|
||||
'sideBarSectionHeader.border': theme.scheme.background,
|
||||
/**
|
||||
* Window panels style (terminal, global search)
|
||||
*/
|
||||
'panel.background': theme.scheme.background,
|
||||
'panel.border': theme.scheme.borders,
|
||||
'panel.dropBackground': theme.scheme.shade2,
|
||||
/**
|
||||
* Window panels elements style
|
||||
*/
|
||||
'panelTitle.inactiveForeground': theme.scheme.shade4,
|
||||
'panelTitle.activeForeground': theme.scheme.base.white,
|
||||
'panelTitle.activeBorder': theme.scheme.base.yellow,
|
||||
/**
|
||||
* Code Editor style
|
||||
*/
|
||||
'editor.background': theme.scheme.background,
|
||||
'editor.foreground': theme.scheme.foreground,
|
||||
'editor.lineHighlightBackground': theme.scheme.shade1 + '50',
|
||||
'editor.lineHighlightBorder': theme.scheme.shade1 + '00',
|
||||
'editor.findMatchBackground': theme.scheme.background + '00',
|
||||
'editor.findMatchHighlightBackground': theme.scheme.background + '00',
|
||||
'editor.findMatchBorder': theme.scheme.base.pink,
|
||||
'editor.findMatchHighlightBorder': theme.scheme.shade6,
|
||||
// Editor Indent guides
|
||||
'editorIndentGuide.background': theme.scheme.shade1,
|
||||
'editorIndentGuide.activeBackground': theme.scheme.shade3,
|
||||
// Editor line number
|
||||
'editorLineNumber.foreground': theme.scheme.shade3,
|
||||
'editorLineNumber.activeForeground': theme.scheme.base.yellow,
|
||||
// Editor tab groups
|
||||
'editorGroupHeader.tabsBackground': theme.scheme.background,
|
||||
'editorGroup.border': theme.scheme.background,
|
||||
// Editor gutter
|
||||
'editorGutter.modifiedBackground': theme.scheme.base.blue + '60',
|
||||
'editorGutter.addedBackground': theme.scheme.base.green + '60',
|
||||
'editorGutter.deletedBackground': theme.scheme.base.red + '60',
|
||||
/**
|
||||
* Activity bar style
|
||||
*/
|
||||
'activityBar.background': theme.scheme.background,
|
||||
'activityBar.border': theme.scheme.background,
|
||||
'activityBar.foreground': theme.scheme.shade5,
|
||||
'activityBar.activeBorder': theme.scheme.base.pink,
|
||||
/**
|
||||
* Activity bar badges style
|
||||
*/
|
||||
'activityBarBadge.background': theme.scheme.base.cyan,
|
||||
'activityBarBadge.foreground': theme.scheme.background,
|
||||
/**
|
||||
* Global badges style
|
||||
*/
|
||||
'badge.background': theme.scheme.base.cyan,
|
||||
'badge.foreground': theme.scheme.background,
|
||||
/**
|
||||
* Extensions badge style
|
||||
*/
|
||||
'extensionBadge.remoteBackground': theme.scheme.shade3,
|
||||
'extensionBadge.remoteForeground': theme.scheme.foreground,
|
||||
/**
|
||||
* Scrollbar style
|
||||
*/
|
||||
'scrollbarSlider.background': theme.scheme.shade4 + '50',
|
||||
'scrollbarSlider.hoverBackground': theme.scheme.shade2,
|
||||
'scrollbarSlider.activeBackground': theme.scheme.shade4,
|
||||
/**
|
||||
* Tabs style
|
||||
*/
|
||||
'tab.activeBorder': theme.scheme.background,
|
||||
'tab.activeBorderTop': theme.scheme.base.cyan,
|
||||
'tab.inactiveModifiedBorder': theme.scheme.shade5,
|
||||
'tab.activeModifiedBorder': theme.scheme.base.pink,
|
||||
'tab.unfocusedActiveBorder': theme.scheme.shade4,
|
||||
'tab.activeForeground': theme.scheme.base.white,
|
||||
'tab.activeBackground': theme.scheme.background,
|
||||
'tab.inactiveForeground': theme.scheme.shade4,
|
||||
'tab.inactiveBackground': theme.scheme.background,
|
||||
'tab.unfocusedActiveForeground': theme.scheme.foreground,
|
||||
'tab.border': theme.scheme.background,
|
||||
/**
|
||||
* Editor overlay widgets style (find/replace..)
|
||||
*/
|
||||
'editorWidget.background': theme.scheme.shade1,
|
||||
'editorWidget.resizeBorder': theme.scheme.base.yellow,
|
||||
'editorWidget.border': theme.scheme.base.yellow,
|
||||
/**
|
||||
* Statusbar style
|
||||
*/
|
||||
'statusBar.noFolderBackground': theme.scheme.background,
|
||||
'statusBar.border': theme.scheme.borders,
|
||||
'statusBar.background': theme.scheme.background,
|
||||
'statusBar.foreground': theme.scheme.shade4,
|
||||
'statusBar.debuggingBackground': theme.scheme.base.purple,
|
||||
'statusBar.debuggingForeground': theme.scheme.base.white,
|
||||
/**
|
||||
* Statusbar items style
|
||||
*/
|
||||
'statusBarItem.hoverBackground': theme.scheme.shade1 + '50',
|
||||
'statusBarItem.remoteForeground': theme.scheme.base.black,
|
||||
'statusBarItem.remoteBackground': theme.scheme.base.yellow,
|
||||
/**
|
||||
* Matching brackets style
|
||||
*/
|
||||
'editorBracketMatch.border': theme.scheme.base.cyan + '70',
|
||||
'editorBracketMatch.background': theme.scheme.background,
|
||||
/**
|
||||
* Editor Overview Ruler style
|
||||
*/
|
||||
'editorOverviewRuler.findMatchForeground': theme.scheme.base.pink,
|
||||
'editorOverviewRuler.border': theme.scheme.borders,
|
||||
'editorOverviewRuler.errorForeground': theme.scheme.base.red,
|
||||
'editorOverviewRuler.infoForeground': theme.scheme.base.blue,
|
||||
'editorOverviewRuler.warningForeground': theme.scheme.base.yellow,
|
||||
/**
|
||||
* Squigglies style
|
||||
*/
|
||||
'editorInfo.foreground': theme.scheme.base.blue,
|
||||
'editorWarning.foreground': theme.scheme.base.yellow,
|
||||
'editorError.foreground': theme.scheme.base.red,
|
||||
/**
|
||||
* Popop dialogs style
|
||||
*/
|
||||
'editorHoverWidget.background': theme.scheme.shade1,
|
||||
'editorHoverWidget.border': theme.scheme.shade1,
|
||||
/**
|
||||
* Title bar style
|
||||
*/
|
||||
'titleBar.activeBackground': theme.scheme.background,
|
||||
'titleBar.activeForeground': theme.scheme.foreground,
|
||||
'titleBar.inactiveBackground': theme.scheme.background,
|
||||
'titleBar.inactiveForeground': theme.scheme.shade4,
|
||||
'titleBar.border': theme.scheme.borders,
|
||||
/**
|
||||
* Textfield and inputs style
|
||||
*/
|
||||
'input.background': theme.scheme.background,
|
||||
'input.foreground': theme.scheme.base.pink,
|
||||
'input.placeholderForeground': theme.scheme.shade3,
|
||||
'input.border': theme.scheme.shade1,
|
||||
/**
|
||||
* Inputs validation style
|
||||
*/
|
||||
'inputValidation.errorBorder': theme.scheme.base.red + '50',
|
||||
'inputValidation.infoBorder': theme.scheme.base.blue + '50',
|
||||
'inputValidation.warningBorder': theme.scheme.base.yellow + '50',
|
||||
/**
|
||||
* Dropdown menu style
|
||||
*/
|
||||
'dropdown.background': theme.scheme.shade1,
|
||||
'dropdown.border': theme.scheme.shade1,
|
||||
/**
|
||||
* Lists style
|
||||
*/
|
||||
'list.hoverForeground': theme.scheme.foreground,
|
||||
'list.hoverBackground': theme.scheme.background + '00',
|
||||
'list.activeSelectionBackground': theme.scheme.background + '00',
|
||||
'list.activeSelectionForeground': theme.scheme.base.cyan,
|
||||
'list.inactiveSelectionForeground': theme.scheme.base.cyan,
|
||||
'list.inactiveSelectionBackground': theme.scheme.shade1 + '50',
|
||||
'list.focusBackground': theme.scheme.shade1,
|
||||
'list.focusForeground': theme.scheme.base.white,
|
||||
'list.highlightForeground': theme.scheme.base.cyan,
|
||||
'list.dropBackground': theme.scheme.shade2,
|
||||
/**
|
||||
* Editor suggest widget style
|
||||
*/
|
||||
'editorSuggestWidget.background': theme.scheme.shade1,
|
||||
'editorSuggestWidget.foreground': theme.scheme.foreground,
|
||||
'editorSuggestWidget.highlightForeground': theme.scheme.base.cyan,
|
||||
'editorSuggestWidget.selectedBackground': theme.scheme.shade2,
|
||||
'editorSuggestWidget.border': theme.scheme.shade1,
|
||||
/**
|
||||
* Editor diff editor style
|
||||
*/
|
||||
'diffEditor.insertedTextBackground': theme.scheme.base.cyan + '20',
|
||||
'diffEditor.removedTextBackground': theme.scheme.base.pink + '20',
|
||||
/**
|
||||
* Extensions button style
|
||||
*/
|
||||
'extensionButton.prominentBackground': theme.scheme.base.yellow,
|
||||
'extensionButton.prominentHoverBackground': theme.scheme.base.yellow,
|
||||
'extensionButton.prominentForeground': theme.scheme.background,
|
||||
/**
|
||||
* Peekview window style
|
||||
*/
|
||||
'peekViewEditor.background': theme.scheme.background,
|
||||
'peekViewResult.background': theme.scheme.background,
|
||||
'peekView.border': theme.scheme.shade1,
|
||||
'peekViewTitle.background': theme.scheme.shade1,
|
||||
'peekViewEditorGutter.background': theme.scheme.background,
|
||||
'peekViewTitleDescription.foreground': theme.scheme.foreground,
|
||||
'peekViewResult.matchHighlightBackground': theme.scheme.base.pink + '50',
|
||||
'peekViewEditor.matchHighlightBackground': theme.scheme.base.pink + '50',
|
||||
'peekViewResult.selectionBackground': theme.scheme.shade1,
|
||||
/**
|
||||
* GIT decorations style
|
||||
*/
|
||||
'gitDecoration.deletedResourceForeground': theme.scheme.base.red,
|
||||
'gitDecoration.conflictingResourceForeground': theme.scheme.base.yellow,
|
||||
'gitDecoration.modifiedResourceForeground': theme.scheme.base.blue,
|
||||
'gitDecoration.untrackedResourceForeground': theme.scheme.base.green,
|
||||
'gitDecoration.ignoredResourceForeground': theme.scheme.shade1,
|
||||
/**
|
||||
* Breadcrumb style
|
||||
*/
|
||||
'breadcrumb.background': theme.scheme.background,
|
||||
'breadcrumb.foreground': theme.scheme.shade4,
|
||||
'breadcrumb.focusForeground': theme.scheme.foreground,
|
||||
'breadcrumb.activeSelectionForeground': theme.scheme.base.pink,
|
||||
'breadcrumbPicker.background': theme.scheme.background,
|
||||
/**
|
||||
* Custom menus style
|
||||
*/
|
||||
'menu.background': theme.scheme.shade1,
|
||||
'menu.foreground': theme.scheme.shade3,
|
||||
'menu.selectionBackground': theme.scheme.shade1,
|
||||
'menu.selectionForeground': theme.scheme.foreground,
|
||||
'menu.selectionBorder': theme.scheme.shade1,
|
||||
'menu.separatorBackground': theme.scheme.shade3,
|
||||
/**
|
||||
* Menu Bar style
|
||||
*/
|
||||
'menubar.selectionBackground': theme.scheme.shade1,
|
||||
'menubar.selectionForeground': theme.scheme.foreground,
|
||||
'menubar.selectionBorder': theme.scheme.shade1,
|
||||
/**
|
||||
* Settings elements style
|
||||
*/
|
||||
'settings.dropdownForeground': theme.scheme.foreground,
|
||||
'settings.dropdownBackground': theme.scheme.background,
|
||||
'settings.numberInputForeground': theme.scheme.foreground,
|
||||
'settings.numberInputBackground': theme.scheme.background,
|
||||
'settings.textInputForeground': theme.scheme.foreground,
|
||||
'settings.textInputBackground': theme.scheme.background,
|
||||
'settings.headerForeground': theme.scheme.base.cyan,
|
||||
'settings.modifiedItemIndicator': theme.scheme.base.pink,
|
||||
'settings.checkboxBackground': theme.scheme.background,
|
||||
'settings.checkboxForeground': theme.scheme.foreground,
|
||||
/**
|
||||
* List Filter Widget style
|
||||
*/
|
||||
'listFilterWidget.background': theme.scheme.base.violet,
|
||||
'listFilterWidget.outline': theme.scheme.base.violet,
|
||||
'listFilterWidget.noMatchesOutline': theme.scheme.base.violet
|
||||
},
|
||||
/**
|
||||
* Overrides specific syntax scopes provided
|
||||
* by the theme generator
|
||||
*/
|
||||
syntax: {
|
||||
boolean: theme.scheme.base.pink,
|
||||
class: theme.scheme.base.violet,
|
||||
classMember: theme.scheme.base.red,
|
||||
comment: theme.scheme.shade4,
|
||||
cssClass: theme.scheme.base.yellow,
|
||||
cssId: theme.scheme.base.orange,
|
||||
cssTag: theme.scheme.base.yellow,
|
||||
function: theme.scheme.base.yellow,
|
||||
functionCall: theme.scheme.base.violet,
|
||||
identifier: theme.scheme.base.cyan,
|
||||
keyword: theme.scheme.base.red,
|
||||
storage: theme.scheme.foreground,
|
||||
string: theme.scheme.base.green,
|
||||
stringEscape: theme.scheme.foreground,
|
||||
type: theme.scheme.base.pink
|
||||
},
|
||||
/**
|
||||
* Define the integrated shell
|
||||
* color palette
|
||||
*/
|
||||
terminal: {
|
||||
black: theme.scheme.shade3,
|
||||
blue: theme.scheme.base.blue,
|
||||
brightBlack: theme.scheme.shade3,
|
||||
brightBlue: theme.scheme.base.blue,
|
||||
brightCyan: theme.scheme.base.cyan,
|
||||
brightGreen: theme.scheme.base.green,
|
||||
brightMagenta: theme.scheme.base.purple,
|
||||
brightRed: theme.scheme.base.red,
|
||||
brightWhite: theme.scheme.base.white,
|
||||
brightYellow: theme.scheme.base.yellow,
|
||||
cyan: theme.scheme.base.cyan,
|
||||
green: theme.scheme.base.green,
|
||||
magenta: theme.scheme.base.purple,
|
||||
red: theme.scheme.base.red,
|
||||
white: theme.scheme.base.white,
|
||||
yellow: theme.scheme.base.yellow
|
||||
},
|
||||
/**
|
||||
* Define workbench colors
|
||||
*/
|
||||
ui: {
|
||||
// highlights matches from the find widget
|
||||
currentFindMatchHighlight: theme.scheme.shade5,
|
||||
// set the editor cursor color
|
||||
cursor: theme.scheme.base.yellow,
|
||||
// ighlights matches from the find widge
|
||||
findMatchHighlight: theme.scheme.base.pink,
|
||||
// highlights the selected area for "find in selection"
|
||||
findRangeHighlight: theme.scheme.base.yellow + '30',
|
||||
// set color for invisible characters/whitespaces
|
||||
invisibles: theme.scheme.shade1,
|
||||
// highlights text which matches the selected text
|
||||
selection: theme.scheme.shade1,
|
||||
// highlights text inside selected area
|
||||
selectionHighlight: theme.scheme.base.yellow + '50',
|
||||
// when the cursor is on a symbol, highlights places that symbol is read
|
||||
wordHighlight: theme.scheme.base.pink + '30',
|
||||
// when the cursor is on a symbol, highlights places that symbol is written
|
||||
wordHighlightStrong: theme.scheme.base.green + '30'
|
||||
}
|
||||
/**
|
||||
* Override all syntax tokens
|
||||
*/
|
||||
// customTokens: [
|
||||
// {
|
||||
// name: 'String',
|
||||
// scope: [ 'string' ],
|
||||
// settings: {
|
||||
// fontStyle: 'normal',
|
||||
// foreground: '#',
|
||||
// background: '#'
|
||||
// }
|
||||
// }
|
||||
// ]
|
||||
};
|
||||
|
||||
/**
|
||||
* Call the theme generator for each
|
||||
* theme found in `themes`
|
||||
*/
|
||||
generateTheme(theme.name, colorSet, path.join(__dirname, `../../out/themes/${theme.name}.json`));
|
||||
});
|
|
@ -1,49 +0,0 @@
|
|||
export default {
|
||||
id: 'material.theme.darker.hc',
|
||||
name: 'Material-Theme-Darker-High-Contrast',
|
||||
type: 'dark',
|
||||
scheme: {
|
||||
background: '#212121',
|
||||
backgroundAlt: '#1a1a1a',
|
||||
contrastBorder: '#000000',
|
||||
sidebarForeground: '#848484',
|
||||
scrollbars: '#EEFFFF20',
|
||||
comments: '#4A4A4A',
|
||||
caret: '#FFCC00',
|
||||
findHighlight: '#FFCC00',
|
||||
foreground: '#EEFFFF',
|
||||
focusBorder: '#FFFFFF',
|
||||
guides: '#424242',
|
||||
lineNumbers: '#424242',
|
||||
invisibles: '#65737E',
|
||||
lineHighlight: '#000000',
|
||||
selection: '#61616150',
|
||||
shadow: '#00000030',
|
||||
inputBackground: '#2B2B2B',
|
||||
inputForeground: '#EEFFFF',
|
||||
inputBorder: '#FFFFFF10',
|
||||
scrollbarsHover: '#EEFFFF10',
|
||||
statusbarForeground: '#616161',
|
||||
listHoverForeground: '#FFFFFF',
|
||||
tabActiveForeground: '#FFFFFF',
|
||||
inactiveSelectionBackground: '#00000030',
|
||||
findMatchBackground: '#000000',
|
||||
findMatchHighlightBackground: '#00000050',
|
||||
findMatchHighlightBorder: '#ffffff50',
|
||||
base: {
|
||||
white: '#ffffff',
|
||||
black: '#000000',
|
||||
red: '#FF5370',
|
||||
orange: '#F78C6C',
|
||||
yellow: '#FFCB6B',
|
||||
green: '#C3E88D',
|
||||
cyan: '#89DDFF',
|
||||
blue: '#82AAFF',
|
||||
paleblue: '#B2CCD6',
|
||||
purple: '#C792EA',
|
||||
brown: '#C17E70',
|
||||
pink: '#f07178',
|
||||
violet: '#bb80b3'
|
||||
}
|
||||
}
|
||||
};
|
|
@ -1,51 +0,0 @@
|
|||
export default {
|
||||
id: 'material.theme.darker',
|
||||
name: 'Material-Theme-Darker',
|
||||
type: 'dark',
|
||||
scheme: {
|
||||
background: '#212121',
|
||||
backgroundAlt: '#212121',
|
||||
contrastBorder: '#212121',
|
||||
comments: '#545454',
|
||||
caret: '#FFCC00',
|
||||
findHighlight: '#FFCC00',
|
||||
foreground: '#EEFFFF',
|
||||
focusBorder: '#FFFFFF',
|
||||
guides: '#424242',
|
||||
lineNumbers: '#424242',
|
||||
invisibles: '#65737E',
|
||||
lineHighlight: '#000000',
|
||||
selection: '#61616150',
|
||||
shadow: '#00000030',
|
||||
inputBackground: '#2B2B2B',
|
||||
inputForeground: '#EEFFFF',
|
||||
inputBorder: '#FFFFFF10',
|
||||
scrollbars: '#EEFFFF20',
|
||||
scrollbarsHover: '#EEFFFF10',
|
||||
statusbarForeground: '#616161',
|
||||
sidebarBackground: '#212121',
|
||||
sidebarForeground: '#616161',
|
||||
listHoverForeground: '#FFFFFF',
|
||||
listHoverBackground: '#212121',
|
||||
tabActiveForeground: '#FFFFFF',
|
||||
inactiveSelectionBackground: '#00000030',
|
||||
findMatchBackground: '#000000',
|
||||
findMatchHighlightBackground: '#00000050',
|
||||
findMatchHighlightBorder: '#ffffff30',
|
||||
base: {
|
||||
white: '#ffffff',
|
||||
black: '#000000',
|
||||
red: '#FF5370',
|
||||
orange: '#F78C6C',
|
||||
yellow: '#FFCB6B',
|
||||
green: '#C3E88D',
|
||||
cyan: '#89DDFF',
|
||||
blue: '#82AAFF',
|
||||
paleblue: '#B2CCD6',
|
||||
purple: '#C792EA',
|
||||
brown: '#C17E70',
|
||||
pink: '#f07178',
|
||||
violet: '#bb80b3'
|
||||
}
|
||||
}
|
||||
};
|
|
@ -1,51 +0,0 @@
|
|||
export default {
|
||||
id: 'material.theme.default.hc',
|
||||
name: 'Material-Theme-Default-High-Contrast',
|
||||
type: 'dark',
|
||||
scheme: {
|
||||
background: '#263238',
|
||||
backgroundAlt: '#192227',
|
||||
contrastBorder: '#000000',
|
||||
scrollbars: '#EEFFFF20',
|
||||
sidebarForeground: '#5f7a87',
|
||||
comments: '#546E7A',
|
||||
caret: '#FFCC00',
|
||||
findHighlight: '#FFCC00',
|
||||
foreground: '#EEFFFF',
|
||||
focusBorder: '#FFFFFF',
|
||||
guides: '#37474F',
|
||||
lineNumbers: '#37474F',
|
||||
invisibles: '#65737E',
|
||||
lineHighlight: '#000000',
|
||||
selection: '#80CBC420',
|
||||
shadow: '#00000030',
|
||||
inputBackground: '#303C41',
|
||||
inputForeground: '#EEFFFF',
|
||||
inputBorder: '#FFFFFF10',
|
||||
scrollbarsHover: '#EEFFFF10',
|
||||
statusbarForeground: '#546E7A',
|
||||
sidebarBackground: '#263238',
|
||||
listHoverForeground: '#FFFFFF',
|
||||
listHoverBackground: '#263238',
|
||||
tabActiveForeground: '#FFFFFF',
|
||||
inactiveSelectionBackground: '#00000030',
|
||||
findMatchBackground: '#000000',
|
||||
findMatchHighlightBackground: '#00000050',
|
||||
findMatchHighlightBorder: '#ffffff50',
|
||||
base: {
|
||||
white: '#ffffff',
|
||||
black: '#000000',
|
||||
red: '#FF5370',
|
||||
orange: '#F78C6C',
|
||||
yellow: '#FFCB6B',
|
||||
green: '#C3E88D',
|
||||
cyan: '#89DDFF',
|
||||
blue: '#82AAFF',
|
||||
paleblue: '#B2CCD6',
|
||||
purple: '#C792EA',
|
||||
brown: '#C17E70',
|
||||
pink: '#f07178',
|
||||
violet: '#bb80b3'
|
||||
}
|
||||
}
|
||||
};
|
|
@ -1,51 +0,0 @@
|
|||
export default {
|
||||
id: 'material.theme.default',
|
||||
name: 'Material-Theme-Default',
|
||||
type: 'dark',
|
||||
scheme: {
|
||||
background: '#263238',
|
||||
backgroundAlt: '#263238',
|
||||
contrastBorder: '#263238',
|
||||
comments: '#546E7A',
|
||||
caret: '#FFCC00',
|
||||
findHighlight: '#FFCC00',
|
||||
foreground: '#EEFFFF',
|
||||
focusBorder: '#FFFFFF',
|
||||
guides: '#37474F',
|
||||
lineNumbers: '#37474F',
|
||||
invisibles: '#65737E',
|
||||
lineHighlight: '#000000',
|
||||
selection: '#80CBC420',
|
||||
shadow: '#00000030',
|
||||
inputBackground: '#303C41',
|
||||
inputForeground: '#EEFFFF',
|
||||
inputBorder: '#FFFFFF10',
|
||||
scrollbars: '#EEFFFF20',
|
||||
scrollbarsHover: '#EEFFFF10',
|
||||
statusbarForeground: '#546E7A',
|
||||
sidebarBackground: '#263238',
|
||||
sidebarForeground: '#607a86',
|
||||
listHoverForeground: '#FFFFFF',
|
||||
listHoverBackground: '#263238',
|
||||
tabActiveForeground: '#FFFFFF',
|
||||
inactiveSelectionBackground: '#00000030',
|
||||
findMatchBackground: '#000000',
|
||||
findMatchHighlightBackground: '#00000050',
|
||||
findMatchHighlightBorder: '#ffffff30',
|
||||
base: {
|
||||
white: '#ffffff',
|
||||
black: '#000000',
|
||||
red: '#FF5370',
|
||||
orange: '#F78C6C',
|
||||
yellow: '#FFCB6B',
|
||||
green: '#C3E88D',
|
||||
cyan: '#89DDFF',
|
||||
blue: '#82AAFF',
|
||||
paleblue: '#B2CCD6',
|
||||
purple: '#C792EA',
|
||||
brown: '#C17E70',
|
||||
pink: '#f07178',
|
||||
violet: '#bb80b3'
|
||||
}
|
||||
}
|
||||
};
|
|
@ -1,51 +0,0 @@
|
|||
export default {
|
||||
id: 'material.theme.lighter.hc',
|
||||
name: 'Material-Theme-Lighter-High-Contrast',
|
||||
type: 'light',
|
||||
scheme: {
|
||||
background: '#FFFFFF',
|
||||
backgroundAlt: '#FAFAFA',
|
||||
contrastBorder: '#CBCBCB',
|
||||
scrollbars: '#90A4AE20',
|
||||
sidebarForeground: '#627883',
|
||||
comments: '#90A4AE',
|
||||
caret: '#272727',
|
||||
findHighlight: '#FFCC00',
|
||||
foreground: '#90A4AE',
|
||||
focusBorder: '#FFFFFF',
|
||||
guides: '#B0BEC5',
|
||||
lineNumbers: '#CFD8DC',
|
||||
invisibles: '#E7EAEC',
|
||||
lineHighlight: '#CCD7DA',
|
||||
selection: '#80CBC440',
|
||||
shadow: '#00000020',
|
||||
inputBackground: '#EEEEEE',
|
||||
inputForeground: '#90A4AE',
|
||||
inputBorder: '#00000010',
|
||||
scrollbarsHover: '#90A4AE10',
|
||||
statusbarForeground: '#7E939E',
|
||||
sidebarBackground: '#FAFAFA',
|
||||
listHoverForeground: '#B1C7D3',
|
||||
listHoverBackground: '#FAFAFA',
|
||||
tabActiveForeground: '#000000',
|
||||
inactiveSelectionBackground: '#CCD7DA50',
|
||||
findMatchBackground: '#00000040',
|
||||
findMatchHighlightBackground: '#00000010',
|
||||
findMatchHighlightBorder: '#00000060',
|
||||
base: {
|
||||
white: '#FFFFFF',
|
||||
black: '#000000',
|
||||
red: '#E53935',
|
||||
orange: '#F76D47',
|
||||
yellow: '#FFB62C',
|
||||
green: '#91B859',
|
||||
cyan: '#39ADB5',
|
||||
blue: '#6182B8',
|
||||
paleblue: '#8796B0',
|
||||
purple: '#7C4DFF',
|
||||
brown: '#C17E70',
|
||||
pink: '#FF5370',
|
||||
violet: '#945EB8'
|
||||
}
|
||||
}
|
||||
};
|
|
@ -1,51 +0,0 @@
|
|||
export default {
|
||||
id: 'material.theme.lighter',
|
||||
name: 'Material-Theme-Lighter',
|
||||
type: 'light',
|
||||
scheme: {
|
||||
background: '#FAFAFA',
|
||||
backgroundAlt: '#FAFAFA',
|
||||
contrastBorder: '#FAFAFA',
|
||||
comments: '#90A4AE',
|
||||
caret: '#272727',
|
||||
findHighlight: '#FFCC00',
|
||||
foreground: '#90A4AE',
|
||||
focusBorder: '#FFFFFF',
|
||||
guides: '#B0BEC5',
|
||||
lineNumbers: '#CFD8DC',
|
||||
invisibles: '#E7EAEC',
|
||||
lineHighlight: '#CCD7DA',
|
||||
selection: '#80CBC440',
|
||||
shadow: '#00000020',
|
||||
inputBackground: '#EEEEEE',
|
||||
inputForeground: '#90A4AE',
|
||||
inputBorder: '#00000010',
|
||||
scrollbars: '#90A4AE20',
|
||||
scrollbarsHover: '#90A4AE10',
|
||||
statusbarForeground: '#7E939E',
|
||||
sidebarBackground: '#FAFAFA',
|
||||
sidebarForeground: '#7E939E',
|
||||
listHoverForeground: '#B1C7D3',
|
||||
listHoverBackground: '#FAFAFA',
|
||||
tabActiveForeground: '#000000',
|
||||
inactiveSelectionBackground: '#CCD7DA50',
|
||||
findMatchBackground: '#00000020',
|
||||
findMatchHighlightBackground: '#00000010',
|
||||
findMatchHighlightBorder: '#00000030',
|
||||
base: {
|
||||
white: '#FFFFFF',
|
||||
black: '#000000',
|
||||
red: '#E53935',
|
||||
orange: '#F76D47',
|
||||
yellow: '#FFB62C',
|
||||
green: '#91B859',
|
||||
cyan: '#39ADB5',
|
||||
blue: '#6182B8',
|
||||
paleblue: '#8796B0',
|
||||
purple: '#7C4DFF',
|
||||
brown: '#C17E70',
|
||||
pink: '#FF5370',
|
||||
violet: '#945EB8'
|
||||
}
|
||||
}
|
||||
};
|
|
@ -1,51 +0,0 @@
|
|||
export default {
|
||||
id: 'material.theme.ocean.hc',
|
||||
name: 'Material-Theme-Ocean-High-Contrast',
|
||||
type: 'dark',
|
||||
scheme: {
|
||||
background: '#0F111A',
|
||||
backgroundAlt: '#090B10',
|
||||
contrastBorder: '#000000',
|
||||
comments: '#464B5D',
|
||||
caret: '#FFCC00',
|
||||
findHighlight: '#FFCC00',
|
||||
foreground: '#8F93A2',
|
||||
focusBorder: '#FFFFFF',
|
||||
guides: '#3B3F51',
|
||||
lineNumbers: '#3B3F5180',
|
||||
invisibles: '#80869E50',
|
||||
lineHighlight: '#000000',
|
||||
selection: '#717CB450',
|
||||
shadow: '#00000030',
|
||||
inputBackground: '#1A1C25',
|
||||
inputForeground: '#EEFFFF',
|
||||
inputBorder: '#FFFFFF10',
|
||||
scrollbars: '#8F93A220',
|
||||
scrollbarsHover: '#8F93A210',
|
||||
statusbarForeground: '#4B526D',
|
||||
sidebarBackground: '#292D3E',
|
||||
sidebarForeground: '#4B526D',
|
||||
listHoverForeground: '#FFFFFF',
|
||||
listHoverBackground: '#292D3E',
|
||||
tabActiveForeground: '#FFFFFF',
|
||||
inactiveSelectionBackground: '#00000030',
|
||||
findMatchBackground: '#000000',
|
||||
findMatchHighlightBackground: '#00000050',
|
||||
findMatchHighlightBorder: '#ffffff50',
|
||||
base: {
|
||||
white: '#ffffff',
|
||||
black: '#000000',
|
||||
red: '#FF5370',
|
||||
orange: '#F78C6C',
|
||||
yellow: '#FFCB6B',
|
||||
green: '#C3E88D',
|
||||
cyan: '#89DDFF',
|
||||
blue: '#82AAFF',
|
||||
paleblue: '#B2CCD6',
|
||||
purple: '#C792EA',
|
||||
brown: '#C17E70',
|
||||
pink: '#f07178',
|
||||
violet: '#bb80b3'
|
||||
}
|
||||
}
|
||||
};
|
|
@ -1,51 +0,0 @@
|
|||
export default {
|
||||
id: 'material.theme.ocean',
|
||||
name: 'Material-Theme-Ocean',
|
||||
type: 'dark',
|
||||
scheme: {
|
||||
background: '#0F111A',
|
||||
backgroundAlt: '#0F111A',
|
||||
contrastBorder: '#0F111A',
|
||||
comments: '#464B5D',
|
||||
caret: '#FFCC00',
|
||||
findHighlight: '#FFCC00',
|
||||
foreground: '#8F93A2',
|
||||
focusBorder: '#FFFFFF',
|
||||
guides: '#3B3F51',
|
||||
lineNumbers: '#3B3F5180',
|
||||
invisibles: '#80869E50',
|
||||
lineHighlight: '#000000',
|
||||
selection: '#717CB450',
|
||||
shadow: '#00000030',
|
||||
inputBackground: '#1A1C25',
|
||||
inputForeground: '#EEFFFF',
|
||||
inputBorder: '#FFFFFF10',
|
||||
scrollbars: '#8F93A220',
|
||||
scrollbarsHover: '#8F93A210',
|
||||
statusbarForeground: '#4B526D',
|
||||
sidebarBackground: '#292D3E',
|
||||
sidebarForeground: '#525975',
|
||||
listHoverForeground: '#FFFFFF',
|
||||
listHoverBackground: '#292D3E',
|
||||
tabActiveForeground: '#FFFFFF',
|
||||
inactiveSelectionBackground: '#00000030',
|
||||
findMatchBackground: '#000000',
|
||||
findMatchHighlightBackground: '#00000050',
|
||||
findMatchHighlightBorder: '#ffffff30',
|
||||
base: {
|
||||
white: '#ffffff',
|
||||
black: '#000000',
|
||||
red: '#FF5370',
|
||||
orange: '#F78C6C',
|
||||
yellow: '#FFCB6B',
|
||||
green: '#C3E88D',
|
||||
cyan: '#89DDFF',
|
||||
blue: '#82AAFF',
|
||||
paleblue: '#B2CCD6',
|
||||
purple: '#C792EA',
|
||||
brown: '#C17E70',
|
||||
pink: '#f07178',
|
||||
violet: '#bb80b3'
|
||||
}
|
||||
}
|
||||
};
|
|
@ -1,51 +0,0 @@
|
|||
export default {
|
||||
id: 'material.theme.palenight.hc',
|
||||
name: 'Material-Theme-Palenight-High-Contrast',
|
||||
type: 'dark',
|
||||
scheme: {
|
||||
background: '#292D3E',
|
||||
backgroundAlt: '#1B1E2B',
|
||||
contrastBorder: '#000000',
|
||||
scrollbars: '#A6ACCD20',
|
||||
sidebarForeground: '#757CA1',
|
||||
comments: '#676E95',
|
||||
caret: '#FFCC00',
|
||||
findHighlight: '#FFCC00',
|
||||
foreground: '#A6ACCD',
|
||||
focusBorder: '#FFFFFF',
|
||||
guides: '#4E5579',
|
||||
lineNumbers: '#3A3F58',
|
||||
invisibles: '#4E5579',
|
||||
lineHighlight: '#000000',
|
||||
selection: '#717CB450',
|
||||
shadow: '#00000030',
|
||||
inputBackground: '#333747',
|
||||
inputForeground: '#EEFFFF',
|
||||
inputBorder: '#FFFFFF10',
|
||||
scrollbarsHover: '#A6ACCD10',
|
||||
statusbarForeground: '#676E95',
|
||||
sidebarBackground: '#292D3E',
|
||||
listHoverForeground: '#FFFFFF',
|
||||
listHoverBackground: '#292D3E',
|
||||
tabActiveForeground: '#FFFFFF',
|
||||
inactiveSelectionBackground: '#00000030',
|
||||
findMatchBackground: '#000000',
|
||||
findMatchHighlightBackground: '#00000050',
|
||||
findMatchHighlightBorder: '#ffffff50',
|
||||
base: {
|
||||
white: '#ffffff',
|
||||
black: '#000000',
|
||||
red: '#FF5370',
|
||||
orange: '#F78C6C',
|
||||
yellow: '#FFCB6B',
|
||||
green: '#C3E88D',
|
||||
cyan: '#89DDFF',
|
||||
blue: '#82AAFF',
|
||||
paleblue: '#B2CCD6',
|
||||
purple: '#C792EA',
|
||||
brown: '#C17E70',
|
||||
pink: '#f07178',
|
||||
violet: '#bb80b3'
|
||||
}
|
||||
}
|
||||
};
|
|
@ -1,51 +0,0 @@
|
|||
export default {
|
||||
id: 'material.theme.palenight',
|
||||
name: 'Material-Theme-Palenight',
|
||||
type: 'dark',
|
||||
scheme: {
|
||||
background: '#292D3E',
|
||||
backgroundAlt: '#292D3E',
|
||||
contrastBorder: '#292D3E',
|
||||
comments: '#676E95',
|
||||
caret: '#FFCC00',
|
||||
findHighlight: '#FFCC00',
|
||||
foreground: '#A6ACCD',
|
||||
focusBorder: '#FFFFFF',
|
||||
guides: '#4E5579',
|
||||
lineNumbers: '#3A3F58',
|
||||
invisibles: '#4E5579',
|
||||
lineHighlight: '#000000',
|
||||
selection: '#717CB450',
|
||||
shadow: '#00000030',
|
||||
inputBackground: '#333747',
|
||||
inputForeground: '#EEFFFF',
|
||||
inputBorder: '#FFFFFF10',
|
||||
scrollbars: '#A6ACCD20',
|
||||
scrollbarsHover: '#A6ACCD10',
|
||||
statusbarForeground: '#676E95',
|
||||
sidebarBackground: '#292D3E',
|
||||
sidebarForeground: '#676E95',
|
||||
listHoverForeground: '#FFFFFF',
|
||||
listHoverBackground: '#292D3E',
|
||||
tabActiveForeground: '#FFFFFF',
|
||||
inactiveSelectionBackground: '#00000030',
|
||||
findMatchBackground: '#000000',
|
||||
findMatchHighlightBackground: '#00000050',
|
||||
findMatchHighlightBorder: '#ffffff30',
|
||||
base: {
|
||||
white: '#ffffff',
|
||||
black: '#000000',
|
||||
red: '#FF5370',
|
||||
orange: '#F78C6C',
|
||||
yellow: '#FFCB6B',
|
||||
green: '#C3E88D',
|
||||
cyan: '#89DDFF',
|
||||
blue: '#82AAFF',
|
||||
paleblue: '#B2CCD6',
|
||||
purple: '#C792EA',
|
||||
brown: '#C17E70',
|
||||
pink: '#f07178',
|
||||
violet: '#bb80b3'
|
||||
}
|
||||
}
|
||||
};
|
|
@ -1,895 +0,0 @@
|
|||
{
|
||||
"name": "{{variant.name}}",
|
||||
"type": "{{variant.type}}",
|
||||
"tokenColors": [{
|
||||
"settings": {
|
||||
"background": "{{variant.scheme.background}}",
|
||||
"foreground": "{{variant.scheme.base.white}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Comment",
|
||||
"scope": [
|
||||
"comment",
|
||||
"punctuation.definition.comment",
|
||||
"string.quoted.docstring"
|
||||
],
|
||||
"settings": {
|
||||
"fontStyle": "italic",
|
||||
"foreground": "{{variant.scheme.comments}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Variables",
|
||||
"scope": [
|
||||
"variable",
|
||||
"string constant.other.placeholder"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.foreground}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "PHP Constants",
|
||||
"scope": [
|
||||
"constant.other.php"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.yellow}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Colors",
|
||||
"scope": [
|
||||
"constant.other.color"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.white}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Invalid",
|
||||
"scope": [
|
||||
"invalid",
|
||||
"invalid.illegal"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.red}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Invalid deprecated",
|
||||
"scope": [
|
||||
"invalid.deprecated"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.purple}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Keyword, Storage",
|
||||
"scope": [
|
||||
"keyword",
|
||||
"storage.type",
|
||||
"storage.modifier"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.purple}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Keyword, Storage",
|
||||
"scope": [
|
||||
"Keyword",
|
||||
"Storage"
|
||||
],
|
||||
"settings": {
|
||||
"fontStyle": "italic"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Operator, Misc",
|
||||
"scope": [
|
||||
"keyword.control",
|
||||
"constant.other.color",
|
||||
"punctuation.definition.tag",
|
||||
"punctuation",
|
||||
"punctuation.separator.inheritance.php",
|
||||
"punctuation.definition.tag.html",
|
||||
"punctuation.definition.tag.begin.html",
|
||||
"punctuation.definition.tag.end.html",
|
||||
"punctuation.section.embedded",
|
||||
"keyword.other.template",
|
||||
"keyword.other.substitution"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.cyan}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Keyword Control",
|
||||
"scope": [
|
||||
"keyword.control"
|
||||
],
|
||||
"settings": {
|
||||
"fontStyle": "italic"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Tag",
|
||||
"scope": [
|
||||
"entity.name.tag",
|
||||
"meta.tag.sgml",
|
||||
"markup.deleted.git_gutter"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.pink}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Function, Special Method",
|
||||
"scope": [
|
||||
"entity.name.function",
|
||||
"variable.function",
|
||||
"support.function",
|
||||
"keyword.other.special-method"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.blue}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "C-related Block Level Variables",
|
||||
"scope": [
|
||||
"source.cpp meta.block variable.other"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.pink}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Variables constant",
|
||||
"scope": [
|
||||
"variable.other.constant"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.pink}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Other Variable, String Link",
|
||||
"scope": [
|
||||
"support.other.variable",
|
||||
"string.other.link"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.pink}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Number, Constant, Function Argument, Tag Attribute, Embedded",
|
||||
"scope": [
|
||||
"constant.numeric",
|
||||
"constant.language",
|
||||
"support.constant",
|
||||
"constant.character",
|
||||
"constant.escape",
|
||||
"keyword.other.unit",
|
||||
"keyword.other"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.orange}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Number, Constant, Function Argument, Tag Attribute, Embedded",
|
||||
"scope": [
|
||||
"variable.parameter.function.language.special",
|
||||
"variable.parameter"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.red}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "String, Symbols, Inherited Class, Markup Heading",
|
||||
"scope": [
|
||||
"string",
|
||||
"constant.other.symbol",
|
||||
"constant.other.key",
|
||||
"entity.other.inherited-class",
|
||||
"markup.heading",
|
||||
"markup.inserted.git_gutter",
|
||||
"meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js"
|
||||
],
|
||||
"settings": {
|
||||
"fontStyle": "normal",
|
||||
"foreground": "{{variant.scheme.base.green}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Class, Support",
|
||||
"scope": [
|
||||
"entity.name",
|
||||
"support.type",
|
||||
"support.class",
|
||||
"support.orther.namespace.use.php",
|
||||
"meta.use.php",
|
||||
"support.other.namespace.php",
|
||||
"markup.changed.git_gutter",
|
||||
"support.type.sys-types"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.yellow}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Entity Types",
|
||||
"scope": [
|
||||
"support.type"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.paleblue}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "CSS Class and Support",
|
||||
"scope": [
|
||||
"source.css support.type.property-name",
|
||||
"source.sass support.type.property-name",
|
||||
"source.scss support.type.property-name",
|
||||
"source.less support.type.property-name",
|
||||
"source.stylus support.type.property-name",
|
||||
"source.postcss support.type.property-name"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.paleblue}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Sub-methods",
|
||||
"scope": [
|
||||
"entity.name.module.js",
|
||||
"variable.import.parameter.js",
|
||||
"variable.other.class.js"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.red}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Language methods",
|
||||
"scope": [
|
||||
"variable.language"
|
||||
],
|
||||
"settings": {
|
||||
"fontStyle": "italic",
|
||||
"foreground": "{{variant.scheme.base.red}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "entity.name.method.js",
|
||||
"scope": [
|
||||
"entity.name.method.js"
|
||||
],
|
||||
"settings": {
|
||||
"fontStyle": "italic",
|
||||
"foreground": "{{variant.scheme.base.blue}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "meta.method.js",
|
||||
"scope": [
|
||||
"meta.class-method.js entity.name.function.js",
|
||||
"variable.function.constructor"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.blue}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Attributes",
|
||||
"scope": [
|
||||
"entity.other.attribute-name"
|
||||
],
|
||||
"settings": {
|
||||
"fontStyle": "italic",
|
||||
"foreground": "{{variant.scheme.base.purple}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "CSS Classes",
|
||||
"scope": [
|
||||
"entity.other.attribute-name.class"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.yellow}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "CSS ID's",
|
||||
"scope": [
|
||||
"source.sass keyword.control"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.blue}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Inserted",
|
||||
"scope": [
|
||||
"markup.inserted"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.green}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Deleted",
|
||||
"scope": [
|
||||
"markup.deleted"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.red}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Changed",
|
||||
"scope": [
|
||||
"markup.changed"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.purple}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Regular Expressions",
|
||||
"scope": [
|
||||
"string.regexp"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.cyan}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Escape Characters",
|
||||
"scope": [
|
||||
"constant.character.escape"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.cyan}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "URL",
|
||||
"scope": [
|
||||
"*url*",
|
||||
"*link*",
|
||||
"*uri*"
|
||||
],
|
||||
"settings": {
|
||||
"fontStyle": "underline"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Decorators",
|
||||
"scope": [
|
||||
"tag.decorator.js entity.name.tag.js",
|
||||
"tag.decorator.js punctuation.definition.tag.js"
|
||||
],
|
||||
"settings": {
|
||||
"fontStyle": "italic",
|
||||
"foreground": "{{variant.scheme.base.blue}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "ES7 Bind Operator",
|
||||
"scope": [
|
||||
"source.js constant.other.object.key.js string.unquoted.label.js"
|
||||
],
|
||||
"settings": {
|
||||
"fontStyle": "italic",
|
||||
"foreground": "{{variant.scheme.base.red}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "JSON Key - Level 0",
|
||||
"scope": [
|
||||
"source.json meta.structure.dictionary.json support.type.property-name.json"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.purple}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "JSON Key - Level 1",
|
||||
"scope": [
|
||||
"source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.yellow}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "JSON Key - Level 2",
|
||||
"scope": [
|
||||
"source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.orange}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "JSON Key - Level 3",
|
||||
"scope": [
|
||||
"source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.red}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "JSON Key - Level 4",
|
||||
"scope": [
|
||||
"source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.brown}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "JSON Key - Level 5",
|
||||
"scope": [
|
||||
"source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.blue}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "JSON Key - Level 6",
|
||||
"scope": [
|
||||
"source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.pink}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "JSON Key - Level 7",
|
||||
"scope": [
|
||||
"source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.purple}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "JSON Key - Level 8",
|
||||
"scope": [
|
||||
"source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.green}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Markdown - Plain",
|
||||
"scope": [
|
||||
"text.html.markdown",
|
||||
"punctuation.definition.list_item.markdown"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.foreground}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Markdown - Markup Raw Inline",
|
||||
"scope": [
|
||||
"text.html.markdown markup.inline.raw.markdown"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.purple}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Markdown - Markup Raw Inline Punctuation",
|
||||
"scope": [
|
||||
"text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.invisibles}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Markdown - Line Break",
|
||||
"scope": [
|
||||
"text.html.markdown meta.dummy.line-break"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Markdown - Heading",
|
||||
"scope": [
|
||||
"markdown.heading",
|
||||
"markup.heading | markup.heading entity.name",
|
||||
"markup.heading.markdown punctuation.definition.heading.markdown"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.green}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Markup - Italic",
|
||||
"scope": [
|
||||
"markup.italic"
|
||||
],
|
||||
"settings": {
|
||||
"fontStyle": "italic",
|
||||
"foreground": "{{variant.scheme.base.pink}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Markup - Bold",
|
||||
"scope": [
|
||||
"markup.bold",
|
||||
"markup.bold string"
|
||||
],
|
||||
"settings": {
|
||||
"fontStyle": "bold",
|
||||
"foreground": "{{variant.scheme.base.pink}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Markup - Bold-Italic",
|
||||
"scope": [
|
||||
"markup.bold markup.italic",
|
||||
"markup.italic markup.bold",
|
||||
"markup.quote markup.bold",
|
||||
"markup.bold markup.italic string",
|
||||
"markup.italic markup.bold string",
|
||||
"markup.quote markup.bold string"
|
||||
],
|
||||
"settings": {
|
||||
"fontStyle": "bold",
|
||||
"foreground": "{{variant.scheme.base.pink}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Markup - Underline",
|
||||
"scope": [
|
||||
"markup.underline"
|
||||
],
|
||||
"settings": {
|
||||
"fontStyle": "underline",
|
||||
"foreground": "{{variant.scheme.base.orange}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Markup - Strike",
|
||||
"scope": [
|
||||
"markup.strike"
|
||||
],
|
||||
"settings": {
|
||||
"fontStyle": "strike",
|
||||
"foreground": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Markdown - Blockquote",
|
||||
"scope": [
|
||||
"markup.quote punctuation.definition.blockquote.markdown"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.invisibles}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Markup - Quote",
|
||||
"scope": [
|
||||
"markup.quote"
|
||||
],
|
||||
"settings": {
|
||||
"fontStyle": "italic",
|
||||
"foreground": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Markdown - Link",
|
||||
"scope": [
|
||||
"string.other.link.title.markdown"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.blue}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Markdown - Link Description",
|
||||
"scope": [
|
||||
"string.other.link.description.title.markdown"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.purple}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Markdown - Link Anchor",
|
||||
"scope": [
|
||||
"constant.other.reference.link.markdown"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.yellow}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Markup - Raw Block",
|
||||
"scope": [
|
||||
"markup.raw.block"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.base.purple}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Markdown - Fenced Bode Block Variable",
|
||||
"scope": [
|
||||
"markup.fenced_code.block.markdown",
|
||||
"markup.inline.raw.string.markdown"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.foreground}}90"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Markdown - Fenced Language",
|
||||
"scope": [
|
||||
"variable.language.fenced.markdown"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.invisibles}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Markdown - Separator",
|
||||
"scope": [
|
||||
"meta.separator"
|
||||
],
|
||||
"settings": {
|
||||
"fontStyle": "bold",
|
||||
"foreground": "{{variant.scheme.invisibles}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Markup - Table",
|
||||
"scope": [
|
||||
"markup.table"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "{{variant.scheme.foreground}}"
|
||||
}
|
||||
}
|
||||
],
|
||||
"colors": {
|
||||
"focusBorder": "{{variant.scheme.focusBorder}}00",
|
||||
"editorCursor.foreground": "{{variant.scheme.caret}}",
|
||||
"editorRuler.foreground": "{{variant.scheme.guides}}",
|
||||
"scrollbar.shadow": "{{variant.scheme.background}}00",
|
||||
"editorLink.activeForeground": "{{variant.scheme.foreground}}",
|
||||
"selection.background": "{{commons.accents.Teal}}",
|
||||
"progressBar.background": "{{commons.accents.Teal}}",
|
||||
"textLink.foreground": "{{commons.accents.Teal}}",
|
||||
"textLink.activeForeground": "{{variant.scheme.foreground}}",
|
||||
"widget.shadow": "{{variant.scheme.shadow}}",
|
||||
"button.background": "{{variant.scheme.selection}}",
|
||||
"debugToolBar.background": "{{variant.scheme.background}}",
|
||||
"pickerGroup.foreground": "{{commons.accents.Teal}}",
|
||||
"inputOption.activeBackground": "{{variant.scheme.foreground}}30",
|
||||
"inputOption.activeBorder": "{{variant.scheme.foreground}}30",
|
||||
|
||||
|
||||
"editorLineNumber.foreground": "{{variant.scheme.lineNumbers}}",
|
||||
"editorLineNumber.activeForeground": "{{variant.scheme.sidebarForeground}}",
|
||||
"editorBracketMatch.border": "{{variant.scheme.caret}}50",
|
||||
"editorBracketMatch.background": "{{variant.scheme.background}}",
|
||||
"editorWhitespace.foreground": "{{variant.scheme.foreground}}40",
|
||||
"editorOverviewRuler.findMatchForeground": "{{commons.accents.Teal}}",
|
||||
"editorOverviewRuler.border": "{{variant.scheme.background}}",
|
||||
"editorOverviewRuler.errorForeground": "{{variant.scheme.base.red}}40",
|
||||
"editorOverviewRuler.infoForeground": "{{variant.scheme.base.blue}}40",
|
||||
"editorOverviewRuler.warningForeground": "{{variant.scheme.base.yellow}}40",
|
||||
"editorInfo.foreground": "{{variant.scheme.base.blue}}70",
|
||||
"editorWarning.foreground": "{{variant.scheme.base.yellow}}70",
|
||||
"editorError.foreground": "{{variant.scheme.base.red}}70",
|
||||
"editorHoverWidget.background": "{{variant.scheme.background}}",
|
||||
"editorHoverWidget.border": "{{variant.scheme.inputBorder}}",
|
||||
"editorIndentGuide.background": "{{variant.scheme.guides}}70",
|
||||
"editorIndentGuide.activeBackground": "{{variant.scheme.guides}}",
|
||||
"editorGroupHeader.tabsBackground": "{{variant.scheme.background}}",
|
||||
"editorGroup.border": "{{variant.scheme.shadow}}",
|
||||
"editorGutter.modifiedBackground": "{{variant.scheme.base.blue}}60",
|
||||
"editorGutter.addedBackground": "{{variant.scheme.base.green}}60",
|
||||
"editorGutter.deletedBackground": "{{variant.scheme.base.red}}60",
|
||||
|
||||
"editor.background": "{{variant.scheme.background}}",
|
||||
"editor.foreground": "{{variant.scheme.foreground}}",
|
||||
"editor.lineHighlightBackground": "{{variant.scheme.lineHighlight}}50",
|
||||
"editor.selectionBackground": "{{variant.scheme.selection}}",
|
||||
"editor.selectionHighlightBackground": "{{variant.scheme.caret}}20",
|
||||
|
||||
"editor.findMatchBackground": "{{variant.scheme.findMatchBackground}}",
|
||||
"editor.findMatchHighlightBackground": "{{variant.scheme.findMatchHighlightBackground}}",
|
||||
"editor.findMatchBorder": "{{commons.accents.Teal}}",
|
||||
"editor.findMatchHighlightBorder": "{{variant.scheme.findMatchHighlightBorder}}",
|
||||
|
||||
"tab.activeBorder": "{{commons.accents.Teal}}",
|
||||
"tab.activeModifiedBorder": "{{variant.scheme.sidebarForeground}}",
|
||||
"tab.unfocusedActiveBorder": "{{variant.scheme.comments}}",
|
||||
"tab.activeForeground": "{{variant.scheme.tabActiveForeground}}",
|
||||
"tab.inactiveForeground": "{{variant.scheme.sidebarForeground}}",
|
||||
"tab.inactiveBackground": "{{variant.scheme.background}}",
|
||||
"tab.unfocusedActiveForeground": "{{variant.scheme.foreground}}",
|
||||
"tab.border": "{{variant.scheme.background}}",
|
||||
|
||||
"statusBar.noFolderBackground": "{{variant.scheme.background}}",
|
||||
"statusBar.border": "{{variant.scheme.contrastBorder}}60",
|
||||
"statusBar.background": "{{variant.scheme.backgroundAlt}}",
|
||||
"statusBar.foreground": "{{variant.scheme.statusbarForeground}}",
|
||||
"statusBar.debuggingBackground": "{{variant.scheme.base.purple}}",
|
||||
"statusBar.debuggingForeground": "{{variant.scheme.base.white}}",
|
||||
|
||||
"statusBarItem.hoverBackground": "{{variant.scheme.comments}}20",
|
||||
"statusBarItem.remoteForeground": "{{variant.scheme.base.black}}",
|
||||
"statusBarItem.remoteBackground": "{{commons.accents.Teal}}",
|
||||
|
||||
"activityBar.background": "{{variant.scheme.backgroundAlt}}",
|
||||
"activityBar.border": "{{variant.scheme.contrastBorder}}60",
|
||||
"activityBar.foreground": "{{variant.scheme.foreground}}",
|
||||
"activityBar.activeBorder": "{{commons.accents.Teal}}",
|
||||
|
||||
"activityBarBadge.background": "{{commons.accents.Teal}}",
|
||||
"activityBarBadge.foreground": "{{variant.scheme.base.black}}",
|
||||
|
||||
"titleBar.activeBackground": "{{variant.scheme.backgroundAlt}}",
|
||||
"titleBar.activeForeground": "{{variant.scheme.foreground}}",
|
||||
"titleBar.inactiveBackground": "{{variant.scheme.backgroundAlt}}",
|
||||
"titleBar.inactiveForeground": "{{variant.scheme.sidebarForeground}}",
|
||||
"titleBar.border": "{{variant.scheme.contrastBorder}}60",
|
||||
|
||||
"sideBar.background": "{{variant.scheme.backgroundAlt}}",
|
||||
"sideBar.foreground": "{{variant.scheme.sidebarForeground}}",
|
||||
"sideBar.border": "{{variant.scheme.contrastBorder}}60",
|
||||
|
||||
"sideBarTitle.foreground": "{{variant.scheme.foreground}}",
|
||||
"sideBarSectionHeader.background": "{{variant.scheme.backgroundAlt}}",
|
||||
"sideBarSectionHeader.border": "{{variant.scheme.contrastBorder}}60",
|
||||
|
||||
"input.background": "{{variant.scheme.inputBackground}}",
|
||||
"input.foreground": "{{variant.scheme.inputForeground}}",
|
||||
"input.placeholderForeground": "{{variant.scheme.foreground}}60",
|
||||
"input.border": "{{variant.scheme.inputBorder}}",
|
||||
|
||||
"inputValidation.errorBorder": "{{variant.scheme.base.red}}50",
|
||||
"inputValidation.infoBorder": "{{variant.scheme.base.blue}}50",
|
||||
"inputValidation.warningBorder": "{{variant.scheme.base.yellow}}50",
|
||||
|
||||
"dropdown.background": "{{variant.scheme.background}}",
|
||||
"dropdown.border": "{{variant.scheme.inputBorder}}",
|
||||
|
||||
"list.hoverForeground": "{{variant.scheme.listHoverForeground}}",
|
||||
"list.hoverBackground": "{{variant.scheme.backgroundAlt}}",
|
||||
"list.activeSelectionBackground": "{{variant.scheme.backgroundAlt}}",
|
||||
"list.activeSelectionForeground": "{{commons.accents.Teal}}",
|
||||
"list.inactiveSelectionForeground": "{{commons.accents.Teal}}",
|
||||
"list.inactiveSelectionBackground": "{{variant.scheme.inactiveSelectionBackground}}",
|
||||
"list.focusBackground": "{{variant.scheme.foreground}}20",
|
||||
"list.focusForeground": "{{variant.scheme.foreground}}",
|
||||
"list.highlightForeground": "{{commons.accents.Teal}}",
|
||||
|
||||
"terminal.ansiWhite": "{{variant.scheme.base.white}}",
|
||||
"terminal.ansiBlack": "{{variant.scheme.base.black}}",
|
||||
"terminal.ansiBlue": "{{variant.scheme.base.blue}}",
|
||||
"terminal.ansiCyan": "{{variant.scheme.base.cyan}}",
|
||||
"terminal.ansiGreen": "{{variant.scheme.base.green}}",
|
||||
"terminal.ansiMagenta": "{{variant.scheme.base.purple}}",
|
||||
"terminal.ansiRed": "{{variant.scheme.base.red}}",
|
||||
"terminal.ansiYellow": "{{variant.scheme.base.yellow}}",
|
||||
"terminal.ansiBrightWhite": "{{variant.scheme.base.white}}",
|
||||
"terminal.ansiBrightBlack": "{{variant.scheme.comments}}",
|
||||
"terminal.ansiBrightBlue": "{{variant.scheme.base.blue}}",
|
||||
"terminal.ansiBrightCyan": "{{variant.scheme.base.cyan}}",
|
||||
"terminal.ansiBrightGreen": "{{variant.scheme.base.green}}",
|
||||
"terminal.ansiBrightMagenta": "{{variant.scheme.base.purple}}",
|
||||
"terminal.ansiBrightRed": "{{variant.scheme.base.red}}",
|
||||
"terminal.ansiBrightYellow": "{{variant.scheme.base.yellow}}",
|
||||
|
||||
"terminalCursor.foreground": "{{variant.scheme.base.yellow}}",
|
||||
"terminalCursor.background": "{{variant.scheme.base.black}}",
|
||||
|
||||
"scrollbarSlider.background": "{{variant.scheme.scrollbars}}",
|
||||
"scrollbarSlider.hoverBackground": "{{variant.scheme.scrollbarsHover}}",
|
||||
"scrollbarSlider.activeBackground": "{{commons.accents.Teal}}",
|
||||
|
||||
"editorSuggestWidget.background": "{{variant.scheme.background}}",
|
||||
"editorSuggestWidget.foreground": "{{variant.scheme.foreground}}",
|
||||
"editorSuggestWidget.highlightForeground": "{{commons.accents.Teal}}",
|
||||
"editorSuggestWidget.selectedBackground": "{{variant.scheme.lineHighlight}}50",
|
||||
"editorSuggestWidget.border": "{{variant.scheme.inputBorder}}",
|
||||
"editorWidget.background": "{{variant.scheme.backgroundAlt}}",
|
||||
"editorWidget.resizeBorder": "{{commons.accents.Teal}}",
|
||||
"editorWidget.border": "{{variant.scheme.base.Teal}}",
|
||||
"editorMarkerNavigation.background": "{{variant.scheme.foreground}}05",
|
||||
|
||||
"panel.border": "{{variant.scheme.contrastBorder}}60",
|
||||
"panel.background": "{{variant.scheme.backgroundAlt}}",
|
||||
"panel.dropBackground": "{{variant.scheme.foreground}}",
|
||||
"panelTitle.inactiveForeground": "{{variant.scheme.foreground}}",
|
||||
"panelTitle.activeForeground": "{{variant.scheme.tabActiveForeground}}",
|
||||
"panelTitle.activeBorder": "{{commons.accents.Teal}}",
|
||||
|
||||
"diffEditor.insertedTextBackground": "{{variant.scheme.base.green}}15",
|
||||
"diffEditor.removedTextBackground": "{{variant.scheme.base.red}}20",
|
||||
|
||||
"notifications.background": "{{variant.scheme.background}}",
|
||||
"notifications.foreground": "{{variant.scheme.foreground}}",
|
||||
"notificationLink.foreground": "{{commons.accents.Teal}}",
|
||||
|
||||
"badge.background": "{{variant.scheme.lineHighlight}}30",
|
||||
"badge.foreground": "{{variant.scheme.comments}}",
|
||||
|
||||
"extensionButton.prominentBackground": "{{variant.scheme.base.green}}90",
|
||||
"extensionButton.prominentHoverBackground": "{{variant.scheme.base.green}}",
|
||||
|
||||
"peekView.border": "{{variant.scheme.shadow}}",
|
||||
"peekViewEditor.background": "{{variant.scheme.foreground}}05",
|
||||
"peekViewTitle.background": "{{variant.scheme.foreground}}05",
|
||||
"peekViewResult.background": "{{variant.scheme.foreground}}05",
|
||||
"peekViewEditorGutter.background": "{{variant.scheme.foreground}}05",
|
||||
"peekViewTitleDescription.foreground": "{{variant.scheme.foreground}}60",
|
||||
"peekViewResult.matchHighlightBackground": "{{variant.scheme.selection}}",
|
||||
"peekViewEditor.matchHighlightBackground": "{{variant.scheme.selection}}",
|
||||
|
||||
"gitDecoration.deletedResourceForeground": "{{variant.scheme.base.red}}90",
|
||||
"gitDecoration.conflictingResourceForeground": "{{variant.scheme.base.yellow}}90",
|
||||
"gitDecoration.modifiedResourceForeground": "{{variant.scheme.base.blue}}90",
|
||||
"gitDecoration.untrackedResourceForeground": "{{variant.scheme.base.green}}90",
|
||||
"gitDecoration.ignoredResourceForeground": "{{variant.scheme.sidebarForeground}}90",
|
||||
|
||||
"peekViewResult.selectionBackground": "{{variant.scheme.sidebarForeground}}70",
|
||||
|
||||
"breadcrumb.background": "{{variant.scheme.background}}",
|
||||
"breadcrumb.foreground": "{{variant.scheme.sidebarForeground}}",
|
||||
"breadcrumb.focusForeground": "{{variant.scheme.foreground}}",
|
||||
"breadcrumb.activeSelectionForeground": "{{commons.accents.Teal}}",
|
||||
"breadcrumbPicker.background": "{{variant.scheme.backgroundAlt}}",
|
||||
|
||||
"menu.background": "{{variant.scheme.background}}",
|
||||
"menu.foreground": "{{variant.scheme.foreground}}",
|
||||
"menu.selectionBackground": "{{variant.scheme.lineHighlight}}50",
|
||||
"menu.selectionForeground": "{{commons.accents.Teal}}",
|
||||
"menu.selectionBorder": "{{variant.scheme.inactiveSelectionBackground}}",
|
||||
"menu.separatorBackground": "{{variant.scheme.foreground}}",
|
||||
|
||||
"menubar.selectionBackground": "{{variant.scheme.inactiveSelectionBackground}}",
|
||||
"menubar.selectionForeground": "{{commons.accents.Teal}}",
|
||||
"menubar.selectionBorder": "{{variant.scheme.inactiveSelectionBackground}}",
|
||||
|
||||
"settings.dropdownForeground": "{{variant.scheme.foreground}}",
|
||||
"settings.dropdownBackground": "{{variant.scheme.backgroundAlt}}",
|
||||
"settings.numberInputForeground": "{{variant.scheme.foreground}}",
|
||||
"settings.numberInputBackground": "{{variant.scheme.backgroundAlt}}",
|
||||
"settings.textInputForeground": "{{variant.scheme.foreground}}",
|
||||
"settings.textInputBackground": "{{variant.scheme.backgroundAlt}}",
|
||||
"settings.headerForeground": "{{commons.accents.Teal}}",
|
||||
"settings.modifiedItemIndicator": "{{commons.accents.Teal}}",
|
||||
"settings.checkboxBackground": "{{variant.scheme.backgroundAlt}}",
|
||||
"settings.checkboxForeground": "{{variant.scheme.foreground}}",
|
||||
|
||||
"listFilterWidget.background": "{{variant.scheme.inactiveSelectionBackground}}",
|
||||
"listFilterWidget.outline": "{{variant.scheme.inactiveSelectionBackground}}",
|
||||
"listFilterWidget.noMatchesOutline": "{{variant.scheme.inactiveSelectionBackground}}",
|
||||
|
||||
"tree.indentGuidesStroke": "{{variant.scheme.guides}}"
|
||||
}
|
||||
}
|
|
@ -2,7 +2,7 @@
|
|||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"target": "es6",
|
||||
"outDir": "out",
|
||||
"outDir": "dist",
|
||||
"lib": [
|
||||
"es7",
|
||||
"dom"
|
||||
|
@ -15,13 +15,16 @@
|
|||
"resolveJsonModule": true
|
||||
},
|
||||
"include": [
|
||||
"./.gulp/**/*",
|
||||
"./typings/**/*",
|
||||
"./types",
|
||||
"./src/**/*",
|
||||
"./test/**/*",
|
||||
"./scripts/**/*",
|
||||
"./env.ts"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"dist",
|
||||
"build",
|
||||
".vscode-test"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
"extends": "tslint-xo",
|
||||
"rules": {
|
||||
"comment-format": false,
|
||||
"indent": [true, "spaces"],
|
||||
"no-inner-html": false
|
||||
}
|
||||
}
|
7
typings/gulp-bump/gulp-bump.d.ts
vendored
7
typings/gulp-bump/gulp-bump.d.ts
vendored
|
@ -1,7 +0,0 @@
|
|||
declare module "gulp-bump" {
|
||||
function gulpBump (... args: any[]): any;
|
||||
|
||||
namespace gulpBump {}
|
||||
|
||||
export = gulpBump;
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
declare module "gulp-conventional-changelog" {
|
||||
function changelog(... args: any[]): any;
|
||||
namespace changelog {}
|
||||
export = changelog;
|
||||
}
|
5
typings/gulp-stats/gulp-stats.d.ts
vendored
5
typings/gulp-stats/gulp-stats.d.ts
vendored
|
@ -1,5 +0,0 @@
|
|||
declare module "gulp-stats" {
|
||||
function gulpStats(... args: any[]): any;
|
||||
namespace gulpStats {}
|
||||
export = gulpStats;
|
||||
}
|
Loading…
Reference in a new issue