mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-10-14 09:02:15 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
47c39f93b7 |
@@ -18,6 +18,7 @@
|
|||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
import { createTheme, type Theme } from "@mui/material/styles";
|
import { createTheme, type Theme } from "@mui/material/styles";
|
||||||
|
import type {} from "@mui/x-data-grid/themeAugmentation";
|
||||||
|
|
||||||
export function createAppTheme(mode: "light" | "dark"): Theme {
|
export function createAppTheme(mode: "light" | "dark"): Theme {
|
||||||
return createTheme({
|
return createTheme({
|
||||||
@@ -30,6 +31,14 @@ export function createAppTheme(mode: "light" | "dark"): Theme {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
MuiDataGrid: {
|
||||||
|
styleOverrides: {
|
||||||
|
cell: {
|
||||||
|
alignItems: "center",
|
||||||
|
display: "flex",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
MuiDialog: {
|
MuiDialog: {
|
||||||
defaultProps: {
|
defaultProps: {
|
||||||
fullWidth: true,
|
fullWidth: true,
|
||||||
|
|||||||
Reference in new issue
Block a user