Skip to content

Commit fe66623

Browse files
committed
perf(ui): defer custom theme import to settings
1 parent 8f237b6 commit fe66623

6 files changed

Lines changed: 370 additions & 322 deletions

File tree

‎ui/src/app/custom-theme.test.ts‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
// @vitest-environment node
22
// Control UI tests cover custom theme behavior.
33
import { afterEach, describe, expect, it, vi } from "vitest";
4+
import { importCustomThemeFromUrl } from "../pages/config/custom-theme-import.ts";
45
import {
56
createImportedCustomThemeFixture as createImportedTheme,
67
createTweakcnThemePayload as createTweakcnPayload,
78
} from "../test-helpers/custom-theme.ts";
8-
import {
9-
importCustomThemeFromUrl,
10-
parseImportedCustomTheme,
11-
syncCustomThemeStyleTag,
12-
} from "./custom-theme.ts";
9+
import { parseImportedCustomTheme, syncCustomThemeStyleTag } from "./custom-theme.ts";
1310
import type { ImportedCustomTheme } from "./custom-theme.ts";
1411

1512
afterEach(() => {

0 commit comments

Comments
 (0)