diff --git a/web/components/button.tsx b/web/components/button.tsx index 8e00a077..e2e1e20d 100644 --- a/web/components/button.tsx +++ b/web/components/button.tsx @@ -108,7 +108,7 @@ export function IconButton(props: { className={clsx( 'inline-flex items-center justify-center transition-colors disabled:cursor-not-allowed', sizeClasses[size], - 'disabled:text-greyscale-2 text-greyscale-6 hover:text-indigo-600', + 'disabled:text-greyscale-2 text-greyscale-5 hover:text-greyscale-6', className )} disabled={disabled || loading} diff --git a/web/components/contract/tip-button.tsx b/web/components/contract/tip-button.tsx index 3a928385..09179e6b 100644 --- a/web/components/contract/tip-button.tsx +++ b/web/components/contract/tip-button.tsx @@ -4,6 +4,7 @@ import { Col } from 'web/components/layout/col' import { Tooltip } from '../tooltip' import TipJar from 'web/public/custom-components/tipJar' import { useState } from 'react' +import Coin from 'web/public/custom-components/coin' export function TipButton(props: { tipAmount: number @@ -35,16 +36,44 @@ export function TipButton(props: { disabled={disabled} className={clsx( 'px-2 py-1 text-xs', //2xs button - 'text-greyscale-6 transition-transform hover:text-indigo-600 disabled:cursor-not-allowed', - !disabled ? 'hover:rotate-12' : '' + 'text-greyscale-5 transition-transform disabled:cursor-not-allowed', + !disabled ? 'hover:text-greyscale-6' : '' )} - onMouseOver={() => setHover(true)} + onMouseOver={() => { + if (!disabled) { + setHover(true) + } + }} onMouseLeave={() => setHover(false)} > -