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

Commit 5f3969b

Browse files
committed
Tweak to work with background color change introduced in uswds/uswds#4199
1 parent 4de7447 commit 5f3969b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/web/src/browser/views/components/ValidatorPage.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,10 @@ export const ValidatorPage = () => {
122122
</div>
123123
<div className="usa-radio">
124124
{schematron.filterOptions.roles.map((filterRole, index) => (
125-
<div key={index}>
125+
<div
126+
key={index}
127+
className={`bg-${colorTokenForRole(filterRole)}-lighter`}
128+
>
126129
<input
127130
className="usa-radio__input usa-radio__input--tile"
128131
id={`role-${filterRole}`}
@@ -135,9 +138,7 @@ export const ValidatorPage = () => {
135138
}
136139
/>
137140
<label
138-
className={`usa-radio__label bg-${colorTokenForRole(
139-
filterRole,
140-
)}-lighter`}
141+
className="usa-radio__label"
141142
htmlFor={`role-${filterRole}`}
142143
>
143144
<svg

0 commit comments

Comments
 (0)