Browse Source

Adds primary button style to home header

main
Eric Amodio 2 years ago
parent
commit
34a847a06f
1 changed files with 12 additions and 2 deletions
  1. +12
    -2
      src/webviews/apps/home/components/header-card.ts

+ 12
- 2
src/webviews/apps/home/components/header-card.ts View File

@ -199,8 +199,8 @@ const styles = css`
.actions {
position: absolute;
right: 1rem;
top: 0.8rem;
right: 0.1rem;
top: 0.1rem;
}
.action {
@ -209,6 +209,16 @@ const styles = css`
border-radius: 0.3rem;
color: var(--color-foreground--75);
}
:host-context(.vscode-high-contrast) .action.is-primary,
:host-context(.vscode-dark) .action.is-primary {
border: 1px solid var(--color-background--lighten-15);
}
:host-context(.vscode-high-contrast-light) .action.is-primary,
:host-context(.vscode-light) .action.is-primary {
border: 1px solid var(--color-background--darken-15);
}
.action.is-icon {
display: inline-flex;
justify-content: center;

Loading…
Cancel
Save