diff --git a/packages/components/src/UsefulStatsButton/UsefulStatsButton.tsx b/packages/components/src/UsefulStatsButton/UsefulStatsButton.tsx index ec51e616ad..401057cda7 100644 --- a/packages/components/src/UsefulStatsButton/UsefulStatsButton.tsx +++ b/packages/components/src/UsefulStatsButton/UsefulStatsButton.tsx @@ -52,7 +52,12 @@ export const UsefulStatsButton = (props: IProps) => { data-cy="vote-useful" variant="subtle" onClick={handleUsefulClick} - sx={{ fontSize: 2, ml: 1, background: theme.colors.softyellow }} + sx={{ + fontSize: 2, + ml: 1, + background: 'softyellow', + borderColor: 'softyellow', + }} icon={hasUserVotedUseful ? 'star-active' : 'star'} > Useful {votedUsefulCount ? votedUsefulCount : ''} @@ -66,7 +71,8 @@ export const UsefulStatsButton = (props: IProps) => { data-tip={'Login to add your vote'} sx={{ ...theme.buttons.subtle, - background: theme.colors.softyellow, + borderColor: 'softyellow', + background: 'softyellow', display: 'inline-flex', fontSize: 2, paddingY: 2,