2023-06-29 02:45:40 +12:00
|
|
|
/** @type {import("@mui/material").ThemeOptions} */
|
2023-06-29 07:18:04 +12:00
|
|
|
const baseThemeOptions = {
|
2022-03-01 10:56:38 +13:00
|
|
|
components: {
|
|
|
|
MuiListItemIcon: {
|
|
|
|
styleOverrides: {
|
|
|
|
root: {
|
|
|
|
minWidth: "36px",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2022-03-05 06:10:11 +13:00
|
|
|
MuiCardContent: {
|
|
|
|
styleOverrides: {
|
|
|
|
root: {
|
|
|
|
":last-child": {
|
|
|
|
paddingBottom: "16px",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2022-03-01 10:56:38 +13:00
|
|
|
},
|
2023-06-29 02:45:40 +12:00
|
|
|
};
|
|
|
|
|
2023-06-29 03:20:01 +12:00
|
|
|
// https://github.com/binwiederhier/ntfy-android/blob/main/app/src/main/res/values/colors.xml
|
|
|
|
|
2023-06-29 07:18:04 +12:00
|
|
|
/** @type {import("@mui/material").ThemeOptions} */
|
|
|
|
export const lightTheme = {
|
|
|
|
...baseThemeOptions,
|
|
|
|
components: {
|
|
|
|
...baseThemeOptions.components,
|
2023-06-29 02:45:40 +12:00
|
|
|
},
|
2023-06-29 07:18:04 +12:00
|
|
|
palette: {
|
|
|
|
mode: "light",
|
|
|
|
primary: {
|
|
|
|
main: "#338574",
|
|
|
|
},
|
|
|
|
secondary: {
|
|
|
|
main: "#6cead0",
|
|
|
|
},
|
|
|
|
error: {
|
|
|
|
main: "#c30000",
|
|
|
|
},
|
2023-06-29 02:45:40 +12:00
|
|
|
},
|
|
|
|
};
|
|
|
|
|
2023-06-29 07:18:04 +12:00
|
|
|
/** @type {import("@mui/material").ThemeOptions} */
|
|
|
|
export const darkTheme = {
|
|
|
|
...baseThemeOptions,
|
|
|
|
components: {
|
|
|
|
...baseThemeOptions.components,
|
|
|
|
MuiSnackbarContent: {
|
|
|
|
styleOverrides: {
|
|
|
|
root: {
|
|
|
|
color: "#000",
|
|
|
|
backgroundColor: "#aeaeae",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2023-06-29 02:45:40 +12:00
|
|
|
},
|
2023-06-29 07:18:04 +12:00
|
|
|
palette: {
|
|
|
|
mode: "dark",
|
|
|
|
background: {
|
|
|
|
paper: "#1b2124",
|
|
|
|
},
|
|
|
|
primary: {
|
|
|
|
main: "#65b5a3",
|
|
|
|
},
|
|
|
|
secondary: {
|
|
|
|
main: "#6cead0",
|
|
|
|
},
|
|
|
|
error: {
|
|
|
|
main: "#fe4d2e",
|
|
|
|
},
|
2023-06-29 03:20:01 +12:00
|
|
|
},
|
2023-06-29 02:45:40 +12:00
|
|
|
};
|