diff --git a/app/soapbox/components/status-action-button.tsx b/app/soapbox/components/status-action-button.tsx index 0a07feb66..8095e4c7a 100644 --- a/app/soapbox/components/status-action-button.tsx +++ b/app/soapbox/components/status-action-button.tsx @@ -6,18 +6,11 @@ import { Text } from 'soapbox/components/ui'; import { shortNumberFormat } from 'soapbox/utils/numbers'; const COLORS = { - accent: 'text-accent-300 hover:text-accent-300 dark:hover:text-accent-300', - success: 'text-success-600 hover:text-success-600 dark:hover:text-success-600', - '': '', -}; - -const FILL_COLORS = { - accent: 'fill-accent-300 hover:fill-accent-300', - '': '', + accent: 'accent', + success: 'success', }; type Color = keyof typeof COLORS; -type FillColor = keyof typeof FILL_COLORS; interface IStatusActionCounter { count: number, @@ -38,11 +31,11 @@ interface IStatusActionButton extends React.ButtonHTMLAttributes): JSX.Element => { - const { icon, className, iconClassName, active, color = '', fill = '', count = 0, ...filteredProps } = props; + const { icon, className, iconClassName, active, color, filled = false, count = 0, ...filteredProps } = props; return (