Skip to content

Commit

Permalink
Use --banner-background for banners
Browse files Browse the repository at this point in the history
  • Loading branch information
mstrasinskis committed Dec 23, 2024
1 parent c74b514 commit d6d38ed
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
.banner {
display: flex;
align-items: center;
background: var(--input-background);
background-color: var(--banner-background);
border-radius: var(--border-radius);
padding: var(--padding) var(--padding-1_5x);
gap: var(--padding-1_5x);
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/lib/components/ui/Banner.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@
padding: var(--padding-2x);
border-radius: var(--border-radius);
background: var(--input-background);
background-color: var(--banner-background);
}
.banner.isCritical {
background: var(--tooltip-background);
background-color: var(--tooltip-background);
.title {
color: var(--tooltip-text-color);
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/lib/components/ui/UsdValueBanner.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
align-items: center;
gap: var(--padding-2x);
background-color: var(--card-background-tint);
background-color: var(--banner-background);
padding: var(--padding-2x);
border-radius: var(--padding);
border: 1.5px solid var(--card-border);
Expand Down

0 comments on commit d6d38ed

Please sign in to comment.