Skip to content

Commit 81ed112

Browse files
authored
fix: fix auto theme (#11215)
1 parent fad4574 commit 81ed112

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

site/src/theme/index.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { type Theme as MuiTheme } from "@mui/material/styles";
1+
import type { Theme as MuiTheme } from "@mui/material/styles";
22
import dark from "./dark";
33
import darkBlue from "./darkBlue";
4-
import { type NewTheme } from "./experimental";
5-
import { Colors } from "./colors";
4+
import type { NewTheme } from "./experimental";
5+
import type { Colors } from "./colors";
66

77
export interface Theme extends MuiTheme {
88
colors: Colors;
@@ -14,7 +14,7 @@ export const DEFAULT_THEME = "auto";
1414
const theme = {
1515
dark,
1616
darkBlue,
17-
light: darkBlue,
17+
light: dark,
1818
} satisfies Record<string, Theme>;
1919

2020
export default theme;

0 commit comments

Comments
 (0)