Skip to content

Commit

Permalink
update to use a ring style
Browse files Browse the repository at this point in the history
  • Loading branch information
setchy committed Jul 9, 2024
1 parent 0d83d31 commit 11cdb00
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/components/buttons/SidebarButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,10 @@ export const SidebarButton: FC<ISidebarButton> = (props: ISidebarButton) => {
type="button"
className={cn(
'flex justify-evenly items-center w-full my-1 cursor-pointer text-xs font-extrabold focus:outline-none disabled:text-gray-500 disabled:cursor-default',
isRoute
? `${IconColor.ORANGE} hover:text-orange-700`
: hasMetric
? `${IconColor.GREEN} hover:text-green-700`
: `${IconColor.WHITE} hover:text-gray-500`,
hasMetric
? `${IconColor.GREEN} hover:text-green-700`
: `${IconColor.WHITE} hover:text-gray-500`,
isRoute && 'rounded-md ring-1 ring-current',
props.loading ? 'animate-spin' : undefined,
props.size ? 'py-2' : 'py-1',
)}
Expand Down

0 comments on commit 11cdb00

Please sign in to comment.