diff --git a/.gitignore b/.gitignore index 69a657b..9497f51 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ .DS_Store .AppleDouble .LSOverride -.vscode + # Thumbnails ._* @@ -10,6 +10,6 @@ .Spotlight-V100 .Trashes -node_modules +node_modules/ *.vsix -vsc-extension-quickstart.md + diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..6899e23 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,28 @@ +// A launch configuration that launches the extension inside a new window +// Use IntelliSense to learn about possible attributes. +// Hover to view descriptions of existing attributes. +// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 +{ + "version": "0.2.0", + "configurations": [ + { + "name": "Run Extension", + "type": "extensionHost", + "request": "launch", + "runtimeExecutable": "${execPath}", + "args": [ + "--extensionDevelopmentPath=${workspaceFolder}" + ] + }, + { + "name": "Extension Tests", + "type": "extensionHost", + "request": "launch", + "runtimeExecutable": "${execPath}", + "args": [ + "--extensionDevelopmentPath=${workspaceFolder}", + "--extensionTestsPath=${workspaceFolder}/test/suite/index" + ] + } + ] +} diff --git a/CHANGELOG.md b/CHANGELOG.md index d129c0f..658a84c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # 更新日志 +## [1.3.8] 2019-08-26 +- 优化列表的hover配色 +- 优化搜索框内的选项按钮的配色 +- 调整素色的色值 + ## [1.3.7] 2019-04-04 - 优化windows版下的标题栏颜色 diff --git a/package.json b/package.json index 8cf6466..ba362f7 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "displayName": "one plain", "description": "🔥 米白色主题", "icon": "logo.png", - "version": "1.3.7", + "version": "1.3.8", "publisher": "yutent", "author": "Yutent [@yutent]", "engines": { diff --git a/src/colors.js b/src/colors.js index 5eb3ae4..f0789e2 100644 --- a/src/colors.js +++ b/src/colors.js @@ -77,17 +77,18 @@ module.exports = { 'sideBar.foreground': '#627883', 'sideBar.border': vars.plain3, 'sideBarTitle.foreground': vars.common, - 'sideBarSectionHeader.background': vars.plain1, + 'sideBarSectionHeader.background': vars.plain2, 'input.background': vars.white, 'input.foreground': vars.common, 'input.placeholderForeground': '#90A4AE60', 'input.border': vars.plain3, + 'inputOption.activeBackground': vars.cyan1 + 25, 'inputValidation.errorBorder': '#E5393550', 'inputValidation.infoBorder': '#6182B850', 'inputValidation.warningBorder': '#FFB62C50', 'dropdown.background': vars.white, 'dropdown.border': '#00000010', - 'list.hoverForeground': '#B1C7D3', + 'list.hoverForeground': vars.cyan1, 'list.hoverBackground': vars.plain1, 'list.activeSelectionBackground': vars.plain1, 'list.activeSelectionForeground': '#80CBC4', @@ -129,7 +130,7 @@ module.exports = { 'notificationLink.foreground': '#80CBC4', 'badge.background': '#CCD7DA30', 'badge.foreground': vars.common, - 'button.background': '#80CBC440', + 'button.background': vars.cyan1, 'extensionButton.prominentBackground': '#91B85990', 'extensionButton.prominentHoverBackground': '#91B859', 'peekView.border': '#00000020', diff --git a/src/var.js b/src/var.js index f8e5ed8..a4b38bf 100644 --- a/src/var.js +++ b/src/var.js @@ -6,9 +6,9 @@ module.exports = { white: '#ffffff', dark1: '#75797b', dark2: '#35373b', - plain1: '#f7f8fb', - plain2: '#f3f5fb', - plain3: '#e7e8eb', + plain1: '#f8f9fd', + plain2: '#f2f5fc', + plain3: '#e8e9ed', grey1: '#c7c8cb', grey2: '#b3b5ab', blue1: '#70acf7', diff --git a/themes/color-theme.json b/themes/color-theme.json index ca7ba81..eec76b4 100644 --- a/themes/color-theme.json +++ b/themes/color-theme.json @@ -15,7 +15,7 @@ "editorLineNumber.activeForeground": "#627883", "editorBracketMatch.border": "#35373b50", "editorBracketMatch.background": "#ffffff", - "editorWhitespace.foreground": "#f3f5fb", + "editorWhitespace.foreground": "#f2f5fc", "editor.background": "#ffffff", "editor.foreground": "#546e7a", "editor.lineHighlightBackground": "#CCD7DA50", @@ -30,10 +30,10 @@ "editorOverviewRuler.border": "#ffffff", "editorHoverWidget.background": "#ffffff", "editorHoverWidget.border": "#00000010", - "editorIndentGuide.background": "#f3f5fb", - "editorIndentGuide.activeBackground": "#e7e8eb", + "editorIndentGuide.background": "#f2f5fc", + "editorIndentGuide.activeBackground": "#e8e9ed", "editorGroupHeader.tabsBackground": "#ffffff", - "editorGroup.border": "#f3f5fb", + "editorGroup.border": "#f2f5fc", "editorGutter.modifiedBackground": "#6182B860", "editorGutter.addedBackground": "#91B85960", "editorGutter.deletedBackground": "#E5393560", @@ -44,53 +44,54 @@ "editorSuggestWidget.border": "#00000010", "editorError.foreground": "#E5393570", "editorWarning.foreground": "#91B85970", - "editorWidget.background": "#f7f8fb", + "editorWidget.background": "#f8f9fd", "editorWidget.resizeBorder": "#80CBC4", - "editorWidget.border": "#e7e8eb", + "editorWidget.border": "#e8e9ed", "editorMarkerNavigation.background": "#90A4AE05", "tab.activeBorder": "#3fc2a7", "tab.unfocusedActiveBorder": "#90a4ae", - "tab.activeBackground": "#f3f5fb", + "tab.activeBackground": "#f2f5fc", "tab.activeForeground": "#000000", "tab.inactiveForeground": "#627883", "tab.inactiveBackground": "#ffffff", "tab.unfocusedActiveForeground": "#90a4ae", "tab.border": "#ffffff", "statusBar.noFolderBackground": "#ffffff", - "statusBar.border": "#e7e8eb", - "statusBar.background": "#f7f8fb", + "statusBar.border": "#e8e9ed", + "statusBar.background": "#f8f9fd", "statusBar.foreground": "#7E939E", "statusBar.debuggingBackground": "#7C4DFF", "statusBar.debuggingForeground": "#ffffff", "statusBarItem.hoverBackground": "#90A4AE20", - "activityBar.background": "#f7f8fb", - "activityBar.border": "#e7e8eb", + "activityBar.background": "#f8f9fd", + "activityBar.border": "#e8e9ed", "activityBar.foreground": "#19b491", "activityBar.inactiveForeground": "#a7beca", "activityBarBadge.background": "#EA4224", "activityBarBadge.foreground": "#ffffff", - "titleBar.activeBackground": "#e7e8eb", + "titleBar.activeBackground": "#e8e9ed", "titleBar.activeForeground": "#75797b", - "titleBar.inactiveBackground": "#f7f8fb", + "titleBar.inactiveBackground": "#f8f9fd", "titleBar.inactiveForeground": "#627883", - "titleBar.border": "#e7e8eb", - "sideBar.background": "#f7f8fb", + "titleBar.border": "#e8e9ed", + "sideBar.background": "#f8f9fd", "sideBar.foreground": "#627883", - "sideBar.border": "#e7e8eb", + "sideBar.border": "#e8e9ed", "sideBarTitle.foreground": "#90a4ae", - "sideBarSectionHeader.background": "#f7f8fb", + "sideBarSectionHeader.background": "#f2f5fc", "input.background": "#ffffff", "input.foreground": "#90a4ae", "input.placeholderForeground": "#90A4AE60", - "input.border": "#e7e8eb", + "input.border": "#e8e9ed", + "inputOption.activeBackground": "#3fc2a725", "inputValidation.errorBorder": "#E5393550", "inputValidation.infoBorder": "#6182B850", "inputValidation.warningBorder": "#FFB62C50", "dropdown.background": "#ffffff", "dropdown.border": "#00000010", - "list.hoverForeground": "#B1C7D3", - "list.hoverBackground": "#f7f8fb", - "list.activeSelectionBackground": "#f7f8fb", + "list.hoverForeground": "#3fc2a7", + "list.hoverBackground": "#f8f9fd", + "list.activeSelectionBackground": "#f8f9fd", "list.activeSelectionForeground": "#80CBC4", "list.inactiveSelectionForeground": "#80CBC4", "list.inactiveSelectionBackground": "#CCD7DA50", @@ -117,8 +118,8 @@ "scrollbarSlider.hoverBackground": "#90a4ae10", "scrollbarSlider.activeBackground": "#80CBC4", "widget.shadow": "#00000020", - "panel.border": "#e7e8eb", - "panel.background": "#f7f8fb", + "panel.border": "#e8e9ed", + "panel.background": "#f8f9fd", "panel.dropBackground": "#90a4ae", "panelTitle.inactiveForeground": "#90a4ae", "panelTitle.activeForeground": "#16967a", @@ -130,7 +131,7 @@ "notificationLink.foreground": "#80CBC4", "badge.background": "#CCD7DA30", "badge.foreground": "#90a4ae", - "button.background": "#80CBC440", + "button.background": "#3fc2a7", "extensionButton.prominentBackground": "#91B85990", "extensionButton.prominentHoverBackground": "#91B859", "peekView.border": "#00000020", @@ -153,7 +154,7 @@ "breadcrumb.foreground": "#627883", "breadcrumb.focusForeground": "#90a4ae", "breadcrumb.activeSelectionForeground": "#80CBC4", - "breadcrumbPicker.background": "#f7f8fb", + "breadcrumbPicker.background": "#f8f9fd", "menu.background": "#ffffff", "menu.foreground": "#90a4ae", "menu.selectionBackground": "#CCD7DA50", @@ -164,14 +165,14 @@ "menubar.selectionForeground": "#35373b", "menubar.selectionBorder": "#CCD7DA50", "settings.dropdownForeground": "#90a4ae", - "settings.dropdownBackground": "#f7f8fb", + "settings.dropdownBackground": "#f8f9fd", "settings.numberInputForeground": "#90a4ae", - "settings.numberInputBackground": "#f7f8fb", + "settings.numberInputBackground": "#f8f9fd", "settings.textInputForeground": "#90a4ae", - "settings.textInputBackground": "#f7f8fb", + "settings.textInputBackground": "#f8f9fd", "settings.headerForeground": "#80CBC4", "settings.modifiedItemIndicator": "#80CBC4", - "settings.checkboxBackground": "#f7f8fb", + "settings.checkboxBackground": "#f8f9fd", "settings.checkboxForeground": "#90a4ae" }, "tokenColors": [