mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
refactor(editor): fix edgeless toolbar theme (#10897)
This commit is contained in:
@@ -62,9 +62,7 @@ export class CardStyleDropdownMenu extends SignalWatcher(LitElement) {
|
||||
@property({ attribute: false })
|
||||
accessor style$!: Signal<string> | ReadonlySignal<string>;
|
||||
|
||||
icons$ = computed(
|
||||
() => cardStyleMap[this.context.themeProvider.theme$.value]
|
||||
);
|
||||
icons$ = computed(() => cardStyleMap[this.context.theme.theme$.value]);
|
||||
|
||||
override render() {
|
||||
const {
|
||||
|
||||
Reference in New Issue
Block a user