fix player button light theme and tooltip

This commit is contained in:
Kendall Garner 2025-06-25 08:05:57 -07:00
parent 7d29a692ef
commit 2814b623e7
No known key found for this signature in database
GPG key ID: 9355F387FE765C94
2 changed files with 6 additions and 6 deletions

View file

@ -38,6 +38,7 @@
.main {
border-radius: 50%;
background: var(--theme-colors-foreground) !important;
svg {
display: flex;

View file

@ -66,12 +66,11 @@ export const PlayButton = ({ isPaused, ...props }: PlayButtonProps) => {
iconProps={{
size: 'lg',
}}
tooltip={
isPaused
? t('player.play', { postProcess: 'sentenceCase' })
: t('player.pause', { postProcess: 'sentenceCase' })
}
variant="white"
tooltip={{
label: isPaused
? (t('player.play', { postProcess: 'sentenceCase' }) as string)
: (t('player.pause', { postProcess: 'sentenceCase' }) as string),
}}
{...props}
/>
);