···11import { markdown } from "@codemirror/lang-markdown";
22import { EditorState } from "@codemirror/state";
33import { basicSetup, EditorView } from "codemirror";
44-import { THEME_HEX } from "../../src/views/theme.ts";
44+import { THEME_HEX } from "../../src/views/theme/index.ts";
55import { renderPreview } from "./preview.ts";
66import { createToolbar } from "./toolbar.ts";
77import { showToast, syncBlobMetadata, uploadImage } from "./upload.ts";
+1-1
public/editor/toolbar.ts
···11import type { EditorView } from "codemirror";
22-import { THEME_HEX } from "../../src/views/theme.ts";
22+import { THEME_HEX } from "../../src/views/theme/index.ts";
3344function wrapSelection(view: EditorView, before: string, after: string): void {
55 const { from, to } = view.state.selection.main;
+1-1
public/viz/renderers/force-graph.ts
···11declare const d3: typeof import("d3");
2233import type { ForceGraphNode as BaseForceGraphNode } from "../../../src/shared/viz-types.ts";
44-import { THEME_HEX } from "../../../src/views/theme.ts";
44+import { THEME_HEX } from "../../../src/views/theme/index.ts";
5566type ForceGraphNode = BaseForceGraphNode & d3.SimulationNodeDatum;
77
+1-1
public/viz/renderers/sunburst.ts
···44 SunburstData,
55 SunburstNode,
66} from "../../../src/shared/viz-types.ts";
77-import { THEME_HEX } from "../../../src/views/theme.ts";
77+import { THEME_HEX } from "../../../src/views/theme/index.ts";
8899const COLORS = d3.schemeTableau10;
1010
+1-1
src/views/access-denied.ts
···11import { escapeHtml } from "../lib/html.ts";
22import { t } from "../lib/i18n/index.ts";
33import { type LayoutOptions, layout } from "./layout.ts";
44-import { primaryButtonClass, THEME } from "./theme.ts";
44+import { primaryButtonClass, THEME } from "./theme/index.ts";
5566interface AccessDeniedOptions extends LayoutOptions {
77 hasPendingRequest?: boolean;
+1-1
src/views/bookmark.ts
···11import { escapeHtml } from "../lib/html.ts";
22import type { Messages } from "../lib/i18n/index.ts";
33import { isBookmarked } from "../server/db/queries/index.ts";
44-import { THEME } from "./theme.ts";
44+import { THEME } from "./theme/index.ts";
5566export function resolveBookmarkHtml(
77 did: string | null,
+1-1
src/views/edit-note.ts
···11import { escapeHtml } from "../lib/html.ts";
22import { t } from "../lib/i18n/index.ts";
33import { type LayoutOptions, layout } from "./layout.ts";
44-import { inputClass, primaryButtonClass, THEME } from "./theme.ts";
44+import { inputClass, primaryButtonClass, THEME } from "./theme/index.ts";
5566export function editNotePage(
77 wikiName: string,
+1-1
src/views/explore.ts
···55 WikiWithNoteCount,
66} from "../server/db/queries/index.ts";
77import { type LayoutOptions, layout } from "./layout.ts";
88-import { THEME } from "./theme.ts";
88+import { THEME } from "./theme/index.ts";
99import { wikiGridWithPagination, wikiToolbar } from "./wiki-list.ts";
10101111export function explorePage(
+5-1
src/views/home.ts
···33import { profileUrl } from "../lib/urls.ts";
44import type { WikiWithNoteCount } from "../server/db/queries/index.ts";
55import { type LayoutOptions, layout } from "./layout.ts";
66-import { outlineSmallButtonClass, primaryButtonClass, THEME } from "./theme.ts";
66+import {
77+ outlineSmallButtonClass,
88+ primaryButtonClass,
99+ THEME,
1010+} from "./theme/index.ts";
711import { wikiGridWithExploreLink, wikiToolbar } from "./wiki-list.ts";
812913export function homePage(
···11import { t } from "../lib/i18n/index.ts";
22import { type LayoutOptions, layout } from "./layout.ts";
33-import { errorBanner, inputClass, primaryButtonClass, THEME } from "./theme.ts";
33+import {
44+ errorBanner,
55+ inputClass,
66+ primaryButtonClass,
77+ THEME,
88+} from "./theme/index.ts";
49510interface LoginOptions extends LayoutOptions {
611 error?: string;
+1-1
src/views/new-note.ts
···77 outlineSmallButtonClass,
88 primaryButtonClass,
99 THEME,
1010-} from "./theme.ts";
1010+} from "./theme/index.ts";
11111212interface NewNoteOptions extends LayoutOptions {
1313 error?: string;
+1-1
src/views/new-wiki.ts
···88 outlineSmallButtonClass,
99 primaryButtonClass,
1010 THEME,
1111-} from "./theme.ts";
1111+} from "./theme/index.ts";
12121313interface NewWikiOptions extends LayoutOptions {
1414 error?: string;
+1-1
src/views/profile.ts
···33import type { ProfileInfo } from "../lib/profile.ts";
44import type { WikiWithNoteCount } from "../server/db/queries/index.ts";
55import { type LayoutOptions, layout } from "./layout.ts";
66-import { THEME } from "./theme.ts";
66+import { THEME } from "./theme/index.ts";
77import { wikiGridCards } from "./wiki-list.ts";
8899export function profilePage(
···11import { canEdit } from "../lib/access.ts";
22import { t } from "../lib/i18n/index.ts";
33import { type LayoutOptions, layout } from "./layout.ts";
44-import { primarySmallButtonClass, THEME } from "./theme.ts";
44+import { primarySmallButtonClass, THEME } from "./theme/index.ts";
5566export function wikiPage(
77 wikiName: string,