Skip to content
This repository has been archived by the owner on Nov 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1259 from elichad/fix-nav-color-contrast
Browse files Browse the repository at this point in the history
Fix contrast issues in navigation
  • Loading branch information
tobyhodges authored Oct 20, 2023
2 parents 1fddd09 + 03a56f6 commit accd53c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
9 changes: 5 additions & 4 deletions _sass/_01_settings_colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,10 @@ $topbar-bg-color: #fff;
$topbar-dropdown-toggle-color: $swc-blue;

$topbar-link-color: #000;
$topbar-link-color-hover: #000;
$topbar-link-color-active: #000;
$topbar-link-color-active-hover: #000;
$topbar-link-color-hover: #fff;
$topbar-link-color-active: #fff;
$topbar-link-color-active-hover: #fff;
$topbar-expanded-link-color: #fff;

$topbar-dropdown-label-color: $swc-blue-light;
$topbar-dropdown-link-bg-hover: $swc-blue-med;
Expand All @@ -94,7 +95,7 @@ $topbar-link-bg-hover: $swc-blue-med;
$topbar-link-bg-active-hover: $swc-blue-light;

$topbar-dropdown-bg: $swc-blue-med; // Background Mobile Navigation
$topbar-dropdown-link-color: #000;
$topbar-dropdown-link-color: #fff;
$topbar-dropdown-link-bg: $swc-blue-light;

$topbar-menu-link-color-toggled: $swc-blue;
Expand Down
6 changes: 5 additions & 1 deletion _sass/foundation-components/_top-bar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,10 @@ $topbar-dropdown-arrows: true !default; //Set false to remove the \00bb >> text
}
}
}

.top-bar-section li > a {
color: $topbar-expanded-link-color;
}
}
}

Expand Down Expand Up @@ -426,7 +430,7 @@ $topbar-dropdown-arrows: true !default; //Set false to remove the \00bb >> text
margin-top: 0;
font-size: $topbar-back-link-size;
a {
color: $topbar-link-color;
color: $topbar-expanded-link-color;
// line-height: ($topbar-height / 2);
display: block;
&:hover { background:none; }
Expand Down

0 comments on commit accd53c

Please sign in to comment.