mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore(site): Upgrade to MUI v5 (#7437)
This commit is contained in:
Vendored
+25
@@ -0,0 +1,25 @@
|
||||
import { PaletteColor, PaletteColorOptions, Theme } from "@mui/material/styles"
|
||||
|
||||
declare module "@mui/styles/defaultTheme" {
|
||||
interface DefaultTheme extends Theme {}
|
||||
}
|
||||
|
||||
declare module "@mui/material/styles" {
|
||||
interface TypeBackground {
|
||||
paperLight: string
|
||||
}
|
||||
|
||||
interface Palette {
|
||||
neutral: PaletteColor
|
||||
}
|
||||
|
||||
interface PaletteOptions {
|
||||
neutral?: PaletteColorOptions
|
||||
}
|
||||
}
|
||||
|
||||
declare module "@mui/material/Button" {
|
||||
interface ButtonPropsColorOverrides {
|
||||
neutral: true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user