vscode插件開發(2)-主題插件:colors配置項

文字顏色

  • textBlockQuote.background:文本中塊引用的背景顏色
  • textBlockQuote.border:文本中塊引號的邊框色
  • textCodeBlock.background:文本中代碼塊的背景色
  • textLink.activeForeground:單擊和懸停鼠標時文本鏈接的前景色
  • textLink.foreground:文本鏈接的前景色
  • textPreformat.foreground:預格式化文本段的前景色
  • textSeparator.foreground:文本分隔符的顏色

按鈕

  • button.background:按鈕背景色
  • button.foreground:按鈕文字色
  • button.hoverBackground:懸停時按鈕背景色
  • checkbox.background:複選框背景色
  • checkbox.foreground:複選框文字色
  • checkbox.border:複選框邊框色

下拉菜單

  • dropdown.background:下拉背景
  • dropdown.listBackground:下拉列表背景
  • dropdown.border:下拉邊框
  • dropdown.foreground:下拉菜單前景

輸入

  • input.background:輸入框背景色
  • input.border:輸入框邊框
  • input.foreground:輸入框文字色
  • input.palceholderForeground:輸入佔位符文字色
  • inputOption.activeBackground:輸入字段中已激活選項的背景顏色
  • inputOption.activeBorder:輸入字段中已激活選項的邊框色
  • inputValidation.errorBackground:輸入驗證背景色以瞭解錯誤嚴重性
  • inputValidation.errorForeground:出入驗證文字色的錯誤嚴重性
  • inputValidation.errorBorder:輸入錯誤嚴重程度的驗證邊框顏色
  • inputValidation.infoBackground:輸入驗證背景色以獲取信息的嚴重性
  • inputValidation.infoForeground:輸入驗證文字色以獲取信息的嚴重性
  • inputValidation.infoBorder:輸入驗證邊框色以瞭解信息的嚴重性
  • inputValidation.warningBackground:輸入驗證背景色以發出信息警告
  • inputValidation.warningForeground:輸入警告嚴重性的驗證文字色
  • inputValidation.warningBorder:輸入警告嚴重性的驗證框驗證

滾動條

  • scrollbar.shadow:滾動條滑塊陰影,以指示視圖已滾動
  • scrollbarSlider.activeBackground:單擊時滾動條滑塊的背景色
  • scrollbarSlider.background:滾動條滑塊的背景色
  • scrollbarSlider.hoverBackground:懸停時滾動條滑塊的背景色

徽章

  • badge.foreground:徽章文字色
  • badge.background:徽章背景色

進度條

  • progressBar.background:爲長時間運行而顯示的進度條的背景色

清單和樹

  • list.activeSelectionBackground:光標在資源管理器中所選文件的背景色
  • list.activeSelectionForeground:光標在資源管理器中所選文件的文字色
  • list.dropBackground:鼠標拖動項目時拖放背景
  • list.focusBackground:匹配對應項的背景色
  • list.focusForeground:搜索時,匹配文件的文字顏色
  • list.highlightForeground:匹配對應文字的高亮顯示
  • list.hoverBackground:鼠標懸停在項目上時文件背景色
  • list.hoverForeground:鼠標懸停在項目上時文件文字色
  • list.inactiveSelectionBackground:光標在所選文件對應的編輯器中時所選文件的背景色
  • list.inactiveSelectionForeground:光標在所選文件對應的編輯器中時所選文件的文字色
  • list.inactiveFocusBackground:搜索時,篩選的所有匹配的項的背景顏色
  • list.invalidItemForeground:無效項目的列表/樹文字色,例如資源管理器中未解析的根
  • list.errorForeground:文件中包含錯誤的文字色
  • list.warningForeground:文件中包含警告的文字色
  • listFilterWidget.background:搜索時,過濾器小部件背景色
  • listFilterWidget.outline:搜索時,過濾器小部件邊框
  • listFilterWidget.noMatchesOutline:在列表/樹中搜索時,如果找不到鍵入文本的匹配項,則列表/樹過濾器小部件的輪廓顏色
  • list.filterMatchBackground:列表和樹種已過濾匹配項的背景色
  • list.filterMatchBorder:篩選後匹配項的邊框色
  • tree.indentGuidesStroke:文件夾縮進參考線顏色
  • list.deemphasizedForeground:已取消強調的項目的列表/樹文字色

