Counter: dark ring styles

next
Alex Gleason 2 years ago
parent aa9c643006
commit 527b5086a6
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7

@ -9,7 +9,7 @@ interface ICounter {
/** A simple counter for notifications, etc. */ /** A simple counter for notifications, etc. */
const Counter: React.FC<ICounter> = ({ count }) => { const Counter: React.FC<ICounter> = ({ count }) => {
return ( return (
<span className='block px-1.5 py-0.5 bg-accent-500 text-xs text-white rounded-full ring-2 ring-white'> <span className='block px-1.5 py-0.5 bg-accent-500 text-xs text-white rounded-full ring-2 ring-white dark:ring-slate-800'>
{shortNumberFormat(count)} {shortNumberFormat(count)}
</span> </span>
); );

Loading…
Cancel
Save