From 08201cccef3c6a18dc7b49ba25018dc04f2b6c82 Mon Sep 17 00:00:00 2001 From: thislight Date: Thu, 24 Oct 2024 22:21:37 +0800 Subject: [PATCH] material: rename mui to theme --- src/App.tsx | 2 +- src/material/{mui.ts => theme.ts} | 0 src/platform/share.tsx | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename src/material/{mui.ts => theme.ts} (100%) diff --git a/src/App.tsx b/src/App.tsx index 028a234..875f408 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -10,7 +10,7 @@ import { lazy, onCleanup, } from "solid-js"; -import { useRootTheme } from "./material/mui.js"; +import { useRootTheme } from "./material/theme.js"; import { Provider as ClientProvider, createMastoClientFor, diff --git a/src/material/mui.ts b/src/material/theme.ts similarity index 100% rename from src/material/mui.ts rename to src/material/theme.ts diff --git a/src/platform/share.tsx b/src/platform/share.tsx index 5f80dc0..7c98cb9 100644 --- a/src/platform/share.tsx +++ b/src/platform/share.tsx @@ -16,7 +16,7 @@ import { import { Close as CloseIcon, ContentCopy } from "@suid/icons-material"; import { Title } from "../material/typography"; import { render } from "solid-js/web"; -import { useRootTheme } from "../material/mui"; +import { useRootTheme } from "../material/theme"; const ShareBottomSheet: Component<{ data?: ShareData;