活動欄(左)

  • activityBar.background:活動欄背景色
  • activityBar.dropBackground:拖放活動欄項目的反饋顏色
  • activityBar.foreground:活動欄前景色
  • activityBar.inactiveForeground:活動欄項目前景色無效時
  • activityBar.border:活動欄右側邊框顏色
  • activityBarBadge.background:活動通知徽章背景顏色
  • activityBarBadge.foreground:活動通知徽章文字顏色
  • activityBar.activeBorder:活動欄活動指示器邊框顏色
  • activityBar.activeBackground:活動欄當前選中元素的背景色
  • activityBar.activeFocusBorder:活動項目的活動欄焦點邊框顏色

側欄

  • sideBar.background:側欄(資源管理器)背景顏色
  • sideBar.foreground:側欄文字顏色
  • sideBar.border:分隔編輯器右側邊框顏色
  • sideBar.dropBackground:拖放側欄部分的反饋顏色。顏色應具有透明性,以便側欄部分仍然可以發光
  • sideBarSectionHeader.background:側欄部分標題文件夾背景顏色
  • sideBarSectionHeader.foreground:側欄部分標題文件夾文字顏色
  • sideBarSectionHeader.border:側欄部分標題文件夾的上邊框
  • sideBarTitle.foreground:資源管理器的文字顏色

小地圖

  • minimap.findMatchHighlight:查找文件中匹配項
  • minimap.selectionHighlight:編輯器中光標當前選擇行的顏色
  • minimap.errorHighlight:突出顯示顏色以防止編輯器中出現錯誤
  • minimap.warningHighlight:在編輯器中突出顯示警告顏色
  • minimap.background:小地圖背景色
  • minimapSlider.background:滑塊背景顏色
  • minimapSlider.hoverBackground:懸停滑塊背景色
  • minimapSlider.activeBackground:單擊滑塊背景色
  • minimapGutter.addedBackground:用於添加內容的minimap裝訂線顏色
  • minimapGutter.modifiedBackground:用於更改內容的minimap裝訂線顏色
  • minimapGutter.deletedBackground:用於刪除內容的minimap裝訂線顏色

編輯器組和選項卡

  • editorGroup.border:拆分佈局時分割線的顏色
  • editorGroup.dropBackground:拖動編輯器時的背景色
  • editorGroupHeader.noTabsBackground:禁用製表符時,編輯器組標題的背景色
  • editorGroupHeader.tabsBackground:tabs容器的背景色
  • editorGroupHeader.tabsBorder:當前選中標籤的邊框顏色
  • editorGroup.emptyBackground:沒有編輯器打開時背景色
  • editorGroup.focusedEmptyBorder:聚焦時沒有編輯器打開時邊框顏色
  • tab.activeBackground:當前選中標籤背景顏色
  • tab.unfocusedActiveBackground:分組中未選中項的背景顏色
  • tab.activeForeground:當前選中項的文字顏色
  • tab.border:每個選項的分隔邊框
  • tab.activeBorder:當前選中項底部邊框
  • tab.unfocusedActiveBorder:分組時未選中項的底部邊框
  • tab.activeBorderTop:當前選中項的頂部邊框
  • tab.unfocusedActiveBorderTop:分組時未選中項的頂部邊框
  • tab.inactiveBackground:默認未選中狀態的背景顏色
  • tab.inactiveForeground:默認未選中狀態的文字顏色
  • tab.unfocusedActiveForeground:分組時未選中項的文字顏色
  • tab.unfocusedInactiveForeground:分組時未選中tab組中未選中的文字顏色
  • tab.hoverBackground:懸停時的標籤背景顏色
  • tab.unfocusedHoverBackground:懸停時,未選中的選項卡背景顏色
  • tab.hoverBorder:拖動時突出顯示標籤的邊框
  • tab.unfocusedHoverBorder:懸停時突出顯示未聚焦組中的選項卡邊框
  • tab.activeModifiedBorder:活動組中已修改活動選項卡頂部的邊框
  • tab.inactiveModifiedBorder:活動組中已修改的非活動選項卡頂部的邊框
  • tab.unfocusedActivevModifiedBorder:未聚焦的組中已修改的活動選項卡頂部的邊框
  • tab.unfocusedInactiveModifiedBorder:未聚焦的組中已修改的非活動選項卡頂部的邊框
  • editorPane.background:編輯器局中佈局時的背景顏色

