Skip to content
This repository was archived by the owner on Oct 4, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions packages/web/src/components/artist/ArtistChip.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,13 @@
color: var(--neutral-light-4);
}

.followersContainer .followsYou.darkMode {
box-shadow: none;
border: 1px solid var(--neutral-light-4);
color: var(--neutral-light-4);
background: none;
}

.tipContainer .rank {
margin-right: 24px;
}
Expand Down
6 changes: 5 additions & 1 deletion packages/web/src/components/artist/ArtistChipFollowers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import cn from 'classnames'

import { ReactComponent as IconUser } from 'assets/img/iconUser.svg'
import FollowsYouBadge from 'components/user-badges/FollowsYouBadge'
import { isDarkMode } from 'utils/theme/theme'

import styles from './ArtistChip.module.css'

Expand All @@ -19,6 +20,7 @@ export const ArtistChipFollowers = ({
followerCount,
doesFollowCurrentUser
}: ArtistChipFollowersProps) => {
const darkMode = isDarkMode()
return (
<div className={styles.followersContainer}>
<div className={cn(styles.followers, 'followers')}>
Expand All @@ -31,7 +33,9 @@ export const ArtistChipFollowers = ({
</span>
</div>
{doesFollowCurrentUser ? (
<FollowsYouBadge className={styles.followsYou} />
<FollowsYouBadge
className={cn(styles.followsYou, { [styles.darkMode]: darkMode })}
/>
) : null}
</div>
)
Expand Down