@@ -28,15 +28,15 @@ export function ViolationRow(props: ViolationRowProps) {
2828 return (
2929 < li
3030 id = { ruleCardId ( props . route , v ( ) . ruleId ) }
31- class = "relative bg-secondary border border-base border-l-3 border-l-[color:var(--impact)] rounded-md overflow-hidden transition hover:shadow-md"
31+ class = "relative bg-secondary border border-base border-l-3 border-l-[color:var(--impact)] overflow-hidden transition hover:shadow-md"
3232 classList = { { 'bg-[color-mix(in_srgb,var(--impact)_8%,transparent)]! border-[color:var(--impact)]/60' : props . selected } }
3333 style = { { '--impact' : IMPACT_COLOR [ v ( ) . impact ] } }
3434 onMouseLeave = { ( ) => props . channel . clearPreview ( ) }
3535 >
3636 < div class = "flex items-stretch" >
3737 < input
3838 type = "checkbox"
39- class = "shrink-0 self-center size-[15px] ml-3 accent-primary-500 cursor-pointer outline-none focus-visible:ring-2 focus-visible:ring-primary-500/40"
39+ class = "shrink-0 self-center size-[15px] ml-3 accent-[var(--impact)] cursor-pointer outline-none focus-visible:ring-2 focus-visible:ring-primary-500/40"
4040 checked = { props . selected }
4141 aria-label = { `Select ${ v ( ) . ruleId } to highlight and add to fix prompts` }
4242 onChange = { ( ) => props . onToggleSelect ( ) }
@@ -53,7 +53,7 @@ export function ViolationRow(props: ViolationRowProps) {
5353 onBlur = { ( ) => props . channel . clearPreview ( ) }
5454 >
5555 < span class = "flex items-center gap-1.5" >
56- < span class = "text-[9px] font-bold tracking-wide uppercase text-[color: var(--impact)]" > { IMPACT_LABEL [ v ( ) . impact ] } </ span >
56+ < span class = "text-[9px] font-bold tracking-wide uppercase color-[ var(--impact)]" > { IMPACT_LABEL [ v ( ) . impact ] } </ span >
5757 < Show when = { v ( ) . bestPractice } >
5858 < span class = "text-[9.5px] font-bold tracking-wide uppercase color-muted border border-base rounded-full px-1.5" title = "axe best-practice rule (not a WCAG success criterion)" > best practice</ span >
5959 </ Show >
@@ -76,7 +76,7 @@ export function ViolationRow(props: ViolationRowProps) {
7676 < li >
7777 < button
7878 type = "button"
79- class = "block w-full text-left bg-base border border-base rounded px-2.5 py-1.5 cursor-pointer transition hover:bg-active outline-none focus-visible:ring-2 focus-visible:ring-primary-500/40"
79+ class = "block w-full bg-[#8881] text-left border border-base rounded px-2.5 py-1.5 cursor-pointer transition hover:bg-hover outline-none focus-visible:ring-2 focus-visible:ring-primary-500/40"
8080 onMouseEnter = { ( ) => props . channel . preview ( node ) }
8181 onFocus = { ( ) => props . channel . preview ( node ) }
8282 onMouseLeave = { ( ) => props . channel . clearPreview ( ) }
0 commit comments