編輯器顏色

  • editor.background:編輯器背景顏色
  • editor.foreground:編輯器默認文字顏色
  • editorLineNumber.foreground:編輯器行號顏色
  • editorLineNumber.activeForeground:活動的編輯器行號的顏色
  • editorCursor.background:編輯器光標的背景色,允許自定義與塊光標重疊的字符顏色
  • editorCursor.foreground:編輯器光標顏色
  • editor.selectionBackground:選中文本的背景顏色
  • editor.selectionForeground:選定的文本的顏色以實現高對比度
  • editor.inactiveSelectionBackground:非活動編輯器中所選內容的顏色,顏色不能透明
  • editor.selectionHighlightBackground:與選擇內容相同的顏色
  • editor.selectionHighlightBorder:與選擇內容相同的邊框色
  • editor.wordHighlightBackground:當前文件中其他與選中變量相同的變量的背景色
  • editor.wordHighlightBorder:當前文件中其他與選中變量相同的變量邊框色
  • editor.wordHighlightStrongBackground:選中變量的背景色
  • editor.wordHighlightStrongBorder:選中變量的邊框色
    查找:
  • editor.findMatchBackground:當前搜索匹配項的顏色
  • editor.findMatchHighlightBackground:其他搜索匹配項的顏色,顏色不能透明
  • editor.findRangeHighlightBackground:爲顯示搜索的範圍着色
  • editor.findMatchBorder:當前搜索匹配項邊框色
  • editor.findMatchHighlightBorder:搜索範圍邊界邊框色
  • editor.findRangeHighlightBorder:搜索範圍邊界顏色
    搜索:搜索編輯器的顏色在搜索編輯器中突出顯示結果,可以與其他查找匹配項分開配置,以便更好的區分同一編輯器中不同匹配項類別
  • searchEditor.findMatchBackground:搜索結果背景色
  • searchEditor.findMatchBorder:搜索結果邊框色
  • searchEditor.textInputBorder:搜索結果文本輸入框邊框色
  • editor.hoverHighlightBackground:高亮顯示要懸停的單詞
  • editor.lineHighlightBackground:光標所在行背景顏色
  • editor.lineHighlightBorder:光標所在行邊框色
  • editorLink.activeForeground:ctrl鏈接hover顏色
    選擇搜索結果時,範圍高亮顯示可見
  • editor.rangeHighlightBackground:搜索匹配行背景顏色
  • editor.rangeHighlightBorder:搜搜匹配行的邊框色
  • editor.symbolHighlightBackground:突出顯示的符號的背景顏色
  • editor.symbolHighlightBorder:突出顯示的符號周圍的邊框的背景顏色
  • editorWhitespace.foreground:編輯器中空格字符的顏色
  • editorIndentGuide.background:編輯器縮進線顏色
  • editorIndentGuide.activeBackground:當前的編輯器縮進線顏色
  • editorRuler.foreground:編輯標尺的顏色
  • editorCodeLens.foreground:編輯器CodeLens的前景色
  • editorLightBulb.foreground:燈泡圖標顏色
  • editorLightBulbAutoFix.foreground:用於燈泡自動修復操作圖標的顏色
  • editorBracketMatch.background:匹配括號後面的前景色
  • editorBracketMatch.border:匹配括號框的顏色
  1. 拆頁
    • editor.foldBackground:摺疊範圍的背景色
  2. 概述標尺(位於編輯器右邊緣的滾動條下方,並提供編輯器中裝飾的概述)
    • editorOverviewRuler.border:概述標尺邊框的顏色
    • editorOverviewRuler.findMatchForeground:概述標尺標記顏色,用於查找匹配項
    • editorOverviewRuler.rangeHighlightForeground:概述標尺標記顏色,用於突出顯示的範圍
    • editorOverviewRuler.selectionHighlightForeground:概述標尺標記顏色,用於選擇突出顯示
    • editorOverviewRuler.wordHighlightForeground:符號突出顯示的概述標尺標記顏色
    • editorOverviewRuler.wordHighlightStrongForeground:概述標尺標記顏色,用於寫訪問符號突出顯示
    • editorOverviewRuler.modifiedForeground:已修改內容的概述標尺標記顏色
    • editorOverviewRuler.addedForeground:用於添加內容的概述標尺標記顏色
    • editorOverviewRuler.deletedForeground:已刪除內容的概述標尺標記顏色
    • editorOverviewRuler.errorForeground:概述標尺標記顏色是否有錯誤
    • editorOverviewRuler.warningForeground:警告的概述標尺標記顏色
    • editorOverviewRuler.infoForeground:信息的概述標尺標記顏色
    • editorOverviewRuler.bracketMatchForeground:用於匹配括號的概述標尺標記顏色
  3. 錯誤和警告
    • editorError.foreground:編輯器中錯誤曲線的前景色
    • editorError.border:編輯器中錯誤框的邊框顏色
    • editorWarning.foreground:編輯器中警告曲線的前景色
    • editorWarning.border:編輯器中警告框的邊框色
    • editorInfo.foreground:編輯器中信息曲線的前景色
    • editorInfo.border:編輯器中信息框的邊框色
    • editorHint.foreground:編輯器中提示的前景色
    • editorHint.border:編輯器中提示框的邊框色
    • problemsErrorIcon.foreground:用於問題錯誤圖標的顏色
    • problemsWarningIcon.foreground:用於問題警告圖標的顏色
    • problemsInfoIcon.foreground:用於問題信息圖標的顏色
  4. 未使用的源代碼
    • editorUnnecessaryCode.border:編輯器中不必要(未使用)的源代碼的邊框色
    • editorUnnecessaryCode.opacity:編輯器中不必要(未使用)的源代碼不透明
  5. 裝訂線包含字形邊距和行號
    • editorGutter.background:編輯器裝訂線的背景色,裝訂線包含字形邊距和行號
    • editorGutter.modifiedBackground:編輯器修改的線的裝訂線背景色
    • editorGutter.addedBackground:添加的行的編輯器裝訂線的背景色
    • editorGutter.deletedBackground:編輯器刪除的行的裝訂線背景色
    • editorGutter.commnt:編輯器裝訂線裝飾顏色,用於註釋範圍

