Merge pull request #872 from toeverything/feat/modify-ui

feat: modify style
This commit is contained in:
Qi
2023-02-07 17:25:35 +08:00
committed by GitHub
6 changed files with 61 additions and 43 deletions
@@ -66,7 +66,7 @@ export const WorkspaceSettingTagItem = styled('li')<{ isActive?: boolean }>(
color: isActive ? theme.colors.primaryColor : theme.colors.textColor,
fontWeight: '500',
fontSize: theme.font.base,
lineHeight: theme.font.lineHeightBase,
lineHeight: theme.font.lineHeight,
cursor: 'pointer',
transition: 'all 0.15s ease',
borderBottom: `2px solid ${
@@ -92,7 +92,7 @@ export const StyledSettingH2 = styled('h2')<{
return {
// fontWeight: '500',
fontSize: theme.font.base,
lineHeight: theme.font.lineHeightBase,
lineHeight: theme.font.lineHeight,
marginTop: marginTop ? `${marginTop}px` : '0px',
marginBottom: marginBottom ? `${marginBottom}px` : '0px',
};
@@ -147,7 +147,7 @@ export const StyledPublishContent = styled('div')(({ theme }) => {
fontWeight: '500',
flexDirection: 'column',
fontSize: theme.font.base,
lineHeight: theme.font.lineHeightBase,
lineHeight: theme.font.lineHeight,
flex: 1,
};
});
@@ -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',