mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: fix auto theme (#11215)
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { type Theme as MuiTheme } from "@mui/material/styles";
|
||||
import type { Theme as MuiTheme } from "@mui/material/styles";
|
||||
import dark from "./dark";
|
||||
import darkBlue from "./darkBlue";
|
||||
import { type NewTheme } from "./experimental";
|
||||
import { Colors } from "./colors";
|
||||
import type { NewTheme } from "./experimental";
|
||||
import type { Colors } from "./colors";
|
||||
|
||||
export interface Theme extends MuiTheme {
|
||||
colors: Colors;
|
||||
@@ -14,7 +14,7 @@ export const DEFAULT_THEME = "auto";
|
||||
const theme = {
|
||||
dark,
|
||||
darkBlue,
|
||||
light: darkBlue,
|
||||
light: dark,
|
||||
} satisfies Record<string, Theme>;
|
||||
|
||||
export default theme;
|
||||
|
||||
Reference in New Issue
Block a user