差異編輯器顏色

  • diffEditor.insertedTextBackground:插入文本背景色
  • diffEditor.insertedTextBorder:插入文本邊框色
  • diffEditor.removedTextBackground:被刪除文本背景色
  • diffEditor.removedTextBorder:已刪除文本邊框色
  • diffEditor.border:兩個文本編輯器之間的邊框色

編輯器小部件顏色

  • editorWidget.foreground:查找部件文字色
  • editorWidget.background:查找部件背景色
  • editorWidget.border:查找部件邊框色
  • editorWidget.resizeBorder:查找部件調整大小欄邊框色
  • editorSuggestWidget.background:建議提示框背景色
  • editorSuggestWidget.border:建議提示框邊框色
  • editorSuggestWidget.foreground:建議提示框文字色
  • editorSuggestWidget.highlightForeground:建議提示框匹配內容文字顏色
  • editorSuggestWidget.selectedBackground:建議提示框所選條目背景色
  • editorHoverWidget.foreground:編輯器懸停提示框文字色
  • editorHoverWidget.background:編輯器懸停提示框背景色
  • editorHoverWidget.border:編輯器懸停提示框邊框色
  • editorHoverWidget.statusBarBackground:編輯器懸停狀態欄的背景色
  • debugExceptionWidget.background:例外小部件背景色
  • debugExceptionWidget.border:異常小部件邊框色
  • editorMarkerNavigation.background:編輯器標記導航小部件背景
  • editorMarkerNavigationError.background:編輯器標記導航小部件錯誤顏色
  • editorMarkerNavigationWarning.background:編輯器標記導航小部件警告顏色
  • editorMarkerNavigationInfo.background:編輯器標機導航小部件信息顏色

