Gameboy: fix button styles in light mode
This commit is contained in:
parent
19a4abaf08
commit
b95bd0e533
1 changed files with 4 additions and 0 deletions
|
@ -135,11 +135,13 @@ const Gameboy: React.FC<IGameboy> = ({ className, src, aspect = 'normal', onFocu
|
||||||
>
|
>
|
||||||
<HStack space={2}>
|
<HStack space={2}>
|
||||||
<IconButton
|
<IconButton
|
||||||
|
theme='transparent'
|
||||||
className='text-white'
|
className='text-white'
|
||||||
onClick={togglePaused}
|
onClick={togglePaused}
|
||||||
src={paused ? require('@tabler/icons/player-play.svg') : require('@tabler/icons/player-pause.svg')}
|
src={paused ? require('@tabler/icons/player-play.svg') : require('@tabler/icons/player-pause.svg')}
|
||||||
/>
|
/>
|
||||||
<IconButton
|
<IconButton
|
||||||
|
theme='transparent'
|
||||||
className='text-white'
|
className='text-white'
|
||||||
onClick={toggleMuted}
|
onClick={toggleMuted}
|
||||||
src={muted ? require('@tabler/icons/volume-3.svg') : require('@tabler/icons/volume.svg')}
|
src={muted ? require('@tabler/icons/volume-3.svg') : require('@tabler/icons/volume.svg')}
|
||||||
|
@ -148,11 +150,13 @@ const Gameboy: React.FC<IGameboy> = ({ className, src, aspect = 'normal', onFocu
|
||||||
|
|
||||||
<HStack space={2}>
|
<HStack space={2}>
|
||||||
<IconButton
|
<IconButton
|
||||||
|
theme='transparent'
|
||||||
className='text-white'
|
className='text-white'
|
||||||
src={require('@tabler/icons/download.svg')}
|
src={require('@tabler/icons/download.svg')}
|
||||||
onClick={handleDownload}
|
onClick={handleDownload}
|
||||||
/>
|
/>
|
||||||
<IconButton
|
<IconButton
|
||||||
|
theme='transparent'
|
||||||
className='text-white'
|
className='text-white'
|
||||||
onClick={toggleFullscreen}
|
onClick={toggleFullscreen}
|
||||||
src={fullscreen ? require('@tabler/icons/arrows-minimize.svg') : require('@tabler/icons/arrows-maximize.svg')}
|
src={fullscreen ? require('@tabler/icons/arrows-minimize.svg') : require('@tabler/icons/arrows-maximize.svg')}
|
||||||
|
|
Loading…
Reference in a new issue