chore: update all page style (#2638)

This commit is contained in:
JimmFly 2023-06-01 12:38:14 +08:00 committed by GitHub
parent fc9462eee9
commit 88757ce488
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 3 deletions

View File

@ -29,11 +29,21 @@ export const TitleCell = React.forwardRef<HTMLTableCellElement, TitleCellProps>(
<StyledTitleLink>
{icon}
<StyledTitleContentWrapper>
<Content ellipsis={true} maxWidth="100%" color="inherit">
<Content
ellipsis={true}
maxWidth="100%"
color="inherit"
fontSize="var(--affine-font-sm)"
weight="600"
lineHeight="18px"
>
{text}
</Content>
{desc && (
<StyledTitlePreview ellipsis={true} color="inherit">
<StyledTitlePreview
ellipsis={true}
color="var(--affine-text-secondary-color)"
>
{desc}
</StyledTitlePreview>
)}

View File

@ -5,12 +5,13 @@ export const filterButton = style({
height: '100%',
padding: '4px 8px',
fontSize: 'var(--affine-font-xs)',
background: 'var(--affine-hover-color)',
background: 'var(--affine-white)',
color: 'var(--affine-text-secondary-color)',
border: '1px solid var(--affine-border-color)',
transition: 'margin-left 0.2s ease-in-out',
':hover': {
borderColor: 'var(--affine-border-color)',
background: 'var(--affine-hover-color)',
},
});
export const filterButtonCollapse = style({