Merge branch 'gb-light' into 'main'

Gameboy: fix button styles in light mode

See merge request soapbox-pub/soapbox!2871
environments/review-main-yi2y9f/deployments/4284
Alex Gleason 2023-11-25 06:40:08 +00:00
commit 099035d286
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -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')}