@xyo-network/react-theme 6.2.0 → 7.0.1
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.
- package/dist/browser/OsTheme/osThemeOptions.d.ts +5 -5
- package/dist/browser/appThemeOptions.d.ts +3 -3
- package/dist/browser/index.mjs +46 -159
- package/dist/browser/index.mjs.map +1 -1
- package/dist/browser/webThemeOptions.d.ts +3 -3
- package/package.json +10 -6
- package/typedoc.json +0 -5
- package/xy.config.ts +0 -10
|
@@ -7,11 +7,11 @@ export declare const osThemeOptions: {
|
|
|
7
7
|
typography?: import("@mui/material").TypographyVariantsOptions | ((palette: import("@mui/material").Palette) => import("@mui/material").TypographyVariantsOptions);
|
|
8
8
|
zIndex?: Partial<import("@mui/material").ZIndex>;
|
|
9
9
|
unstable_strictMode?: boolean;
|
|
10
|
-
unstable_sxConfig?: import("
|
|
10
|
+
unstable_sxConfig?: import(".store/@mui-system-virtual-01f48b3bec/package").SxConfig;
|
|
11
11
|
modularCssLayers?: boolean | string;
|
|
12
|
-
shape?: import("
|
|
13
|
-
breakpoints?: import("@mui/
|
|
14
|
-
direction?: import("@mui/
|
|
15
|
-
spacing?: import("
|
|
12
|
+
shape?: import(".store/@mui-system-virtual-01f48b3bec/package").ShapeOptions;
|
|
13
|
+
breakpoints?: import("@mui/material").BreakpointsOptions;
|
|
14
|
+
direction?: import("@mui/material").Direction;
|
|
15
|
+
spacing?: import(".store/@mui-system-virtual-01f48b3bec/package").SpacingOptions;
|
|
16
16
|
};
|
|
17
17
|
//# sourceMappingURL=osThemeOptions.d.ts.map
|
|
@@ -7,11 +7,11 @@ export declare const appThemeOptions: {
|
|
|
7
7
|
typography?: import("@mui/material").TypographyVariantsOptions | ((palette: import("@mui/material").Palette) => import("@mui/material").TypographyVariantsOptions);
|
|
8
8
|
zIndex?: Partial<import("@mui/material").ZIndex>;
|
|
9
9
|
unstable_strictMode?: boolean;
|
|
10
|
-
unstable_sxConfig?: import("
|
|
10
|
+
unstable_sxConfig?: import(".store/@mui-system-virtual-01f48b3bec/package").SxConfig;
|
|
11
11
|
modularCssLayers?: boolean | string;
|
|
12
|
-
shape?: import("
|
|
12
|
+
shape?: import(".store/@mui-system-virtual-01f48b3bec/package").ShapeOptions;
|
|
13
13
|
breakpoints?: import("@mui/material").BreakpointsOptions;
|
|
14
14
|
direction?: import("@mui/material").Direction;
|
|
15
|
-
spacing?: import("
|
|
15
|
+
spacing?: import(".store/@mui-system-virtual-01f48b3bec/package").SpacingOptions;
|
|
16
16
|
};
|
|
17
17
|
//# sourceMappingURL=appThemeOptions.d.ts.map
|
package/dist/browser/index.mjs
CHANGED
|
@@ -1,17 +1,6 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
|
|
4
1
|
// src/fontFamily.ts
|
|
5
|
-
var fontFamilyPrimary = [
|
|
6
|
-
|
|
7
|
-
"Helvetica",
|
|
8
|
-
"sans-serif"
|
|
9
|
-
].join(",");
|
|
10
|
-
var fontFamilyOs = [
|
|
11
|
-
"Manrope",
|
|
12
|
-
"Roboto",
|
|
13
|
-
"sans-serif"
|
|
14
|
-
].join(",");
|
|
2
|
+
var fontFamilyPrimary = ["Lexend Deca", "Helvetica", "sans-serif"].join(",");
|
|
3
|
+
var fontFamilyOs = ["Manrope", "Roboto", "sans-serif"].join(",");
|
|
15
4
|
|
|
16
5
|
// src/themeOptions.ts
|
|
17
6
|
var components = {
|
|
@@ -34,16 +23,8 @@ var components = {
|
|
|
34
23
|
}
|
|
35
24
|
},
|
|
36
25
|
MuiLink: {
|
|
37
|
-
defaultProps: {
|
|
38
|
-
|
|
39
|
-
},
|
|
40
|
-
styleOverrides: {
|
|
41
|
-
root: {
|
|
42
|
-
"&:hover": {
|
|
43
|
-
filter: "brightness(75%)"
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
26
|
+
defaultProps: { underline: "none" },
|
|
27
|
+
styleOverrides: { root: { "&:hover": { filter: "brightness(75%)" } } }
|
|
47
28
|
},
|
|
48
29
|
MuiTableCell: {
|
|
49
30
|
styleOverrides: {
|
|
@@ -59,12 +40,8 @@ var components = {
|
|
|
59
40
|
}
|
|
60
41
|
};
|
|
61
42
|
var typography = {
|
|
62
|
-
body1: {
|
|
63
|
-
|
|
64
|
-
},
|
|
65
|
-
body2: {
|
|
66
|
-
lineHeight: 1.57
|
|
67
|
-
},
|
|
43
|
+
body1: { lineHeight: 1.57 },
|
|
44
|
+
body2: { lineHeight: 1.57 },
|
|
68
45
|
button: {
|
|
69
46
|
fontSize: "1rem",
|
|
70
47
|
textTransform: "inherit"
|
|
@@ -86,27 +63,15 @@ var typography = {
|
|
|
86
63
|
fontFamily: fontFamilyPrimary,
|
|
87
64
|
fontSize: "2.24rem"
|
|
88
65
|
},
|
|
89
|
-
h4: {
|
|
90
|
-
|
|
91
|
-
},
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
},
|
|
95
|
-
h6: {
|
|
96
|
-
fontSize: "1.1rem"
|
|
97
|
-
},
|
|
98
|
-
subtitle1: {
|
|
99
|
-
opacity: "70%"
|
|
100
|
-
},
|
|
101
|
-
subtitle2: {
|
|
102
|
-
opacity: "70%"
|
|
103
|
-
}
|
|
66
|
+
h4: { fontSize: "2rem" },
|
|
67
|
+
h5: { fontSize: "1.5rem" },
|
|
68
|
+
h6: { fontSize: "1.1rem" },
|
|
69
|
+
subtitle1: { opacity: "70%" },
|
|
70
|
+
subtitle2: { opacity: "70%" }
|
|
104
71
|
};
|
|
105
72
|
var themeOptions = {
|
|
106
73
|
components,
|
|
107
|
-
shape: {
|
|
108
|
-
borderRadius: 8
|
|
109
|
-
},
|
|
74
|
+
shape: { borderRadius: 8 },
|
|
110
75
|
spacing: 16,
|
|
111
76
|
typography
|
|
112
77
|
};
|
|
@@ -116,7 +81,7 @@ var partialAppThemeOptions = {
|
|
|
116
81
|
components: {
|
|
117
82
|
MuiTypography: {
|
|
118
83
|
styleOverrides: {
|
|
119
|
-
root:
|
|
84
|
+
root: ({ ownerState }) => {
|
|
120
85
|
const { clamped } = ownerState;
|
|
121
86
|
if (clamped) {
|
|
122
87
|
const maxWidth = Number.parseInt(clamped, 10);
|
|
@@ -127,23 +92,18 @@ var partialAppThemeOptions = {
|
|
|
127
92
|
width: `clamp(1%, 100%, ${maxWidth}px)`
|
|
128
93
|
};
|
|
129
94
|
}
|
|
130
|
-
}
|
|
95
|
+
}
|
|
131
96
|
}
|
|
132
97
|
}
|
|
133
98
|
},
|
|
134
99
|
spacing: 8
|
|
135
100
|
};
|
|
136
|
-
var appThemeOptions = {
|
|
137
|
-
...themeOptions,
|
|
138
|
-
...partialAppThemeOptions
|
|
139
|
-
};
|
|
101
|
+
var appThemeOptions = { ...themeOptions, ...partialAppThemeOptions };
|
|
140
102
|
|
|
141
103
|
// src/OsTheme/Components.tsx
|
|
142
104
|
var components2 = {
|
|
143
105
|
MuiCard: {
|
|
144
|
-
defaultProps: {
|
|
145
|
-
elevation: 0
|
|
146
|
-
},
|
|
106
|
+
defaultProps: { elevation: 0 },
|
|
147
107
|
styleOverrides: {
|
|
148
108
|
root: {
|
|
149
109
|
display: "flex",
|
|
@@ -162,22 +122,10 @@ var components2 = {
|
|
|
162
122
|
}
|
|
163
123
|
},
|
|
164
124
|
MuiLink: {
|
|
165
|
-
defaultProps: {
|
|
166
|
-
|
|
167
|
-
},
|
|
168
|
-
styleOverrides: {
|
|
169
|
-
root: {
|
|
170
|
-
"&:hover": {
|
|
171
|
-
filter: "brightness(75%)"
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
},
|
|
176
|
-
MuiPaper: {
|
|
177
|
-
defaultProps: {
|
|
178
|
-
elevation: 0
|
|
179
|
-
}
|
|
125
|
+
defaultProps: { underline: "none" },
|
|
126
|
+
styleOverrides: { root: { "&:hover": { filter: "brightness(75%)" } } }
|
|
180
127
|
},
|
|
128
|
+
MuiPaper: { defaultProps: { elevation: 0 } },
|
|
181
129
|
MuiTableCell: {
|
|
182
130
|
styleOverrides: {
|
|
183
131
|
body: {
|
|
@@ -194,12 +142,8 @@ var components2 = {
|
|
|
194
142
|
|
|
195
143
|
// src/OsTheme/Typography.tsx
|
|
196
144
|
var typography2 = {
|
|
197
|
-
body1: {
|
|
198
|
-
|
|
199
|
-
},
|
|
200
|
-
body2: {
|
|
201
|
-
lineHeight: 1.57
|
|
202
|
-
},
|
|
145
|
+
body1: { lineHeight: 1.57 },
|
|
146
|
+
body2: { lineHeight: 1.57 },
|
|
203
147
|
button: {
|
|
204
148
|
fontSize: "1rem",
|
|
205
149
|
textTransform: "inherit"
|
|
@@ -209,30 +153,14 @@ var typography2 = {
|
|
|
209
153
|
fontWeightLight: 300,
|
|
210
154
|
fontWeightMedium: 600,
|
|
211
155
|
fontWeightRegular: 500,
|
|
212
|
-
h1: {
|
|
213
|
-
|
|
214
|
-
},
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
},
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
},
|
|
221
|
-
h4: {
|
|
222
|
-
fontSize: "2rem"
|
|
223
|
-
},
|
|
224
|
-
h5: {
|
|
225
|
-
fontSize: "1.5rem"
|
|
226
|
-
},
|
|
227
|
-
h6: {
|
|
228
|
-
fontSize: "1.1rem"
|
|
229
|
-
},
|
|
230
|
-
subtitle1: {
|
|
231
|
-
opacity: "70%"
|
|
232
|
-
},
|
|
233
|
-
subtitle2: {
|
|
234
|
-
opacity: "70%"
|
|
235
|
-
}
|
|
156
|
+
h1: { fontSize: "4rem" },
|
|
157
|
+
h2: { fontSize: "2.4rem" },
|
|
158
|
+
h3: { fontSize: "2.24rem" },
|
|
159
|
+
h4: { fontSize: "2rem" },
|
|
160
|
+
h5: { fontSize: "1.5rem" },
|
|
161
|
+
h6: { fontSize: "1.1rem" },
|
|
162
|
+
subtitle1: { opacity: "70%" },
|
|
163
|
+
subtitle2: { opacity: "70%" }
|
|
236
164
|
};
|
|
237
165
|
|
|
238
166
|
// src/OsTheme/DarkMode.tsx
|
|
@@ -241,16 +169,10 @@ var palette = {
|
|
|
241
169
|
default: "#141319",
|
|
242
170
|
paper: "#1C1B20"
|
|
243
171
|
},
|
|
244
|
-
error: {
|
|
245
|
-
main: "#ffb4ab"
|
|
246
|
-
},
|
|
172
|
+
error: { main: "#ffb4ab" },
|
|
247
173
|
mode: "dark",
|
|
248
|
-
primary: {
|
|
249
|
-
|
|
250
|
-
},
|
|
251
|
-
secondary: {
|
|
252
|
-
main: "#C9C3DA"
|
|
253
|
-
},
|
|
174
|
+
primary: { main: "#C9BFFA" },
|
|
175
|
+
secondary: { main: "#C9C3DA" },
|
|
254
176
|
text: {
|
|
255
177
|
primary: "#100029",
|
|
256
178
|
secondary: "#212023"
|
|
@@ -259,9 +181,7 @@ var palette = {
|
|
|
259
181
|
var osThemeOptionsDarkMode = {
|
|
260
182
|
components: components2,
|
|
261
183
|
palette,
|
|
262
|
-
shape: {
|
|
263
|
-
borderRadius: 10
|
|
264
|
-
},
|
|
184
|
+
shape: { borderRadius: 10 },
|
|
265
185
|
spacing: 16,
|
|
266
186
|
typography: typography2
|
|
267
187
|
};
|
|
@@ -272,16 +192,10 @@ var palette2 = {
|
|
|
272
192
|
default: "#FFFFFF",
|
|
273
193
|
paper: "#F6F4ED"
|
|
274
194
|
},
|
|
275
|
-
error: {
|
|
276
|
-
main: "#BA1A1A"
|
|
277
|
-
},
|
|
195
|
+
error: { main: "#BA1A1A" },
|
|
278
196
|
mode: "light",
|
|
279
|
-
primary: {
|
|
280
|
-
|
|
281
|
-
},
|
|
282
|
-
secondary: {
|
|
283
|
-
main: "#A060E0"
|
|
284
|
-
},
|
|
197
|
+
primary: { main: "#100029" },
|
|
198
|
+
secondary: { main: "#A060E0" },
|
|
285
199
|
text: {
|
|
286
200
|
primary: "#100029",
|
|
287
201
|
secondary: "#212023"
|
|
@@ -290,28 +204,17 @@ var palette2 = {
|
|
|
290
204
|
var osThemeOptionsLightMode = {
|
|
291
205
|
components: components2,
|
|
292
206
|
palette: palette2,
|
|
293
|
-
shape: {
|
|
294
|
-
borderRadius: 10
|
|
295
|
-
},
|
|
207
|
+
shape: { borderRadius: 10 },
|
|
296
208
|
spacing: 16,
|
|
297
209
|
typography: typography2
|
|
298
210
|
};
|
|
299
211
|
|
|
300
212
|
// src/OsTheme/osThemeOptions.tsx
|
|
301
|
-
var osThemeOptions = {
|
|
302
|
-
...osThemeOptionsDarkMode,
|
|
303
|
-
...osThemeOptionsLightMode
|
|
304
|
-
};
|
|
213
|
+
var osThemeOptions = { ...osThemeOptionsDarkMode, ...osThemeOptionsLightMode };
|
|
305
214
|
|
|
306
215
|
// src/partialDarkThemeOptions.tsx
|
|
307
216
|
import { darken } from "@mui/material";
|
|
308
|
-
var appComponents = {
|
|
309
|
-
MuiPaper: {
|
|
310
|
-
defaultProps: {
|
|
311
|
-
variant: "elevation"
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
};
|
|
217
|
+
var appComponents = { MuiPaper: { defaultProps: { variant: "elevation" } } };
|
|
315
218
|
var partialDarkThemeOptions = {
|
|
316
219
|
palette: {
|
|
317
220
|
background: {
|
|
@@ -319,40 +222,24 @@ var partialDarkThemeOptions = {
|
|
|
319
222
|
paper: "#171626"
|
|
320
223
|
},
|
|
321
224
|
mode: "dark",
|
|
322
|
-
primary: {
|
|
323
|
-
|
|
324
|
-
},
|
|
325
|
-
secondary: {
|
|
326
|
-
main: "#8EC8FF"
|
|
327
|
-
}
|
|
225
|
+
primary: { main: "#9993F5" },
|
|
226
|
+
secondary: { main: "#8EC8FF" }
|
|
328
227
|
}
|
|
329
228
|
};
|
|
330
|
-
var partialAppDarkThemeOptions = {
|
|
331
|
-
...partialDarkThemeOptions,
|
|
332
|
-
components: appComponents
|
|
333
|
-
};
|
|
229
|
+
var partialAppDarkThemeOptions = { ...partialDarkThemeOptions, components: appComponents };
|
|
334
230
|
|
|
335
231
|
// src/partialLightThemeOptions.tsx
|
|
336
232
|
var partialLightThemeOptions = {
|
|
337
233
|
palette: {
|
|
338
|
-
primary: {
|
|
339
|
-
|
|
340
|
-
},
|
|
341
|
-
secondary: {
|
|
342
|
-
main: "#0f68c9"
|
|
343
|
-
}
|
|
234
|
+
primary: { main: "#1f1a66" },
|
|
235
|
+
secondary: { main: "#0f68c9" }
|
|
344
236
|
}
|
|
345
237
|
};
|
|
346
|
-
var partialAppLightThemeOptions = {
|
|
347
|
-
...partialLightThemeOptions
|
|
348
|
-
};
|
|
238
|
+
var partialAppLightThemeOptions = { ...partialLightThemeOptions };
|
|
349
239
|
|
|
350
240
|
// src/webThemeOptions.tsx
|
|
351
241
|
var partialWebThemeOptions = {};
|
|
352
|
-
var webThemeOptions = {
|
|
353
|
-
...themeOptions,
|
|
354
|
-
...partialWebThemeOptions
|
|
355
|
-
};
|
|
242
|
+
var webThemeOptions = { ...themeOptions, ...partialWebThemeOptions };
|
|
356
243
|
export {
|
|
357
244
|
appThemeOptions,
|
|
358
245
|
components,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/fontFamily.ts","../../src/themeOptions.ts","../../src/appThemeOptions.tsx","../../src/OsTheme/Components.tsx","../../src/OsTheme/Typography.tsx","../../src/OsTheme/DarkMode.tsx","../../src/OsTheme/LightMode.tsx","../../src/OsTheme/osThemeOptions.tsx","../../src/partialDarkThemeOptions.tsx","../../src/partialLightThemeOptions.tsx","../../src/webThemeOptions.tsx"],"sourcesContent":["export const fontFamilyPrimary = ['Lexend Deca', 'Helvetica', 'sans-serif'].join(',')\nexport const fontFamilyOs = ['Manrope', 'Roboto', 'sans-serif'].join(',')\n","import type { ThemeOptions } from '@mui/material'\n\nimport { fontFamilyPrimary } from './fontFamily.ts'\n\nexport const components: ThemeOptions['components'] = {\n MuiCard: {\n styleOverrides: {\n root: {\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'space-between',\n },\n },\n },\n MuiCardHeader: {\n styleOverrides: {\n content: {\n display: 'flex',\n flexDirection: 'column',\n overflow: 'hidden',\n },\n },\n },\n MuiLink: {\n defaultProps: { underline: 'none' },\n styleOverrides: { root: { '&:hover': { filter: 'brightness(75%)' } } },\n },\n MuiTableCell: {\n styleOverrides: {\n body: {\n fontFamily: 'monospace',\n whiteSpace: 'nowrap',\n },\n head: {\n fontWeight: 700,\n whiteSpace: 'nowrap',\n },\n },\n },\n}\n\nexport const typography: ThemeOptions['typography'] = {\n body1: { lineHeight: 1.57 },\n body2: { lineHeight: 1.57 },\n button: {\n fontSize: '1rem',\n textTransform: 'inherit',\n },\n fontFamily: fontFamilyPrimary,\n fontWeightBold: 700,\n fontWeightLight: 200,\n fontWeightMedium: 300,\n fontWeightRegular: 400,\n h1: {\n fontFamily: fontFamilyPrimary,\n fontSize: '4rem',\n },\n h2: {\n fontFamily: fontFamilyPrimary,\n fontSize: '2.4rem',\n },\n h3: {\n fontFamily: fontFamilyPrimary,\n fontSize: '2.24rem',\n },\n h4: { fontSize: '2rem' },\n h5: { fontSize: '1.5rem' },\n h6: { fontSize: '1.1rem' },\n subtitle1: { opacity: '70%' },\n subtitle2: { opacity: '70%' },\n}\n\nexport const themeOptions: ThemeOptions = {\n components,\n shape: { borderRadius: 8 },\n spacing: 16,\n typography,\n}\n","import type { ThemeOptions } from '@mui/material'\n\nimport { themeOptions } from './themeOptions.ts'\n\nconst partialAppThemeOptions: ThemeOptions = {\n components: {\n MuiTypography: {\n styleOverrides: {\n root: ({ ownerState }) => {\n const { clamped } = ownerState\n\n if (clamped) {\n const maxWidth = Number.parseInt(clamped as string, 10)\n\n return {\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n width: `clamp(1%, 100%, ${maxWidth}px)`,\n }\n }\n },\n },\n },\n },\n spacing: 8,\n}\n\nexport const appThemeOptions = { ...themeOptions, ...partialAppThemeOptions }\n","import type { ThemeOptions } from '@mui/material'\n\nexport const components: ThemeOptions['components'] = {\n MuiCard: {\n defaultProps: { elevation: 0 },\n styleOverrides: {\n root: {\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'space-between',\n },\n },\n },\n MuiCardHeader: {\n styleOverrides: {\n content: {\n display: 'flex',\n flexDirection: 'column',\n overflow: 'hidden',\n },\n },\n },\n MuiLink: {\n defaultProps: { underline: 'none' },\n styleOverrides: { root: { '&:hover': { filter: 'brightness(75%)' } } },\n },\n MuiPaper: { defaultProps: { elevation: 0 } },\n MuiTableCell: {\n styleOverrides: {\n body: {\n fontFamily: 'monospace',\n whiteSpace: 'nowrap',\n },\n head: {\n fontWeight: 700,\n whiteSpace: 'nowrap',\n },\n },\n },\n}\n","import type { ThemeOptions } from '@mui/material'\n\nimport { fontFamilyOs } from '../fontFamily.ts'\n\nexport const typography: ThemeOptions['typography'] = {\n body1: { lineHeight: 1.57 },\n body2: { lineHeight: 1.57 },\n button: {\n fontSize: '1rem',\n textTransform: 'inherit',\n },\n fontFamily: fontFamilyOs,\n fontWeightBold: 700,\n fontWeightLight: 300,\n fontWeightMedium: 600,\n fontWeightRegular: 500,\n h1: { fontSize: '4rem' },\n h2: { fontSize: '2.4rem' },\n h3: { fontSize: '2.24rem' },\n h4: { fontSize: '2rem' },\n h5: { fontSize: '1.5rem' },\n h6: { fontSize: '1.1rem' },\n subtitle1: { opacity: '70%' },\n subtitle2: { opacity: '70%' },\n}\n","import type { ThemeOptions } from '@mui/material'\n\nimport { components } from './Components.tsx'\nimport { typography } from './Typography.tsx'\n\nconst palette: ThemeOptions['palette'] = {\n background: {\n default: '#141319',\n paper: '#1C1B20',\n },\n error: { main: '#ffb4ab' },\n mode: 'dark',\n primary: { main: '#C9BFFA' },\n secondary: { main: '#C9C3DA' },\n text: {\n primary: '#100029',\n secondary: '#212023',\n },\n}\n\nexport const osThemeOptionsDarkMode: ThemeOptions = {\n components,\n palette,\n shape: { borderRadius: 10 },\n spacing: 16,\n typography,\n}\n","import type { ThemeOptions } from '@mui/material'\n\nimport { components } from './Components.tsx'\nimport { typography } from './Typography.tsx'\n\nconst palette: ThemeOptions['palette'] = {\n background: {\n default: '#FFFFFF',\n paper: '#F6F4ED',\n },\n error: { main: '#BA1A1A' },\n mode: 'light',\n primary: { main: '#100029' },\n secondary: { main: '#A060E0' },\n text: {\n primary: '#100029',\n secondary: '#212023',\n },\n}\n\nexport const osThemeOptionsLightMode: ThemeOptions = {\n components,\n palette,\n shape: { borderRadius: 10 },\n spacing: 16,\n typography,\n}\n","import { osThemeOptionsDarkMode } from './DarkMode.tsx'\nimport { osThemeOptionsLightMode } from './LightMode.tsx'\n\nexport const osThemeOptions = { ...osThemeOptionsDarkMode, ...osThemeOptionsLightMode }\n","import type { ThemeOptions } from '@mui/material'\nimport { darken } from '@mui/material'\n\nconst appComponents: ThemeOptions['components'] = { MuiPaper: { defaultProps: { variant: 'elevation' } } }\n\nexport const partialDarkThemeOptions: ThemeOptions = {\n palette: {\n background: {\n default: darken('#171626', 0.1),\n paper: '#171626',\n },\n mode: 'dark',\n primary: { main: '#9993F5' },\n secondary: { main: '#8EC8FF' },\n },\n}\n\nexport const partialAppDarkThemeOptions: ThemeOptions = { ...partialDarkThemeOptions, components: appComponents }\n","import type { ThemeOptions } from '@mui/material'\n\nexport const partialLightThemeOptions: ThemeOptions = {\n palette: {\n primary: { main: '#1f1a66' },\n secondary: { main: '#0f68c9' },\n },\n}\n\nexport const partialAppLightThemeOptions: ThemeOptions = { ...partialLightThemeOptions }\n","import type { ThemeOptions } from '@mui/material'\n\nimport { themeOptions } from './themeOptions.ts'\n\nconst partialWebThemeOptions: ThemeOptions = {}\n\nexport const webThemeOptions = { ...themeOptions, ...partialWebThemeOptions }\n"],"mappings":";;;;AAAO,IAAMA,oBAAoB;EAAC;EAAe;EAAa;EAAcC,KAAK,GAAA;AAC1E,IAAMC,eAAe;EAAC;EAAW;EAAU;EAAcD,KAAK,GAAA;;;ACG9D,IAAME,aAAyC;EACpDC,SAAS;IACPC,gBAAgB;MACdC,MAAM;QACJC,SAAS;QACTC,eAAe;QACfC,gBAAgB;MAClB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FamilyOs","components","MuiCard","styleOverrides","root","display","flexDirection","justifyContent","MuiCardHeader","content","overflow","MuiLink","defaultProps","underline","filter","MuiTableCell","body","fontFamily","whiteSpace","head","fontWeight","typography","body1","lineHeight","body2","button","fontSize","textTransform","fontFamilyPrimary","fontWeightBold","fontWeightLight","fontWeightMedium","fontWeightRegular","h1","h2","h3","h4","h5","h6","subtitle1","opacity","subtitle2","themeOptions","shape","borderRadius","spacing","partialAppThemeOptions","components","MuiTypography","styleOverrides","root","ownerState","clamped","maxWidth","Number","parseInt","overflow","textOverflow","whiteSpace","width","spacing","appThemeOptions","themeOptions","components","MuiCard","defaultProps","elevation","styleOverrides","root","display","flexDirection","justifyContent","MuiCardHeader","content","overflow","MuiLink","underline","filter","MuiPaper","MuiTableCell","body","fontFamily","whiteSpace","head","fontWeight","typography","body1","lineHeight","body2","button","fontSize","textTransform","fontFamily","fontFamilyOs","fontWeightBold","fontWeightLight","fontWeightMedium","fontWeightRegular","h1","h2","h3","h4","h5","h6","subtitle1","opacity","subtitle2","palette","background","default","paper","error","main","mode","primary","secondary","text","osThemeOptionsDarkMode","components","shape","borderRadius","spacing","typography","palette","background","default","paper","error","main","mode","primary","secondary","text","osThemeOptionsLightMode","components","shape","borderRadius","spacing","typography","osThemeOptions","osThemeOptionsDarkMode","osThemeOptionsLightMode","darken","appComponents","MuiPaper","defaultProps","variant","partialDarkThemeOptions","palette","background","default","paper","mode","primary","main","secondary","partialAppDarkThemeOptions","components","partialLightThemeOptions","palette","primary","main","secondary","partialAppLightThemeOptions","partialWebThemeOptions","webThemeOptions","themeOptions"]}
|
|
1
|
+
{"version":3,"sources":["../../src/fontFamily.ts","../../src/themeOptions.ts","../../src/appThemeOptions.tsx","../../src/OsTheme/Components.tsx","../../src/OsTheme/Typography.tsx","../../src/OsTheme/DarkMode.tsx","../../src/OsTheme/LightMode.tsx","../../src/OsTheme/osThemeOptions.tsx","../../src/partialDarkThemeOptions.tsx","../../src/partialLightThemeOptions.tsx","../../src/webThemeOptions.tsx"],"sourcesContent":["export const fontFamilyPrimary = ['Lexend Deca', 'Helvetica', 'sans-serif'].join(',')\nexport const fontFamilyOs = ['Manrope', 'Roboto', 'sans-serif'].join(',')\n","import type { ThemeOptions } from '@mui/material'\n\nimport { fontFamilyPrimary } from './fontFamily.ts'\n\nexport const components: ThemeOptions['components'] = {\n MuiCard: {\n styleOverrides: {\n root: {\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'space-between',\n },\n },\n },\n MuiCardHeader: {\n styleOverrides: {\n content: {\n display: 'flex',\n flexDirection: 'column',\n overflow: 'hidden',\n },\n },\n },\n MuiLink: {\n defaultProps: { underline: 'none' },\n styleOverrides: { root: { '&:hover': { filter: 'brightness(75%)' } } },\n },\n MuiTableCell: {\n styleOverrides: {\n body: {\n fontFamily: 'monospace',\n whiteSpace: 'nowrap',\n },\n head: {\n fontWeight: 700,\n whiteSpace: 'nowrap',\n },\n },\n },\n}\n\nexport const typography: ThemeOptions['typography'] = {\n body1: { lineHeight: 1.57 },\n body2: { lineHeight: 1.57 },\n button: {\n fontSize: '1rem',\n textTransform: 'inherit',\n },\n fontFamily: fontFamilyPrimary,\n fontWeightBold: 700,\n fontWeightLight: 200,\n fontWeightMedium: 300,\n fontWeightRegular: 400,\n h1: {\n fontFamily: fontFamilyPrimary,\n fontSize: '4rem',\n },\n h2: {\n fontFamily: fontFamilyPrimary,\n fontSize: '2.4rem',\n },\n h3: {\n fontFamily: fontFamilyPrimary,\n fontSize: '2.24rem',\n },\n h4: { fontSize: '2rem' },\n h5: { fontSize: '1.5rem' },\n h6: { fontSize: '1.1rem' },\n subtitle1: { opacity: '70%' },\n subtitle2: { opacity: '70%' },\n}\n\nexport const themeOptions: ThemeOptions = {\n components,\n shape: { borderRadius: 8 },\n spacing: 16,\n typography,\n}\n","import type { ThemeOptions } from '@mui/material'\n\nimport { themeOptions } from './themeOptions.ts'\n\nconst partialAppThemeOptions: ThemeOptions = {\n components: {\n MuiTypography: {\n styleOverrides: {\n root: ({ ownerState }) => {\n const { clamped } = ownerState\n\n if (clamped) {\n const maxWidth = Number.parseInt(clamped as string, 10)\n\n return {\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n width: `clamp(1%, 100%, ${maxWidth}px)`,\n }\n }\n },\n },\n },\n },\n spacing: 8,\n}\n\nexport const appThemeOptions = { ...themeOptions, ...partialAppThemeOptions }\n","import type { ThemeOptions } from '@mui/material'\n\nexport const components: ThemeOptions['components'] = {\n MuiCard: {\n defaultProps: { elevation: 0 },\n styleOverrides: {\n root: {\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'space-between',\n },\n },\n },\n MuiCardHeader: {\n styleOverrides: {\n content: {\n display: 'flex',\n flexDirection: 'column',\n overflow: 'hidden',\n },\n },\n },\n MuiLink: {\n defaultProps: { underline: 'none' },\n styleOverrides: { root: { '&:hover': { filter: 'brightness(75%)' } } },\n },\n MuiPaper: { defaultProps: { elevation: 0 } },\n MuiTableCell: {\n styleOverrides: {\n body: {\n fontFamily: 'monospace',\n whiteSpace: 'nowrap',\n },\n head: {\n fontWeight: 700,\n whiteSpace: 'nowrap',\n },\n },\n },\n}\n","import type { ThemeOptions } from '@mui/material'\n\nimport { fontFamilyOs } from '../fontFamily.ts'\n\nexport const typography: ThemeOptions['typography'] = {\n body1: { lineHeight: 1.57 },\n body2: { lineHeight: 1.57 },\n button: {\n fontSize: '1rem',\n textTransform: 'inherit',\n },\n fontFamily: fontFamilyOs,\n fontWeightBold: 700,\n fontWeightLight: 300,\n fontWeightMedium: 600,\n fontWeightRegular: 500,\n h1: { fontSize: '4rem' },\n h2: { fontSize: '2.4rem' },\n h3: { fontSize: '2.24rem' },\n h4: { fontSize: '2rem' },\n h5: { fontSize: '1.5rem' },\n h6: { fontSize: '1.1rem' },\n subtitle1: { opacity: '70%' },\n subtitle2: { opacity: '70%' },\n}\n","import type { ThemeOptions } from '@mui/material'\n\nimport { components } from './Components.tsx'\nimport { typography } from './Typography.tsx'\n\nconst palette: ThemeOptions['palette'] = {\n background: {\n default: '#141319',\n paper: '#1C1B20',\n },\n error: { main: '#ffb4ab' },\n mode: 'dark',\n primary: { main: '#C9BFFA' },\n secondary: { main: '#C9C3DA' },\n text: {\n primary: '#100029',\n secondary: '#212023',\n },\n}\n\nexport const osThemeOptionsDarkMode: ThemeOptions = {\n components,\n palette,\n shape: { borderRadius: 10 },\n spacing: 16,\n typography,\n}\n","import type { ThemeOptions } from '@mui/material'\n\nimport { components } from './Components.tsx'\nimport { typography } from './Typography.tsx'\n\nconst palette: ThemeOptions['palette'] = {\n background: {\n default: '#FFFFFF',\n paper: '#F6F4ED',\n },\n error: { main: '#BA1A1A' },\n mode: 'light',\n primary: { main: '#100029' },\n secondary: { main: '#A060E0' },\n text: {\n primary: '#100029',\n secondary: '#212023',\n },\n}\n\nexport const osThemeOptionsLightMode: ThemeOptions = {\n components,\n palette,\n shape: { borderRadius: 10 },\n spacing: 16,\n typography,\n}\n","import { osThemeOptionsDarkMode } from './DarkMode.tsx'\nimport { osThemeOptionsLightMode } from './LightMode.tsx'\n\nexport const osThemeOptions = { ...osThemeOptionsDarkMode, ...osThemeOptionsLightMode }\n","import type { ThemeOptions } from '@mui/material'\nimport { darken } from '@mui/material'\n\nconst appComponents: ThemeOptions['components'] = { MuiPaper: { defaultProps: { variant: 'elevation' } } }\n\nexport const partialDarkThemeOptions: ThemeOptions = {\n palette: {\n background: {\n default: darken('#171626', 0.1),\n paper: '#171626',\n },\n mode: 'dark',\n primary: { main: '#9993F5' },\n secondary: { main: '#8EC8FF' },\n },\n}\n\nexport const partialAppDarkThemeOptions: ThemeOptions = { ...partialDarkThemeOptions, components: appComponents }\n","import type { ThemeOptions } from '@mui/material'\n\nexport const partialLightThemeOptions: ThemeOptions = {\n palette: {\n primary: { main: '#1f1a66' },\n secondary: { main: '#0f68c9' },\n },\n}\n\nexport const partialAppLightThemeOptions: ThemeOptions = { ...partialLightThemeOptions }\n","import type { ThemeOptions } from '@mui/material'\n\nimport { themeOptions } from './themeOptions.ts'\n\nconst partialWebThemeOptions: ThemeOptions = {}\n\nexport const webThemeOptions = { ...themeOptions, ...partialWebThemeOptions }\n"],"mappings":";AAAO,IAAM,oBAAoB,CAAC,eAAe,aAAa,YAAY,EAAE,KAAK,GAAG;AAC7E,IAAM,eAAe,CAAC,WAAW,UAAU,YAAY,EAAE,KAAK,GAAG;;;ACGjE,IAAM,aAAyC;AAAA,EACpD,SAAS;AAAA,IACP,gBAAgB;AAAA,MACd,MAAM;AAAA,QACJ,SAAS;AAAA,QACT,eAAe;AAAA,QACf,gBAAgB;AAAA,MAClB;AAAA,IACF;AAAA,EACF;AAAA,EACA,eAAe;AAAA,IACb,gBAAgB;AAAA,MACd,SAAS;AAAA,QACP,SAAS;AAAA,QACT,eAAe;AAAA,QACf,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,EACF;AAAA,EACA,SAAS;AAAA,IACP,cAAc,EAAE,WAAW,OAAO;AAAA,IAClC,gBAAgB,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,kBAAkB,EAAE,EAAE;AAAA,EACvE;AAAA,EACA,cAAc;AAAA,IACZ,gBAAgB;AAAA,MACd,MAAM;AAAA,QACJ,YAAY;AAAA,QACZ,YAAY;AAAA,MACd;AAAA,MACA,MAAM;AAAA,QACJ,YAAY;AAAA,QACZ,YAAY;AAAA,MACd;AAAA,IACF;AAAA,EACF;AACF;AAEO,IAAM,aAAyC;AAAA,EACpD,OAAO,EAAE,YAAY,KAAK;AAAA,EAC1B,OAAO,EAAE,YAAY,KAAK;AAAA,EAC1B,QAAQ;AAAA,IACN,UAAU;AAAA,IACV,eAAe;AAAA,EACjB;AAAA,EACA,YAAY;AAAA,EACZ,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,kBAAkB;AAAA,EAClB,mBAAmB;AAAA,EACnB,IAAI;AAAA,IACF,YAAY;AAAA,IACZ,UAAU;AAAA,EACZ;AAAA,EACA,IAAI;AAAA,IACF,YAAY;AA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A,OAAO,EAAE,cAAc,GAAG;AAAA,EAC1B,SAAS;AAAA,EACT,YAAAC;AACF;;;ACrBA,IAAMC,WAAmC;AAAA,EACvC,YAAY;AAAA,IACV,SAAS;AAAA,IACT,OAAO;AAAA,EACT;AAAA,EACA,OAAO,EAAE,MAAM,UAAU;AAAA,EACzB,MAAM;AAAA,EACN,SAAS,EAAE,MAAM,UAAU;AAAA,EAC3B,WAAW,EAAE,MAAM,UAAU;AAAA,EAC7B,MAAM;AAAA,IACJ,SAAS;AAAA,IACT,WAAW;AAAA,EACb;AACF;AAEO,IAAM,0BAAwC;AAAA,EACnD,YAAAC;AAAA,EACA,SAAAD;AAAA,EACA,OAAO,EAAE,cAAc,GAAG;AAAA,EAC1B,SAAS;AAAA,EACT,YAAAE;AACF;;;ACvBO,IAAM,iBAAiB,EAAE,GAAG,wBAAwB,GAAG,wBAAwB;;;ACFtF,SAAS,cAAc;AAEvB,IAAM,gBAA4C,EAAE,UAAU,EAAE,cAAc,EAAE,SAAS,YAAY,EAAE,EAAE;AAElG,IAAM,0BAAwC;AAAA,EACnD,SAAS;AAAA,IACP,YAAY;AAAA,MACV,SAAS,OAAO,WAAW,GAAG;AAAA,MAC9B,OAAO;AAAA,IACT;AAAA,IACA,MAAM;AAAA,IACN,SAAS,EAAE,MAAM,UAAU;AAAA,IAC3B,WAAW,EAAE,MAAM,UAAU;AAAA,EAC/B;AACF;AAEO,IAAM,6BAA2C,EAAE,GAAG,yBAAyB,YAAY,cAAc;;;ACfzG,IAAM,2BAAyC;AAAA,EACpD,SAAS;AAAA,IACP,SAAS,EAAE,MAAM,UAAU;AAAA,IAC3B,WAAW,EAAE,MAAM,UAAU;AAAA,EAC/B;AACF;AAEO,IAAM,8BAA4C,EAAE,GAAG,yBAAyB;;;ACLvF,IAAM,yBAAuC,CAAC;AAEvC,IAAM,kBAAkB,EAAE,GAAG,cAAc,GAAG,uBAAuB;","names":["components","typography","components","typography","palette","components","typography"]}
|
|
@@ -7,11 +7,11 @@ export declare const webThemeOptions: {
|
|
|
7
7
|
typography?: import("@mui/material").TypographyVariantsOptions | ((palette: import("@mui/material").Palette) => import("@mui/material").TypographyVariantsOptions);
|
|
8
8
|
zIndex?: Partial<import("@mui/material").ZIndex>;
|
|
9
9
|
unstable_strictMode?: boolean;
|
|
10
|
-
unstable_sxConfig?: import("
|
|
10
|
+
unstable_sxConfig?: import(".store/@mui-system-virtual-01f48b3bec/package").SxConfig;
|
|
11
11
|
modularCssLayers?: boolean | string;
|
|
12
|
-
shape?: import("
|
|
12
|
+
shape?: import(".store/@mui-system-virtual-01f48b3bec/package").ShapeOptions;
|
|
13
13
|
breakpoints?: import("@mui/material").BreakpointsOptions;
|
|
14
14
|
direction?: import("@mui/material").Direction;
|
|
15
|
-
spacing?: import("
|
|
15
|
+
spacing?: import(".store/@mui-system-virtual-01f48b3bec/package").SpacingOptions;
|
|
16
16
|
};
|
|
17
17
|
//# sourceMappingURL=webThemeOptions.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/react-theme",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.1",
|
|
4
4
|
"description": "Common React library for all XYO projects that use React",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"xyo",
|
|
@@ -38,14 +38,18 @@
|
|
|
38
38
|
},
|
|
39
39
|
"module": "dist/browser/index.mjs",
|
|
40
40
|
"types": "dist/browser/index.d.ts",
|
|
41
|
+
"files": [
|
|
42
|
+
"dist",
|
|
43
|
+
"src"
|
|
44
|
+
],
|
|
41
45
|
"devDependencies": {
|
|
42
|
-
"@xylabs/ts-scripts-yarn3": "
|
|
43
|
-
"typescript": "
|
|
46
|
+
"@xylabs/ts-scripts-yarn3": "~7.1.1",
|
|
47
|
+
"typescript": "~5.9.2"
|
|
44
48
|
},
|
|
45
49
|
"peerDependencies": {
|
|
46
|
-
"@mui/material": "
|
|
47
|
-
"react": "
|
|
48
|
-
"react-dom": "
|
|
50
|
+
"@mui/material": "~6",
|
|
51
|
+
"react": "~19",
|
|
52
|
+
"react-dom": "~19"
|
|
49
53
|
},
|
|
50
54
|
"publishConfig": {
|
|
51
55
|
"access": "public"
|
package/typedoc.json
DELETED