Merge branch 'black-mode' into 'main'

Black theme: set counter ring color

See merge request soapbox-pub/soapbox!2998
environments/review-main-yi2y9f/deployments/4557
marcin mikołajczak 2024-04-18 22:10:54 +00:00
commit b8093ace04
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -12,7 +12,7 @@ interface ICounter {
/** A simple counter for notifications, etc. */
const Counter: React.FC<ICounter> = ({ count, countMax }) => {
return (
<span className='flex h-5 min-w-[20px] max-w-[26px] items-center justify-center rounded-full bg-secondary-500 text-xs font-medium text-white ring-2 ring-white dark:ring-gray-800'>
<span className='flex h-5 min-w-[20px] max-w-[26px] items-center justify-center rounded-full bg-secondary-500 text-xs font-medium text-white ring-2 ring-white black:ring-black dark:ring-gray-800'>
{shortNumberFormat(count, countMax)}
</span>
);