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
2 changed files with 6 additions and 6 deletions
@@ -38,6 +38,7 @@
.main { .main {
border-radius: 50%; border-radius: 50%;
background: var(--theme-colors-foreground) !important;
svg { svg {
display: flex; display: flex;
@@ -66,12 +66,11 @@ export const PlayButton = ({ isPaused, ...props }: PlayButtonProps) => {
iconProps={{ iconProps={{
size: 'lg', size: 'lg',
}} }}
tooltip={ tooltip={{
isPaused label: isPaused
? t('player.play', { postProcess: 'sentenceCase' }) ? (t('player.play', { postProcess: 'sentenceCase' }) as string)
: t('player.pause', { postProcess: 'sentenceCase' }) : (t('player.pause', { postProcess: 'sentenceCase' }) as string),
} }}
variant="white"
{...props} {...props}
/> />
); );