@@ -39,7 +39,7 @@ const Button = ({
3939 case 'fill' :
4040 props . bg = brand ? theme . brandColors [ brand ] : bg
4141 props . text = brand ? theme . textColors . on [ brand ] : text
42- props [ 'bg-hover ' ] = getColorShade (
42+ props [ 'bg-hocus ' ] = getColorShade (
4343 brand ? theme . brandColors [ brand ] : bg ,
4444 theme . highlightOffset ,
4545 )
@@ -48,22 +48,23 @@ const Button = ({
4848 // eslint-disable-next-line react/prop-types
4949 props . border . push ( brand ? theme . brandColors [ brand ] : border )
5050 props . text = brand ? theme . brandColors [ brand ] : border
51- props [ 'bg-hover ' ] = brand ? theme . brandColors [ brand ] : border
52- props [ 'text-hover ' ] = brand ? theme . textColors . on [ brand ] : text
51+ props [ 'bg-hocus ' ] = brand ? theme . brandColors [ brand ] : border
52+ props [ 'text-hocus ' ] = brand ? theme . textColors . on [ brand ] : text
5353 break
5454 case 'text' :
5555 props . text = brand ? theme . brandColors [ brand ] : text
56- props [ 'bg-hover ' ] = `${ getColorShade (
56+ props [ 'bg-hocus ' ] = `${ getColorShade (
5757 brand ? theme . brandColors [ brand ] : text ,
5858 'lightest' ,
5959 ) } `
6060 break
6161 case 'link' :
62- props . leading = undefined
62+ props . rounded = undefined
63+ props . leading = 'normal'
6364 props . p = 0
6465 props . underline = true
6566 props . text = brand ? theme . brandColors [ brand ] : text
66- props [ 'text-hover ' ] = getColorShade (
67+ props [ 'text-hocus ' ] = getColorShade (
6768 brand ? theme . brandColors [ brand ] : text ,
6869 theme . highlightOffset ,
6970 )
0 commit comments