偷看顏色

  • peekView.border:視圖邊框和箭頭顏色
  • peekViewEditor.background:引用視圖編輯器背景色
  • peekViewEditorGutter.background:引用視圖編輯器中左側代碼行背景色
  • peekViewEditor.matchHighlightBackground:在窺視視圖編輯器中匹配突出顯示顏色
  • peekViewEditor.matchHighlightBorder:在窺視試圖編輯器中匹配突出顯示的邊框色
  • peekViewResult.background:引用視圖右側結果背景色
  • peekViewResult.fileForeground:窺視視圖結果列表中文件節點的文字色
  • peekViewResult.lineForeground:引用視圖結果劉表中行節點文字色
  • peekViewResult.matchHighlightBackground:匹配引用視圖結果列表中突出顯示顏色
  • peekViewResult.selectionBackground:引用視圖結果列表中所選條目背景色
  • peekViewResult.selectionForeground:引用視圖結果列表中所選條目文字色
  • peekViewTitle.backround:視圖標題背景色
  • peekViewTitleDescription.foreground:引用標題路徑文字色
  • peekViewTitleLabel.foreground:引用視圖標題當前文件名文字色

合併衝突

  • merge.currentHeaderBackground:內聯合並中的當前標題背景發生衝突,顏色不能透明
  • merge.currentContentBackground:內聯合並衝突中的當前內容背景,顏色不能透明
  • merge.incomingHeaderBackground:內聯合並衝突中傳入的標題背景,顏色不能透明
  • merge.incomingContentBackground:內聯合並衝突中傳入內容背景,顏色不能透明
  • merge.border:內聯合並中標頭和拆分器上的邊框顏色衝突
  • merge.commonContentBackground:內聯合並衝突中的共同祖先內容背景,顏色不能透明
  • merge.commonHeaderBackground:內聯合並衝突中的共同祖先標頭背景,顏色不能透明
  • editorOverviewRuler.currentContentForeground:內聯合並衝突的當前概述標尺文字色
  • editorOverviewRuler.incomingContentForeground:內聯合並衝突的傳入概述標誌文字色
  • editorOverviewRuler.commontContentForeground:內聯合並衝突的通用祖先概述標尺文字色

面板

  • panel.background:面板背景色
  • panel.border:面板邊框顏色
  • panel.dropBackground:拖放面板標題項的反饋顏色
  • panelTitle.activeBorder:活動面板標題的邊框
  • panelTitle.activeForeground:活動面板的標題
  • panelTitle.inactiveForeground:非活動面板的標題
  • panelInput.border:面板中用於輸入的輸入框邊框
  • imagePreview.border:圖像預覽中圖像的邊框顏色

