Skip to content

Commit

Permalink
Update banner color scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
anselmbradford committed Aug 8, 2024
1 parent b695342 commit 440ab7e
Showing 1 changed file with 19 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
// Global banner in the header.
//

$banner-dark-background: var(--teal-dark);
$banner-dark-foreground: var(--white);

.o-banner {
padding: math.div(math.div($grid-gutter-width, 2), $base-font-size-px) + em 0;
background: var(--gold-10);
Expand All @@ -26,26 +29,26 @@
}

&--dark {
background: var(--teal-mid-dark);
border-color: var(--teal-mid-dark);
color: var(--white);

a {
// Colors for :link, :visited, :hover, :focus, :active.
@include u-link-colors(
var(--white),
var(--white),
var(--gray-15),
var(--white),
var(--gray-15)
);
}
background: $banner-dark-background;
border-color: $banner-dark-background;
color: $banner-dark-foreground;

.m-notification {
background: var(--teal-mid-dark);
background: $banner-dark-background;

.cf-icon-svg {
fill: var(--white);
fill: $banner-dark-foreground;
}

a {
// Colors for :link, :visited, :hover, :focus, :active.
@include u-link-colors(
$banner-dark-foreground,
var(--teal-40),
var(--gray-15),
var(--white),
var(--gray-15)
);
}
}
}
Expand Down

0 comments on commit 440ab7e

Please sign in to comment.