diff --git a/src/components/Mailbox.tsx b/src/components/Mailbox.tsx index b8daddd..7911109 100644 --- a/src/components/Mailbox.tsx +++ b/src/components/Mailbox.tsx @@ -1,5 +1,6 @@ import MailItem from "./MailItem"; -import useStore, { Email } from "../store"; +import useStore from "../store"; +import { Email } from "../types"; import shallow from "zustand/shallow"; import ButtonAutoOpenNewEmail from "./buttons/ButtonAutoOpenNewEmail"; import ButtonDeleteEmails from "./buttons/ButtonDeleteEmails"; diff --git a/src/themes.ts b/src/themes.ts deleted file mode 100644 index 5005150..0000000 --- a/src/themes.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { ColorScheme, colors } from "@vechaiui/react"; -export const bee: ColorScheme = { - id: "bee", - type: "light", - colors: { - bg: { base: colors.warmGray["100"], fill: colors.warmGray["100"] }, - text: { foreground: colors.warmGray["900"], muted: colors.warmGray["700"] }, - primary: colors.amber, - neutral: colors.warmGray, - danger: colors.red, - }, -}; diff --git a/src/utils/utils.ts b/src/utils/utils.ts index d97b6b7..960c5b3 100644 --- a/src/utils/utils.ts +++ b/src/utils/utils.ts @@ -1,4 +1,4 @@ -import { Email } from "../store"; +import { Email } from "../types"; export function makeExcerpt(email: Email) { let excerpt = "";