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 {
|
.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}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue