Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add font table formatting

dominik-zeglen2982aaa79f23
diff --git a/saleor/static/dashboard-next/theme.ts b/saleor/static/dashboard-next/theme.ts
index a84bcad381..3967e4e53e 100644
--- a/saleor/static/dashboard-next/theme.ts
+++ b/saleor/static/dashboard-next/theme.ts
@@ -21,6 +21,8 @@ export type IThemeColors = Record<
gray: Record<"default" | "disabled", string>;
};
+const fontFamily = '"Inter", "roboto", "sans-serif"';
+
export default (colors: IThemeColors): Theme =>
createMuiTheme({
overrides: {
@@ -126,6 +128,12 @@ export default (colors: IThemeColors): Theme =>
boxShadow: "none"
}
},
+ MuiTable: {
+ root: {
+ fontFamily,
+ fontFeatureSettings: '"tnum"'
+ }
+ },
MuiTableCell: {
body: {
fontSize: ".875rem",
@@ -212,7 +220,7 @@ export default (colors: IThemeColors): Theme =>
],
typography: {
allVariants: {
- fontFamily: '"Inter", "roboto", "sans-serif"'
+ fontFamily
},
body1: {
fontSize: "1rem"