mirror of
https://github.com/Microsoft/vscode
synced 2024-10-30 08:06:04 +00:00
Update color name for 'notebook.inactiveFocusCellBorder' (refs #114219)
This commit is contained in:
parent
660d6b82f8
commit
d045bc6ed1
1 changed files with 4 additions and 4 deletions
|
@ -2148,11 +2148,11 @@ export const focusedCellBorder = registerColor('notebook.focusedCellBorder', {
|
|||
hc: focusBorder
|
||||
}, nls.localize('notebook.focusedCellBorder', "The color of the cell's top and bottom border when the cell is focused."));
|
||||
|
||||
export const inactiveFocus = registerColor('notebook.inactiveFocus', {
|
||||
export const inactiveFocusCellBorder = registerColor('notebook.inactiveFocusCellBorder', {
|
||||
dark: notebookCellBorder,
|
||||
light: notebookCellBorder,
|
||||
hc: notebookCellBorder
|
||||
}, nls.localize('notebook.inactiveFocus', "The color of the cell's top and bottom border when a cell is focused while the primary focus is outside of the editor."));
|
||||
}, nls.localize('notebook.inactiveFocusCellBorder', "The color of the cell's top and bottom border when a cell is focused while the primary focus is outside of the editor."));
|
||||
|
||||
export const cellStatusBarItemHover = registerColor('notebook.cellStatusBarItemHoverBackground', {
|
||||
light: new Color(new RGBA(0, 0, 0, 0.08)),
|
||||
|
@ -2285,13 +2285,13 @@ registerThemingParticipant((theme, collector) => {
|
|||
border-color: ${focusedCellBorderColor} !important;
|
||||
}`);
|
||||
|
||||
const inactiveFocusedColor = theme.getColor(inactiveFocus);
|
||||
const inactiveFocusBorderColor = theme.getColor(inactiveFocusCellBorder);
|
||||
collector.addRule(`
|
||||
.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.focused .cell-focus-indicator-top:before,
|
||||
.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.focused .cell-focus-indicator-bottom:before,
|
||||
.monaco-workbench .notebookOverlay .monaco-list .markdown-cell-row.focused .cell-inner-container:not(.cell-editor-focus):before,
|
||||
.monaco-workbench .notebookOverlay .monaco-list .markdown-cell-row.focused .cell-inner-container:not(.cell-editor-focus):after {
|
||||
border-color: ${inactiveFocusedColor} !important;
|
||||
border-color: ${inactiveFocusBorderColor} !important;
|
||||
}`);
|
||||
|
||||
const selectedCellBorderColor = theme.getColor(selectedCellBorder);
|
||||
|
|
Loading…
Reference in a new issue