There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
chore: update all page style (#2638)
JimmFly88757ce4885a
diff --git a/packages/component/src/components/page-list/components/title-cell.tsx b/packages/component/src/components/page-list/components/title-cell.tsxindex 6e198e575e..dd52855664 100644--- a/packages/component/src/components/page-list/components/title-cell.tsx+++ b/packages/component/src/components/page-list/components/title-cell.tsx@@ -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>)}diff --git a/packages/component/src/components/page-list/view/view-list.css.ts b/packages/component/src/components/page-list/view/view-list.css.tsindex d4f06b8311..a1f2c4d6bb 100644--- a/packages/component/src/components/page-list/view/view-list.css.ts+++ b/packages/component/src/components/page-list/view/view-list.css.ts@@ -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({