mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-06 11:59:51 +08:00
+5
-4
@@ -16,7 +16,8 @@ import {
|
||||
PlusIcon,
|
||||
} from '@blocksuite/icons/lit';
|
||||
import { computed, type ReadonlySignal } from '@preact/signals-core';
|
||||
import { css, html, nothing, type TemplateResult } from 'lit';
|
||||
import { cssVarV2 } from '@toeverything/theme/v2';
|
||||
import { css, html, nothing, type TemplateResult, unsafeCSS } from 'lit';
|
||||
import { property, state } from 'lit/decorators.js';
|
||||
import { classMap } from 'lit/directives/class-map.js';
|
||||
import { repeat } from 'lit/directives/repeat.js';
|
||||
@@ -162,17 +163,17 @@ export class FilterGroupView extends SignalWatcher(ShadowlessElement) {
|
||||
}
|
||||
|
||||
.filter-group-border {
|
||||
border: 1px dashed var(--affine-border-color);
|
||||
border: 1px dashed ${unsafeCSS(cssVarV2.layer.insideBorder.border)};
|
||||
}
|
||||
|
||||
.filter-group-bg-1 {
|
||||
background-color: var(--affine-background-secondary-color);
|
||||
border: 1px solid var(--affine-border-color);
|
||||
border: 1px solid ${unsafeCSS(cssVarV2.layer.insideBorder.border)};
|
||||
}
|
||||
|
||||
.filter-group-bg-2 {
|
||||
background-color: var(--affine-background-tertiary-color);
|
||||
border: 1px solid var(--affine-border-color);
|
||||
border: 1px solid ${unsafeCSS(cssVarV2.layer.insideBorder.border)};
|
||||
}
|
||||
|
||||
.hover-style {
|
||||
|
||||
+3
-2
@@ -1,6 +1,7 @@
|
||||
import { ShadowlessElement } from '@blocksuite/block-std';
|
||||
import { PlusIcon } from '@blocksuite/icons/lit';
|
||||
import { html } from 'lit';
|
||||
import { cssVarV2 } from '@toeverything/theme/v2';
|
||||
import { html, unsafeCSS } from 'lit';
|
||||
|
||||
export class NewRecordPreview extends ShadowlessElement {
|
||||
override render() {
|
||||
@@ -15,7 +16,7 @@ export class NewRecordPreview extends ShadowlessElement {
|
||||
left: 0;
|
||||
height: 32px;
|
||||
width: 32px;
|
||||
border: 1px solid var(--affine-border-color);
|
||||
border: 1px solid ${unsafeCSS(cssVarV2.layer.insideBorder.border)};
|
||||
border-radius: 50%;
|
||||
background: var(--affine-blue-100);
|
||||
box-shadow:
|
||||
|
||||
Reference in New Issue
Block a user