Browse Source

Updates alert neutral color properties

main
Keith Daulton 2 years ago
parent
commit
9df47babb3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/webviews/apps/shared/theme.ts

+ 1
- 1
src/webviews/apps/shared/theme.ts View File

@ -121,7 +121,7 @@ export function initializeAndWatchThemeColors(callback?: () => void) {
isLightTheme ? darken(color, 5) : lighten(color, 5),
);
bodyStyle.setProperty('--color-alert-errorBackground', color);
color = computedStyle.getPropertyValue('--vscode-input-background').trim();
color = isLightTheme ? darken(backgroundColor, 5) : lighten(backgroundColor, 5);
bodyStyle.setProperty(
'--color-alert-neutralHoverBackground',
isLightTheme ? darken(color, 5) : lighten(color, 5),

Loading…
Cancel
Save