refactor(editor): fix edgeless toolbar theme (#10897)

This commit is contained in:
fundon
2025-03-20 02:08:20 +00:00
parent ccc210f88a
commit a7acd5c5b1
9 changed files with 54 additions and 63 deletions

View File

@@ -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 {