feat: modify style

This commit is contained in:
QiShaoXuan
2023-02-07 17:10:15 +08:00
parent d7cb1b5c0a
commit e1f4b6f8f2
4 changed files with 58 additions and 39 deletions
@@ -6,7 +6,7 @@ export const StyledSliderBar = styled.div<{ show: boolean }>(
return {
width: show ? '256px' : '0',
height: '100vh',
background: theme.mode === 'dark' ? '#272727' : '#FBFBFC',
background: theme.mode === 'dark' ? '#272727' : '#F9F9FB',
boxShadow: theme.shadow.modal,
transition: 'width .15s, padding .15s',
position: 'relative',