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.

refactor(editor): adjust database-block style (#11219)

zzj3720f2cdf67c2a7f
diff --git a/blocksuite/affine/data-view/src/core/common/properties.ts b/blocksuite/affine/data-view/src/core/common/properties.ts
index 74b1afb9e4..25ad815b72 100644
--- a/blocksuite/affine/data-view/src/core/common/properties.ts
+++ b/blocksuite/affine/data-view/src/core/common/properties.ts
@@ -53,6 +53,7 @@ export class DataViewPropertiesSettingView extends SignalWatcher(
font-weight: 500;
border-radius: 4px;
cursor: pointer;
+ color: ${unsafeCSS(cssVarV2.button.primary)};
}
.properties-group-op:hover {
diff --git a/blocksuite/affine/data-view/src/view-presets/table/pc/row/row.ts b/blocksuite/affine/data-view/src/view-presets/table/pc/row/row.ts
index 21e30de217..ed2834459b 100644
--- a/blocksuite/affine/data-view/src/view-presets/table/pc/row/row.ts
+++ b/blocksuite/affine/data-view/src/view-presets/table/pc/row/row.ts
@@ -86,7 +86,7 @@ export class TableRow extends SignalWatcher(WithDisposable(ShadowlessElement)) {
display: flex;
padding: 4px;
border-radius: 4px;
- box-shadow: 0px 0px 4px 0px rgba(66, 65, 73, 0.14);
+ box-shadow: var(--affine-button-shadow);
background-color: var(--affine-background-primary-color);
position: relative;
}