Skip to content

Commit

Permalink
Use proposed upstream fix for hamburger menu link color
Browse files Browse the repository at this point in the history
  • Loading branch information
lpsinger committed Dec 21, 2023
1 parent 2bad72b commit 2aa0ff9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 26 deletions.
21 changes: 0 additions & 21 deletions app/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -386,27 +386,6 @@ input.react-tags__combobox-input:focus {
margin-bottom: 0;
}

/*
* Override user nav text colors to add contrast when not desktop
* FIXME: remove once https://github.com/bruffridge/nasawds/issues/10 is fixed
*/
.usa-nav__primary a:not(.usa-button):not(.usa-current):not(.active) {
@media (max-width: 63.99em) {
color: white;
}
}
.usa-nav__primary a:not(.usa-button):not(.usa-current):hover {
@media (max-width: 63.99em) {
color: #0050d8;
}
}

ul#user {
@media (max-width: 63.99em) {
background-color: #1b1b1b;
}
}

/*
* Workaround for https://github.com/uswds/uswds/pull/5418
*/
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
"jest-environment-jsdom": "^29.7.0",
"jest-transform-stub": "^2.0.0",
"lint-staged": "^15.2.0",
"nasawds": "^4.0.1",
"nasawds": "github:lpsinger/nasawds#fix-usa-nav-dark-hamburger-link-color",
"npm-run-all": "^4.1.5",
"oidc-provider": "^8.4.3",
"postcss-csso": "^6.0.1",
Expand Down

0 comments on commit 2aa0ff9

Please sign in to comment.