mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +02:00
fix player button light theme and tooltip
This commit is contained in:
@@ -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}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user