-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmui.d.ts
42 lines (37 loc) · 848 Bytes
/
mui.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import * as materialStyles from '@mui/material/styles'
import { UrlWithStringQuery } from 'url'
type SidebarPalette = {
background: string
wrapperBackground: string
hoveringWrapperBackground: string
header: string
divider: string
listHeader: string
itemTitle: string
activeItemTitle: string
hoveringItemTitle: string
selectedItemTitle: string
notificationContent: string
notificationButton: string
}
type AppBarPalette = {
background: string
text: string
hoveringText: string
}
type TablePalette = {
headerBackground: string
headerText: string
}
declare module '@mui/material/styles' {
interface Palette {
sidebar?: SidebarPalette
appBar?: AppBarPalette
table?: TablePalette
}
interface PaletteOptions {
sidebar?: SidebarPalette
appBar?: AppBarPalette
table?: TablePalette
}
}