mirror of
https://github.com/Microsoft/vscode
synced 2024-09-29 07:51:27 +00:00
custom color theme for action list widget (#223245)
* action list colors * mvoe to listColors * dont change imports * remove whitespace
This commit is contained in:
parent
f8a969b1ff
commit
fe018d2f04
|
@ -255,6 +255,10 @@
|
|||
"--vscode-editorLightBulb-foreground",
|
||||
"--vscode-editorLightBulbAi-foreground",
|
||||
"--vscode-editorLightBulbAutoFix-foreground",
|
||||
"--vscode-editorActionList-background",
|
||||
"--vscode-editorActionList-foreground",
|
||||
"--vscode-editorActionList-focusForeground",
|
||||
"--vscode-editorActionList-focusBackground",
|
||||
"--vscode-editorLineNumber-activeForeground",
|
||||
"--vscode-editorLineNumber-dimmedForeground",
|
||||
"--vscode-editorLineNumber-foreground",
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
width: 100%;
|
||||
border: 1px solid var(--vscode-editorWidget-border) !important;
|
||||
border-radius: 2px;
|
||||
background-color: var(--vscode-editorWidget-background);
|
||||
color: var(--vscode-editorWidget-foreground);
|
||||
background-color: var(--vscode-editorActionList-background);
|
||||
color: var(--vscode-editorActionList-foreground);
|
||||
}
|
||||
|
||||
.context-view-block {
|
||||
|
@ -62,8 +62,8 @@
|
|||
}
|
||||
|
||||
.action-widget .monaco-list .monaco-list-row.action.focused:not(.option-disabled) {
|
||||
background-color: var(--vscode-quickInputList-focusBackground) !important;
|
||||
color: var(--vscode-quickInputList-focusForeground);
|
||||
background-color: var(--vscode-editorActionList-focusBackground) !important;
|
||||
color: var(--vscode-editorActionList-focusForeground);
|
||||
outline: 1px solid var(--vscode-menu-selectionBorder, transparent);
|
||||
outline-offset: -1px;
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@ import { registerColor, darken, lighten, transparent, ifDefinedThenElse } from '
|
|||
|
||||
// Import the colors we need
|
||||
import { foreground, contrastBorder, activeContrastBorder, focusBorder, iconForeground } from 'vs/platform/theme/common/colors/baseColors';
|
||||
import { editorWidgetBackground, editorFindMatchHighlightBorder, editorFindMatchHighlight, widgetShadow } from 'vs/platform/theme/common/colors/editorColors';
|
||||
import { editorWidgetBackground, editorFindMatchHighlightBorder, editorFindMatchHighlight, widgetShadow, editorWidgetForeground } from 'vs/platform/theme/common/colors/editorColors';
|
||||
|
||||
|
||||
export const listFocusBackground = registerColor('list.focusBackground',
|
||||
|
@ -145,3 +145,21 @@ export const tableColumnsBorder = registerColor('tree.tableColumnsBorder',
|
|||
export const tableOddRowsBackgroundColor = registerColor('tree.tableOddRowsBackground',
|
||||
{ dark: transparent(foreground, 0.04), light: transparent(foreground, 0.04), hcDark: null, hcLight: null },
|
||||
nls.localize('tableOddRowsBackgroundColor', "Background color for odd table rows."));
|
||||
|
||||
// ------ action list
|
||||
|
||||
export const editorActionListBackground = registerColor('editorActionList.background',
|
||||
editorWidgetBackground,
|
||||
nls.localize('editorActionListBackground', "Action List background color."));
|
||||
|
||||
export const editorActionListForeground = registerColor('editorActionList.foreground',
|
||||
editorWidgetForeground,
|
||||
nls.localize('editorActionListForeground', "Action List foreground color."));
|
||||
|
||||
export const editorActionListFocusForeground = registerColor('editorActionList.focusForeground',
|
||||
listActiveSelectionForeground,
|
||||
nls.localize('editorActionListFocusForeground', "Action List foreground color for the focused item."));
|
||||
|
||||
export const editorActionListFocusBackground = registerColor('editorActionList.focusBackground',
|
||||
listActiveSelectionBackground,
|
||||
nls.localize('editorActionListFocusBackground', "Action List background color for the focused item."));
|
||||
|
|
Loading…
Reference in a new issue