Skip to content

Commit

Permalink
SUL23-649 | remove underline from checked/selected state (#225)
Browse files Browse the repository at this point in the history
* SUL23-649 | remove underline from checked/selected state

* remove unused peer-focus:nounderline typo

* added check and hocus underline

---------

Co-authored-by: Mike Decker <[email protected]>
  • Loading branch information
rebeccahongsf and pookmish authored Oct 11, 2024
1 parent fa85511 commit c85f58d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/patterns/toggle-option.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const ToggleOption = ({

<span
className={twMerge(
"peer-focus:nounderline flex items-center border border-black-80 p-4 pl-0 pr-32 text-18 leading-[25px] no-underline hover:text-cardinal-red-dark hover:underline peer-checked:border-2 peer-checked:bg-[#979694] peer-checked:bg-opacity-20 peer-checked:pl-10 peer-checked:pr-13 peer-checked:text-black peer-checked:underline peer-checked:transition-all peer-checked:ease-in-out peer-focus:border-2 peer-focus:border-black-80 peer-focus:bg-[#979694] peer-focus:bg-opacity-10 peer-focus:text-black peer-focus:underline peer-focus-visible:outline peer-focus-visible:outline-blue-500 peer-focus-visible:ring sm:whitespace-nowrap sm:leading-[30px] sm:peer-checked:pl-16 sm:peer-checked:pr-32 peer-checked:[&_svg]:text-black",
"flex items-center border border-black-80 p-4 pl-0 pr-32 text-18 leading-[25px] no-underline hover:text-cardinal-red-dark hover:underline peer-checked:border-2 peer-checked:bg-[#979694] peer-checked:bg-opacity-20 peer-checked:pl-10 peer-checked:pr-13 peer-checked:text-black peer-checked:no-underline peer-checked:transition-all peer-checked:ease-in-out peer-focus:border-2 peer-focus:border-black-80 peer-focus:bg-[#979694] peer-focus:bg-opacity-10 peer-focus:text-black peer-focus:underline peer-focus-visible:outline peer-focus-visible:outline-blue-500 peer-focus-visible:ring peer-checked:hocus-visible:underline sm:whitespace-nowrap sm:leading-[30px] sm:peer-checked:pl-16 sm:peer-checked:pr-32 peer-checked:[&_svg]:text-black",
clsx({
"rounded-l-full": first,
"rounded-r-full": last,
Expand Down

0 comments on commit c85f58d

Please sign in to comment.