style(frontend): dark scrollbars for playlist sidebar and mobile drawer
This commit is contained in:
parent
dd2c7d353e
commit
feac54e2e0
@ -587,6 +587,14 @@ const RekordboxReader: React.FC = () => {
|
|||||||
borderColor="gray.700"
|
borderColor="gray.700"
|
||||||
overflowY="auto"
|
overflowY="auto"
|
||||||
bg="gray.900"
|
bg="gray.900"
|
||||||
|
sx={{
|
||||||
|
scrollbarColor: 'var(--chakra-colors-gray-700) var(--chakra-colors-gray-900)',
|
||||||
|
scrollbarWidth: 'thin',
|
||||||
|
'&::-webkit-scrollbar': { width: '8px', backgroundColor: 'var(--chakra-colors-gray-900)' },
|
||||||
|
'&::-webkit-scrollbar-thumb': { backgroundColor: 'var(--chakra-colors-gray-700)', borderRadius: '8px' },
|
||||||
|
'&::-webkit-scrollbar-thumb:hover': { backgroundColor: 'var(--chakra-colors-gray-600)' },
|
||||||
|
'&::-webkit-scrollbar-track': { backgroundColor: 'var(--chakra-colors-gray-900)' }
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
{playlistManager}
|
{playlistManager}
|
||||||
<ResizeHandle onMouseDown={handleResizeStart} />
|
<ResizeHandle onMouseDown={handleResizeStart} />
|
||||||
@ -621,7 +629,14 @@ const RekordboxReader: React.FC = () => {
|
|||||||
_hover={{ color: "blue.300", bg: "whiteAlpha.200" }}
|
_hover={{ color: "blue.300", bg: "whiteAlpha.200" }}
|
||||||
/>
|
/>
|
||||||
</DrawerHeader>
|
</DrawerHeader>
|
||||||
<DrawerBody p={2}>
|
<DrawerBody p={2} sx={{
|
||||||
|
scrollbarColor: 'var(--chakra-colors-gray-700) var(--chakra-colors-gray-900)',
|
||||||
|
scrollbarWidth: 'thin',
|
||||||
|
'&::-webkit-scrollbar': { width: '8px', backgroundColor: 'var(--chakra-colors-gray-900)' },
|
||||||
|
'&::-webkit-scrollbar-thumb': { backgroundColor: 'var(--chakra-colors-gray-700)', borderRadius: '8px' },
|
||||||
|
'&::-webkit-scrollbar-thumb:hover': { backgroundColor: 'var(--chakra-colors-gray-600)' },
|
||||||
|
'&::-webkit-scrollbar-track': { backgroundColor: 'var(--chakra-colors-gray-900)' }
|
||||||
|
}}>
|
||||||
{playlistManager}
|
{playlistManager}
|
||||||
</DrawerBody>
|
</DrawerBody>
|
||||||
</DrawerContent>
|
</DrawerContent>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user