狀態欄(底部)

  • menu.selectionBorder:菜單展開所選菜單項的邊框顏色
  • menu.separatorBackground:菜單展開分隔菜單項分割線顏色
  • statusBar.background:標準狀態欄背景色
  • statusBar.foreground:狀態欄文字顏色
  • status.border:狀態欄邊框顏色將狀態欄和編輯器分開
  • statusBar.debuggingBackground:調試程序時狀態欄背景顏色
  • statusBar.debuggingForeground:調試程序時狀態欄文字顏色
  • statusBar.debuggingBorder:調試程序時,狀態欄邊框顏色分隔狀態欄和編輯器
  • statusBar.noFolderForeground:未打開文件時狀態欄的文字顏色
  • statusBar.noFolderBackground:沒有打開文件時狀態欄的背景色
  • statusBar.noFolderBorder:沒有打開文件時,狀態欄邊框顏色將狀態欄和編輯器分開
  • statusBarItem.activeBackground:單擊時狀態欄項目的背景色
  • statusBarItem.hoverBackground:懸停時狀態欄項目的背景色
  • statusBarItem.prominentForeground:狀態欄突出顯示的項目文字顏色
  • statusBarItem.prominentBackground:狀態欄突出顯示的項目文字顏色
  • statusBarItem.prominentHoverBackground:懸停時狀態欄突出顯示的項目背景顏色
  • statusBarItem.remoteBackground:狀態欄上遠程指示器的背景顏色
  • statusBarItem.remoteForeground:狀態欄上遠程指示器的文字顏色

標題欄(上)

  • titleBar.activeBackground:上方工具欄背景顏色
  • titleBar.activeForeground:上方工具欄文字顏色
  • titleBar.inactiveBackground:vscode未被使用時的背景顏色
  • titleBar.inactiveForeground:vscode未被使用時的文字顏色
  • titleBar.border:上方工具欄下邊框

菜單欄(上)

  • menubar.selectionForeground:菜單欄中所選菜單項的前景色
  • menubar.selectionBackground:菜單欄中所選菜單項的背景色
  • menubar.selectionBorder:菜單欄中選中項的邊框色
  • menu.foreground:菜單展開文字顏色。
  • menu.background:菜單展開背景顏色。
  • menu.border:菜單展開邊框色
  • menu.selectionForeground:菜單展開所選菜單項的文字顏色
  • menu.selectionBackground:菜單展開所選菜單項的背景色

通知

  • notificationCenter.border:通知中心邊框顏色
  • notificationCenterHeader.foreground:通知中心標題文字色
  • notificationCenterHeader.background:通知中心標題背景色
  • notificationToast.border:通知橫幅邊框顏色
  • notifications.foreground:通知文字色
  • notifications.background:通知背景色
  • notifications.border:通知邊框色與通知中心中的其他通知分開
  • notificationsLink.foreground:通知鏈接文字色
  • notificationsErrorIcon.foreground:用於通知錯誤圖標的顏色
  • notificationsWarningIcon.foreground:用於通知警告圖標的顏色
  • notificationsInfoIcon.foreground:用於通知信息圖標的顏色

擴展名

  • extensionButton.prominentForeground:擴展視圖按鈕文字色
  • extensionButton.prominentBackground:擴展視圖按鈕背景色
  • extensionButton.prominentHoverBackground:擴展視圖按鈕懸停背景色
  • extensionBadge.remoteBackground:擴展視圖中遠程徽章的背景色
  • extensionBadge.remoteForeground:擴展視圖中遠程徽章的文字色

快速選擇器

  • pickerGroup.border:快速選擇器(快速打開)顏色,用於對邊框進行分組
  • pickerGroup.foreground:快速選擇器(快速打開)顏色,用於對標籤進行分組
  • quickInput.background:快速輸入背景色,快速輸入小部件是諸如顏色主題選擇器之類的視圖的容器
  • quickInput.foreground:快速輸入文字色,快速輸入小部件是諸如顏色主題選擇器之類的視圖的容器
  • quickInputTitle.background:快速選擇器標題背景色,快速選擇器小部件是諸如‘命令’面板之類的選擇器的容器

