({
: theme.palette.background.default
}));
-const Puller = styled(Box)(({ theme }) => ({
- width: '30%',
- height: 4,
- backgroundColor: theme.palette.mode === 'light' ? '#F6F5F5' : grey[900],
- borderRadius: 3
-}));
-
const DrawerHeader = styled(Box)(({ theme }) => ({
padding: '24px',
display: 'flex',
@@ -59,8 +53,8 @@ const FilterCounter = styled(Box)(({ theme }) => ({
alignItems: 'center',
justifyContent: 'center',
margin: '0 4px',
- color: '#F6F5F5',
- backgroundColor: '#CE3B20'
+ color: COLORS.TEXT_PRIMARY,
+ backgroundColor: COLORS.ACCENT_BLUE
}));
const DrawerTitle = styled(Typography)(({ theme }) => ({
@@ -183,29 +177,31 @@ const SwipeableEdgeDrawer = (props: Props) => {
maxWidth: '1000px'
}}
>
-
-
- {left}
-
- {title}
- {filters}
-
-
+
- {right}
-
-
-
+ {left}
+ {title}
+ {filters}
+
+ {right}
+
+
+
+ ) : (
+ ''
+ )}
{children}