Use Geist font in DataGrid

This commit is contained in:
Stan Wohlwend 2024-03-04 15:40:55 +01:00
parent b55344fcc6
commit 7bc444dcff
3 changed files with 13 additions and 1 deletions

View File

@ -111,6 +111,9 @@ export function UsersTable(props: {
initialState={{
pagination: { paginationModel: { pageSize: 15 } },
}}
sx={{
fontFamily: "inherit",
}}
processRowUpdate={async (updatedRow, originalRow) => {
for (const column of columns) {

View File

@ -115,8 +115,12 @@ export function ApiKeysTable(props: {
},
},
}}
sx={{
fontFamily: "inherit",
}}
pageSizeOptions={[5, 15, 25]}
/>
<Dialog
title

View File

@ -9,7 +9,12 @@ import {
import { useColorScheme as useMaterialColorScheme } from "@mui/material";
import NextLink from "next/link";
import React from "react";
const materialTheme = materialExtendTheme();
const materialTheme = materialExtendTheme({
typography: {
fontFamily: `var(--font-geist-sans, sans-serif)`,
},
});
const theme = extendTheme({
fontFamily: {