集成端子顏色

  • terminal.background:集成終端視口的背景
  • terminal.border:分隔終端內分割窗格的邊框色。默認爲panel.border
  • terminal.foreground:集成終端的默認文字色
  • terminal.ansiBlack:終端中的黑色ANSI顏色
  • terminal.ansiblue:終端中的綠色ANSI顏色
  • terminal.ansiBrightBlack:終端中的BrightBlack的ANSI顏色
  • terminal.ansiBrightBlue:終端中的BrightBlue的ANSI顏色
  • terminal.ansiBrightCyan:終端中的BrightCyan的ANSI顏色
  • terminal.ansiBrightGreen:終端中的BrightGreen的ANSI顏色
  • terminal.ansiBrightMagenta:終端中的BrightMagenta的ANSI顏色
  • terminal.ansiBrightRed:終端中的BrightRed的ANSI顏色
  • terminal.ansiBrightWhite:終端中的BrightWhite的ANSI顏色
  • terminal.ansiBrightYellow:終端中的BrightYellow的ANSI顏色
  • terminal.ansiCyan:終端中的青色ANSI顏色
  • terminal.ansiGreen:終端中的綠色ANSI顏色
  • terminal.ansiMagenta:終端中的洋紅色ANSI顏色
  • terminal.ansiRed:終端中的紅色ANSI顏色
  • terminal.ansiWhite:終端中的白色ANSI顏色
  • terminal.ansiYellow:終端中的黃色ANSI顏色
  • terminal.selectionBackground:終端的選擇背景色
  • terminalCursor.background:終端光標的背景色
  • terminalCursor.foreground:終端光標的前景色

除錯

  • debugTollBar.background:調試工具欄背景色
  • debugToolbar.border:調試工具欄邊框色
  • editor.stackFrameHighlightBackground:頂部堆棧框架的背景色在編輯器中突出顯示
  • editor.focusedStackFrameHighlightBackground:聚焦的堆棧框背景色在編輯器中突出顯示

歡迎頁面

  • welcomePage.background:歡迎頁面的背景顏色
  • welcomePage.buttonBackground:歡迎頁面上按鈕的背景色
  • welcomePage.buttonHoverBackground:將歡迎頁面上按鈕 的背景顏色懸停
  • walkThrugh.embeddedEditorBackground:interactive Playground中嵌入式編輯器的背景色

git

  • gitDecoration.addedResourceForeground:添加的git資源的顏色,用於文件標籤和SCM視圖
  • gitDecoration.modifiedResourceForeground:修改degit資源的顏色
  • gitDecoration.deletedResourceForeground:刪除的git資源的顏色
  • gitDecoration.untrackedResourceForeground:未跟蹤的git資源的顏色
  • gitDecoration.ignoredResourceForeground:忽略的git資源的顏色
  • gitDecoration.conflictingResourceForeground:衝突的git資源的顏色
  • gitDecoration.submoduleResourceForeground:子模塊資源的顏色

設置編輯器顏色

  • settings.headerForeground:節標題或活動標題的前景色
  • settings.modifiedItemIndicator:表示修改設置的行
  • settings.dropdownBackground:下拉背景
  • settings.dropdownForeground:下來菜單背景
  • settings.dropdownBorder:下拉邊框
  • settings.dropdownListBorder:下拉列表邊框
  • settings.checkboxBackground:複選框背景
  • settings.checkboxForeground:複選框前景
  • settings.checkboxBorder:複選框邊框
  • settings.textInputBackground:文本輸入框背景
  • settings.textInputForeground:文本輸入框前景
  • settings.textInputBorder:文本輸入框邊框
  • settings.numberInputBackground:數字輸入框背景
  • settings.numberInputForeground:數字輸入框前景
  • settings.numberInputBorder:數字輸入框邊框

麪包屑

  • breadcrumb.foreground:麪包屑項目的顏色
  • breadcrumb.background:麪包屑項目的背景色
  • breadcrumb.focusForeground:終點麪包屑項目的顏色
  • breadcrumb.activeSelectionForeground:所選麪包屑項目的顏色
  • breadcrumbPicker.background:麪包屑項目選取器的背景色

