{children}
diff --git a/packages/frontend/core/src/components/page-list/tags/tag-list-header.css.ts b/packages/frontend/core/src/components/page-list/tags/tag-list-header.css.ts
index 76f8ec7c40..e9616ec4e5 100644
--- a/packages/frontend/core/src/components/page-list/tags/tag-list-header.css.ts
+++ b/packages/frontend/core/src/components/page-list/tags/tag-list-header.css.ts
@@ -22,7 +22,7 @@ export const newTagButton = style({
padding: '6px 10px',
borderRadius: '8px',
background: cssVar('backgroundPrimaryColor'),
- fontSize: cssVar('fontSm'),
- fontWeight: 600,
- height: '32px',
+ fontSize: cssVar('fontXs'),
+ fontWeight: 500,
+ height: '28px',
});
diff --git a/packages/frontend/core/src/components/page-list/view/save-as-collection-button.css.ts b/packages/frontend/core/src/components/page-list/view/save-as-collection-button.css.ts
new file mode 100644
index 0000000000..d53b83b301
--- /dev/null
+++ b/packages/frontend/core/src/components/page-list/view/save-as-collection-button.css.ts
@@ -0,0 +1,10 @@
+import { cssVar } from '@toeverything/theme';
+import { style } from '@vanilla-extract/css';
+export const button = style({
+ padding: '6px 10px',
+ borderRadius: '8px',
+ background: cssVar('backgroundPrimaryColor'),
+ fontSize: cssVar('fontXs'),
+ fontWeight: 500,
+ height: '28px',
+});
diff --git a/packages/frontend/core/src/components/page-list/view/save-as-collection-button.tsx b/packages/frontend/core/src/components/page-list/view/save-as-collection-button.tsx
index 187308ba88..91045c6815 100644
--- a/packages/frontend/core/src/components/page-list/view/save-as-collection-button.tsx
+++ b/packages/frontend/core/src/components/page-list/view/save-as-collection-button.tsx
@@ -6,6 +6,7 @@ import { nanoid } from 'nanoid';
import { useCallback } from 'react';
import { createEmptyCollection } from '../use-collection-manager';
+import * as styles from './save-as-collection-button.css';
import { useEditCollectionName } from './use-edit-collection';
interface SaveAsCollectionButtonProps {
@@ -35,8 +36,7 @@ export const SaveAsCollectionButton = ({
onClick={handleClick}
data-testid="save-as-collection"
icon={
}
- size="large"
- style={{ padding: '7px 8px' }}
+ className={styles.button}
>
{t['com.affine.editCollection.saveCollection']()}
diff --git a/packages/frontend/core/src/components/pure/workspace-slider-bar/collections/styles.css.ts b/packages/frontend/core/src/components/pure/workspace-slider-bar/collections/styles.css.ts
index 0ed2dd8a56..24d16682a0 100644
--- a/packages/frontend/core/src/components/pure/workspace-slider-bar/collections/styles.css.ts
+++ b/packages/frontend/core/src/components/pure/workspace-slider-bar/collections/styles.css.ts
@@ -147,6 +147,6 @@ export const emptyCollectionMessage = style({
});
export const emptyCollectionNewButton = style({
padding: '0 8px',
- height: '30px',
- fontSize: cssVar('fontSm'),
+ height: '28px',
+ fontSize: cssVar('fontXs'),
});
diff --git a/packages/frontend/core/src/pages/workspace/all-page/all-page-header.tsx b/packages/frontend/core/src/pages/workspace/all-page/all-page-header.tsx
index 02ef46a25f..de65cb6070 100644
--- a/packages/frontend/core/src/pages/workspace/all-page/all-page-header.tsx
+++ b/packages/frontend/core/src/pages/workspace/all-page/all-page-header.tsx
@@ -1,3 +1,4 @@
+import { usePageHelper } from '@affine/core/components/blocksuite/block-suite-page-list/utils';
import {
AllPageListOperationsMenu,
PageDisplayMenu,
@@ -22,7 +23,9 @@ export const AllPageHeader = ({
onChangeFilters: (filters: Filter[]) => void;
}) => {
const workspace = useService(Workspace);
-
+ const { importFile, createEdgeless, createPage } = usePageHelper(
+ workspace.docCollection
+ );
return (
diff --git a/packages/frontend/i18n/src/resources/zh-Hans.json b/packages/frontend/i18n/src/resources/zh-Hans.json
index 388638a274..d037f030a9 100644
--- a/packages/frontend/i18n/src/resources/zh-Hans.json
+++ b/packages/frontend/i18n/src/resources/zh-Hans.json
@@ -892,7 +892,7 @@
"com.affine.payment.member-limit.pro.confirm": "知道了",
"com.affine.payment.member-limit.pro.description": "每个 {{planName}} 用户最多可以邀请 {{quota}} 个成员加入他们的工作区。 如果您想继续添加协作成员,可以创建新的工作区。",
"com.affine.payment.member-limit.title": "成员数量已达到极限",
- "com.affine.payment.member.description": "在此处管理成员。{{planName}} 用户可以邀请最多 {{memberLimit}} 人。",
+ "com.affine.payment.member.description": "在此处管理成员。{{planName}} 用户可以邀请最多 {{memberLimit}} 人",
"com.affine.payment.member.description.go-upgrade": "前往升级",
"com.affine.payment.modal.change.cancel": "取消",
"com.affine.payment.modal.change.confirm": "更改",