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.

fix(core): bidi panel show button color (#11374)

pengx17f091ac7e74cf
diff --git a/packages/frontend/core/src/blocksuite/block-suite-editor/bi-directional-link-panel.css.ts b/packages/frontend/core/src/blocksuite/block-suite-editor/bi-directional-link-panel.css.ts
index 40dae9f1ac..fd9bbe4847 100644
--- a/packages/frontend/core/src/blocksuite/block-suite-editor/bi-directional-link-panel.css.ts
+++ b/packages/frontend/core/src/blocksuite/block-suite-editor/bi-directional-link-panel.css.ts
@@ -39,7 +39,7 @@ export const showButton = style({
height: '28px',
borderRadius: '8px',
border: '1px solid ' + cssVar('--affine-border-color'),
- backgroundColor: cssVar('--affine-white'),
+ backgroundColor: cssVarV2('button/secondary'),
textAlign: 'center',
fontSize: '12px',
lineHeight: '28px',