Skip to content

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.

chore(editor): update icon color of link doc card (#10943)

L-Sun83af78d9ee27
diff --git a/blocksuite/affine/blocks/block-embed/src/embed-linked-doc-block/styles.ts b/blocksuite/affine/blocks/block-embed/src/embed-linked-doc-block/styles.ts
index b6ecd2a33b..83358a0768 100644
--- a/blocksuite/affine/blocks/block-embed/src/embed-linked-doc-block/styles.ts
+++ b/blocksuite/affine/blocks/block-embed/src/embed-linked-doc-block/styles.ts
@@ -1,3 +1,4 @@
+import { unsafeCSSVarV2 } from '@blocksuite/affine-shared/theme';
import { css, html } from 'lit';
import { embedNoteContentStyles } from '../common/embed-note-content-styles.js';
@@ -45,6 +46,7 @@ export const styles = css`
height: 16px;
justify-content: center;
align-items: center;
+ color: ${unsafeCSSVarV2('icon/primary')};
}
.affine-embed-linked-doc-content-title-icon img,
.affine-embed-linked-doc-content-title-icon object,