Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

Commit

Permalink
Tweak to work with background color change introduced in uswds/uswds#…
Browse files Browse the repository at this point in the history
  • Loading branch information
danielnaab committed Aug 17, 2021
1 parent 4de7447 commit 5f3969b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/web/src/browser/views/components/ValidatorPage.tsx
Expand Up @@ -122,7 +122,10 @@ export const ValidatorPage = () => {
</div>
<div className="usa-radio">
{schematron.filterOptions.roles.map((filterRole, index) => (
<div key={index}>
<div
key={index}
className={`bg-${colorTokenForRole(filterRole)}-lighter`}
>
<input
className="usa-radio__input usa-radio__input--tile"
id={`role-${filterRole}`}
Expand All @@ -135,9 +138,7 @@ export const ValidatorPage = () => {
}
/>
<label
className={`usa-radio__label bg-${colorTokenForRole(
filterRole,
)}-lighter`}
className="usa-radio__label"
htmlFor={`role-${filterRole}`}
>
<svg
Expand Down

0 comments on commit 5f3969b

Please sign in to comment.