diff --git a/build/lib/stylelint/vscode-known-variables.json b/build/lib/stylelint/vscode-known-variables.json index 5cd4080115f1..4f51e7bbc0e1 100644 --- a/build/lib/stylelint/vscode-known-variables.json +++ b/build/lib/stylelint/vscode-known-variables.json @@ -618,6 +618,9 @@ "--vscode-positronActionBar-textInputSelectionBackground", "--vscode-positronActionBar-textInputSelectionForeground", "--vscode-positronActionBar-toggleButtonHighlightedBorder", + "--vscode-positronCheckbox-background", + "--vscode-positronCheckbox-border", + "--vscode-positronCheckbox-foreground", "--vscode-positronConsole-ansiBlack", "--vscode-positronConsole-ansiBlue", "--vscode-positronConsole-ansiBrightBlack", @@ -693,9 +696,6 @@ "--vscode-positronModalDialog-buttonDisabledForeground", "--vscode-positronModalDialog-buttonForeground", "--vscode-positronModalDialog-buttonHoverBackground", - "--vscode-positronModalDialog-checkboxBackground", - "--vscode-positronModalDialog-checkboxBorder", - "--vscode-positronModalDialog-checkboxForeground", "--vscode-positronModalDialog-contrastBackground", "--vscode-positronModalDialog-defaultButtonBackground", "--vscode-positronModalDialog-defaultButtonForeground", diff --git a/src/vs/base/browser/ui/positronComponents/checkbox/checkbox.css b/src/vs/base/browser/ui/positronComponents/checkbox/checkbox.css index 041d120b6f93..0994452b4ad1 100644 --- a/src/vs/base/browser/ui/positronComponents/checkbox/checkbox.css +++ b/src/vs/base/browser/ui/positronComponents/checkbox/checkbox.css @@ -1,5 +1,5 @@ /*--------------------------------------------------------------------------------------------- - * Copyright (C) 2022 Posit Software, PBC. All rights reserved. + * Copyright (C) 2022-2026 Posit Software, PBC. All rights reserved. * Licensed under the Elastic License 2.0. See LICENSE.txt for license information. *--------------------------------------------------------------------------------------------*/ @@ -20,9 +20,9 @@ border-radius: 3px; align-items: center; justify-content: center; - color: var(--vscode-positronModalDialog-checkboxForeground); - background: var(--vscode-positronModalDialog-checkboxBackground); - border: 1px solid var(--vscode-positronModalDialog-checkboxBorder); + color: var(--vscode-positronCheckbox-foreground); + background: var(--vscode-positronCheckbox-background); + border: 1px solid var(--vscode-positronCheckbox-border); } .positron-dynamic-modal-dialog-box .checkbox-input[type="checkbox"]:focus { diff --git a/src/vs/workbench/browser/positronComponents/positronModalDialog/components/checkbox.css b/src/vs/workbench/browser/positronComponents/positronModalDialog/components/checkbox.css index 7087143ecba7..9f7cacada9d5 100644 --- a/src/vs/workbench/browser/positronComponents/positronModalDialog/components/checkbox.css +++ b/src/vs/workbench/browser/positronComponents/positronModalDialog/components/checkbox.css @@ -18,8 +18,8 @@ border-radius: 3px; justify-content: center; color: var(--vscode-positronModalDialog-buttonForeground); - background: var(--vscode-positronModalDialog-checkboxBackground); - border: 1px solid var(--vscode-positronModalDialog-checkboxBorder); + background: var(--vscode-positronCheckbox-background); + border: 1px solid var(--vscode-positronCheckbox-border); } .positron-modal-dialog-box .checkbox-button:focus { @@ -34,5 +34,5 @@ .positron-modal-dialog-box .checkbox-button .codicon[class*="codicon-"] { font-size: 12px; font-weight: bold; - color: var(--vscode-positronModalDialog-checkboxForeground); + color: var(--vscode-positronCheckbox-foreground); } diff --git a/src/vs/workbench/common/theme.ts b/src/vs/workbench/common/theme.ts index ffbff88fe9b9..66ebd89cdb69 100644 --- a/src/vs/workbench/common/theme.ts +++ b/src/vs/workbench/common/theme.ts @@ -1288,32 +1288,6 @@ export const POSITRON_MODAL_DIALOG_TEXT_INPUT_SELECTION_BACKGROUND = registerCol hcLight: '#007acc' }, localize('positronModalDialog.textInputSelectionBackground', "Positron modal dialog text input selection background color.")); -// < --- Positron Modal Dialog Checkbox --- > - -// Positron modal dialog checkbox background color. -export const POSITRON_MODAL_DIALOG_CHECKBOX_BACKGROUND = registerColor('positronModalDialog.checkboxBackground', { - dark: '#292f32', - light: '#ffffff', - hcDark: checkboxBackground, - hcLight: checkboxBackground -}, localize('positronModalDialog.checkboxBackground', "Positron modal dialog checkbox background color.")); - -// Positron modal dialog checkbox foreground color. -export const POSITRON_MODAL_DIALOG_CHECKBOX_FOREGROUND = registerColor('positronModalDialog.checkboxForeground', { - dark: foreground, - light: '#000000', - hcDark: checkboxForeground, - hcLight: checkboxForeground -}, localize('positronModalDialog.checkboxForeground', "Positron modal dialog checkbox foreground.")); - -// Positron modal dialog checkbox border color. -export const POSITRON_MODAL_DIALOG_CHECKBOX_BORDER = registerColor('positronModalDialog.checkboxBorder', { - dark: '#292f32', - light: '#a6a6a6', - hcDark: checkboxBorder, - hcLight: checkboxBorder -}, localize('positronModalDialog.checkboxBorder', "Positron modal dialog checkbox border.")); - // < --- Positron Modal Dialog Radio Button --- > // Positron modal dialog radio button background color. @@ -1488,6 +1462,32 @@ export const POSITRON_DROP_DOWN_SEPARATOR_BACKGROUND = registerColor('positronDr hcLight: menuBorder }, localize('positronDropDownListBox.separatorBackground', "Positron drop down list box separator background color.")); +// < --- Positron Base Checkbox --- > + +// Positron base checkbox background color. +export const POSITRON_CHECKBOX_BACKGROUND = registerColor('positronCheckbox.background', { + dark: '#292f32', + light: '#ffffff', + hcDark: checkboxBackground, + hcLight: checkboxBackground +}, localize('positronCheckbox.background', "Positron base checkbox background color.")); + +// Positron base checkbox foreground color. +export const POSITRON_CHECKBOX_FOREGROUND = registerColor('positronCheckbox.foreground', { + dark: foreground, + light: '#000000', + hcDark: checkboxForeground, + hcLight: checkboxForeground +}, localize('positronCheckbox.foreground', "Positron base checkbox foreground color.")); + +// Positron base checkbox border color. +export const POSITRON_CHECKBOX_BORDER = registerColor('positronCheckbox.border', { + dark: '#292f32', + light: '#a6a6a6', + hcDark: checkboxBorder, + hcLight: checkboxBorder +}, localize('positronCheckbox.border', "Positron base checkbox border color.")); + // < --- Positron Console --- > // Positron console background color.