Skip to content

Commit

Permalink
select cli version hover colour contrast ratio issue fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jpg619 committed Oct 27, 2023
1 parent 5aafaec commit 1371a56
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/components/variant-select.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,19 @@ import {LinkNoUnderline} from './link'
import useLocationChange from '../hooks/use-location-change'

const VariantItem = ({title, shortName, url, active}) => (
<ActionList.Item as={LinkNoUnderline} to={url} state={{scrollUpdate: false}} id={shortName} active={active}>
<ActionList.Item
sx={{
':hover:not([aria-disabled])': {
backgroundColor: '#666D75',
color: '#FFFFFF',
},
}}
as={LinkNoUnderline}
to={url}
state={{scrollUpdate: false}}
id={shortName}
active={active}
>
{title}
</ActionList.Item>
)
Expand Down

0 comments on commit 1371a56

Please sign in to comment.