Skip to content

Commit

Permalink
Remove unused theme lib
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismaltby committed Oct 15, 2024
1 parent 2e37ef5 commit 7acb25d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 26 deletions.
4 changes: 3 additions & 1 deletion src/lib/themes/themeManager.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { getGlobalPluginsPath } from "lib/pluginManager/globalPlugins";
import { ThemeId } from "shared/lib/theme";
import darkTheme from "ui/theme/darkTheme";
import darkThemeWin from "ui/theme/darkThemeWin";
import lightTheme from "ui/theme/lightTheme";
Expand All @@ -13,6 +12,9 @@ import { merge, cloneDeep } from "lodash";

const globAsync = promisify(glob);

const themeIds = ["dark", "light"] as const;
export type ThemeId = typeof themeIds[number];

const themes: Record<ThemeId, ThemeInterface> = {
light: lightTheme,
dark: darkTheme,
Expand Down
25 changes: 0 additions & 25 deletions src/shared/lib/theme.ts

This file was deleted.

0 comments on commit 7acb25d

Please sign in to comment.