@citizenplatform/core 1.0.13 → 1.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/shared/theme/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/shared/theme/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,OAAO,CAAC;AACtB,cAAc,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import "@mui/material/styles";
|
|
2
|
+
import "@mui/material/Typography";
|
|
3
|
+
import type { typographyTokens } from "./typography";
|
|
4
|
+
import type { colorSchemes } from "./color";
|
|
5
|
+
declare module "@mui/material/styles" {
|
|
6
|
+
interface Theme {
|
|
7
|
+
tokens: {
|
|
8
|
+
color: typeof colorSchemes;
|
|
9
|
+
typography: typeof typographyTokens;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
interface ThemeOptions {
|
|
13
|
+
tokens?: {
|
|
14
|
+
color?: typeof colorSchemes;
|
|
15
|
+
typography?: typeof typographyTokens;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
interface TypographyVariants {
|
|
19
|
+
display: React.CSSProperties;
|
|
20
|
+
heading: React.CSSProperties;
|
|
21
|
+
subheading: React.CSSProperties;
|
|
22
|
+
bodyCustom: React.CSSProperties;
|
|
23
|
+
label: React.CSSProperties;
|
|
24
|
+
captionCustom: React.CSSProperties;
|
|
25
|
+
}
|
|
26
|
+
interface TypographyVariantsOptions {
|
|
27
|
+
display?: React.CSSProperties;
|
|
28
|
+
heading?: React.CSSProperties;
|
|
29
|
+
subheading?: React.CSSProperties;
|
|
30
|
+
bodyCustom?: React.CSSProperties;
|
|
31
|
+
label?: React.CSSProperties;
|
|
32
|
+
captionCustom?: React.CSSProperties;
|
|
33
|
+
}
|
|
34
|
+
interface MenuTextPalette {
|
|
35
|
+
primary: string;
|
|
36
|
+
secondary: string;
|
|
37
|
+
}
|
|
38
|
+
interface DisabledPalette {
|
|
39
|
+
main: string;
|
|
40
|
+
}
|
|
41
|
+
interface DatagridPalette {
|
|
42
|
+
heading: string;
|
|
43
|
+
filter: string;
|
|
44
|
+
rowbg: string;
|
|
45
|
+
rowstroke: string;
|
|
46
|
+
}
|
|
47
|
+
interface CheckboxPalette {
|
|
48
|
+
label: string;
|
|
49
|
+
border: string;
|
|
50
|
+
checked: string;
|
|
51
|
+
hoverBackground: string;
|
|
52
|
+
}
|
|
53
|
+
interface Palette {
|
|
54
|
+
menuText: MenuTextPalette;
|
|
55
|
+
borderColor: string;
|
|
56
|
+
cardborder: string;
|
|
57
|
+
footerbackground: string;
|
|
58
|
+
placeholdertext: string;
|
|
59
|
+
profileCard: string;
|
|
60
|
+
menuBg: string;
|
|
61
|
+
bgGreen: string;
|
|
62
|
+
emblemColor: string;
|
|
63
|
+
disabled: DisabledPalette;
|
|
64
|
+
datagrid: DatagridPalette;
|
|
65
|
+
checkbox: CheckboxPalette;
|
|
66
|
+
}
|
|
67
|
+
interface PaletteOptions {
|
|
68
|
+
menuText?: Partial<MenuTextPalette>;
|
|
69
|
+
borderColor?: string;
|
|
70
|
+
cardborder?: string;
|
|
71
|
+
footerbackground?: string;
|
|
72
|
+
placeholdertext?: string;
|
|
73
|
+
profileCard?: string;
|
|
74
|
+
menuBg?: string;
|
|
75
|
+
bgGreen?: string;
|
|
76
|
+
emblemColor?: string;
|
|
77
|
+
disabled?: Partial<DisabledPalette>;
|
|
78
|
+
datagrid?: Partial<DatagridPalette>;
|
|
79
|
+
checkbox?: Partial<CheckboxPalette>;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
declare module "@mui/material/Typography" {
|
|
83
|
+
interface TypographyPropsVariantOverrides {
|
|
84
|
+
display: true;
|
|
85
|
+
heading: true;
|
|
86
|
+
subheading: true;
|
|
87
|
+
bodyCustom: true;
|
|
88
|
+
label: true;
|
|
89
|
+
captionCustom: true;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
export type ThemeColors = {
|
|
93
|
+
sidebar: {
|
|
94
|
+
bg: string;
|
|
95
|
+
hover: string;
|
|
96
|
+
active: string;
|
|
97
|
+
text: string;
|
|
98
|
+
};
|
|
99
|
+
title: {
|
|
100
|
+
color: string;
|
|
101
|
+
};
|
|
102
|
+
header: {
|
|
103
|
+
bg: string;
|
|
104
|
+
text: string;
|
|
105
|
+
border: string;
|
|
106
|
+
};
|
|
107
|
+
layout: {
|
|
108
|
+
bg: string;
|
|
109
|
+
};
|
|
110
|
+
button: {
|
|
111
|
+
bg: string;
|
|
112
|
+
border: string;
|
|
113
|
+
};
|
|
114
|
+
text: {
|
|
115
|
+
primary: string;
|
|
116
|
+
secondary: string;
|
|
117
|
+
};
|
|
118
|
+
grid: {
|
|
119
|
+
bg: string;
|
|
120
|
+
border: string;
|
|
121
|
+
headerBg: string;
|
|
122
|
+
};
|
|
123
|
+
palette: {
|
|
124
|
+
border: {
|
|
125
|
+
main: string;
|
|
126
|
+
subtle: string;
|
|
127
|
+
};
|
|
128
|
+
menuText: {
|
|
129
|
+
primary: string;
|
|
130
|
+
secondary: string;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
status: {
|
|
134
|
+
success: string;
|
|
135
|
+
error: string;
|
|
136
|
+
warning: string;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
//# sourceMappingURL=mui.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mui.d.ts","sourceRoot":"","sources":["../../../../src/libs/shared/theme/mui.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAA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