片段

  • editor.snippetTabstopHighlightBackground:代碼片段製表符背景色
  • editor.snippetTabstopHighlightBorder:代碼片段光標所在位邊框色
  • editor.snippetFinalTabstopHighlightBackground:代碼片段最後製表符背景色
  • editor.snippetFinalTabstopHighlightBorder:代碼片段最後製表符邊框色

符號圖標

出現在’大綱’視圖,麪包屑導航和’建議’小部件中的符號圖標的主題顏色

  • symbolIcon.arrayForeground:數組符號的前景色
  • symbolIcon.booleanForeground:布爾符號的前景色
  • symbolIcon.classForeground:類符號的前景色
  • symbolIcon.colorForeground:顏色符號的前景色
  • symbolIcon.constantForeground:常量符號的前景色
  • symbolIcon.constructorForeground:構造函數符號的前景色
  • symbolIcon.enumeratorForerground:枚舉器符號的前景色
  • symbolIcon.enumeratorMemberForeground:枚舉成員符號的前景色
  • symbolIcon.eventForeground:事件符號的前景色
  • symbolIcon.fieldForeground:字段符號的前景色
  • symbolIcon.fileForeground:文件符合的前景色
  • symbolIcon.folderForeground:文件夾符號的前景色
  • symbolIcon.functionForeground:功能符號的前景色
  • symbolIcon.interfaceForeground:接口符號的前景色
  • symbolIcon.keyForeground:關鍵符號的前景色
  • symbolIcon.keywordForeground:關鍵字符號的前景色
  • symbolIcon.methodForeground:方法符號的前景色
  • symbolIcon.moduleForeground:模塊符號的前景色
  • symbolIcon.namespaceForeground:名稱空間符號的前景色
  • symbolIcon.nullForeground:空符號的前景色
  • symbolIcon.numberForeground:數字符號的前景色
  • symbolIcon.objectForeground:對象符號的前景色
  • symbolIcon.operatorForeground:運算符符號的前景色
  • symbolIcon.packageForeground:軟件包符號的前景色
  • symbolIcon.propertyForeground:屬性符號的前景色
  • symbolIcon.referenceForeground:參考符號的前景色
  • symbolIcon.snippetForeground:代碼段符號的前景色
  • symbolIcon.stringForeground:字符串符號的前景色
  • symbolIcon.structForeground:結構符號的前景色
  • symbolIcon.textForeground:文本符號的前景色
  • symbolIcon.typeParameterForeground:類型參數符號的前景色
  • symbolIcon.unitForeground:單位符號的前景色
  • symbolIcon.variableForeground:可變符號的前景色

調試圖標

  • debugIcon.breakpointForeground:斷點的圖標顏色
  • debugIcon.breakpointDisabledForeground:禁用的斷點的圖標顏色
  • debugIcon.breakpointUnverifiedForeground:未驗證斷點的圖標顏色
  • debugIcon.breakpointCurrentStackframeForeground:當前斷點堆棧框架的圖標顏色
  • debugIcon.breakpointStackframeForeground:所有斷點堆棧框架的圖標顏色
  • debugIcon.startForeground:用於啓動調試的調試工具欄圖標
  • debugIcon.pauseForeground:調試工具欄圖標以暫停
  • debugIcon.stopForeground:調試工具欄圖標以停止
  • debugIcon.disconnectForeground:同於斷開連接的調試工具欄圖標
  • debugIcon.restartForeground:調試工具欄圖標以重新啓動
  • debugIcon.stepOverForeground:調試工具欄圖標以跳過
  • debugIcon.stepIntoForeground:調試工具欄圖標以進入
  • debugIcon.stepOutForeground:調試工具欄圖標以跳過
  • debugIcon.contibueForeground:調試工具欄圖標以繼續
  • debugIcon.stepBackForeground:調試工具欄圖標以後退

官方配置項文檔鏈接:https://code.visualstudio.com/api/references/theme-color
官方文檔中所說的前景色,實際上就是指文字顏色!

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章