Skip to content

Commit 1516c2b

Browse files
authored
Merge pull request microsoft#174961 from microsoft/ddossett/domestic-horse
Update profiles badge styling
2 parents 1176c62 + 083f695 commit 1516c2b

File tree

2 files changed

+21
-5
lines changed

2 files changed

+21
-5
lines changed

src/vs/workbench/browser/parts/activitybar/media/activityaction.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -179,11 +179,11 @@
179179
line-height: 10px;
180180
top: 24px;
181181
right: 6px;
182-
padding: 2px;
183-
border-radius: 4px;
184-
background-color: var(--vscode-activityBar-background);
185-
color: var(--vscode-activityBar-inactiveForeground);
186-
border: 1px solid;
182+
padding: 2px 3px;
183+
border-radius: 7px;
184+
background-color: var(--vscode-profileBadge-background);
185+
color: var(--vscode-profileBadge-foreground);
186+
border: 2px solid var(--vscode-activityBar-background);
187187
}
188188

189189
.monaco-workbench .activitybar > .content :not(.monaco-menu) > .monaco-action-bar .action-item:active .profile-badge-content,

src/vs/workbench/common/theme.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -625,6 +625,22 @@ export const ACTIVITY_BAR_BADGE_FOREGROUND = registerColor('activityBarBadge.for
625625
hcLight: Color.white
626626
}, localize('activityBarBadgeForeground', "Activity notification badge foreground color. The activity bar is showing on the far left or right and allows to switch between views of the side bar."));
627627

628+
// < --- Profiles --- >
629+
630+
export const PROFILE_BADGE_BACKGROUND = registerColor('profileBadge.background', {
631+
dark: '#4D4D4D',
632+
light: '#C4C4C4',
633+
hcDark: Color.white,
634+
hcLight: Color.black
635+
}, localize('profileBadgeBackground', "Profile badge background color. The profile badge shows on top of the settings gear icon in the activity bar."));
636+
637+
export const PROFILE_BADGE_FOREGROUND = registerColor('profileBadge.foreground', {
638+
dark: Color.white,
639+
light: '#333333',
640+
hcDark: Color.black,
641+
hcLight: Color.white
642+
}, localize('profileBadgeForeground', "Profile badge foreground color. The profile badge shows on top of the settings gear icon in the activity bar."));
643+
628644
// < --- Remote --- >
629645

630646
export const STATUS_BAR_HOST_NAME_BACKGROUND = registerColor('statusBarItem.remoteBackground', {

0 commit comments

Comments
 (0)