mirror of
https://github.com/antebudimir/feishin.git
synced 2025-12-31 18:13:31 +00:00
fix player button light theme and tooltip
This commit is contained in:
parent
7d29a692ef
commit
2814b623e7
2 changed files with 6 additions and 6 deletions
|
|
@ -38,6 +38,7 @@
|
|||
|
||||
.main {
|
||||
border-radius: 50%;
|
||||
background: var(--theme-colors-foreground) !important;
|
||||
|
||||
svg {
|
||||
display: flex;
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
/>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue