From eb6f64ec536a7bc00ae3fe2013fcc1dd284e67f0 Mon Sep 17 00:00:00 2001 From: "cyril.tsui" Date: Thu, 7 Aug 2025 18:53:34 +0800 Subject: [PATCH] update --- src/theme/devias-material-kit/components.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/theme/devias-material-kit/components.ts b/src/theme/devias-material-kit/components.ts index 12e6886..4e36d18 100644 --- a/src/theme/devias-material-kit/components.ts +++ b/src/theme/devias-material-kit/components.ts @@ -298,6 +298,18 @@ const components: ThemeOptions["components"] = { }, }, }, + MuiTableRow: { + styleOverrides: { + root: { + // '&:nth-of-type(odd)': { + // backgroundColor: 'rgba(0, 0, 0, 0.04)', // Example for odd rows + // }, + '&:nth-of-type(even)': { + backgroundColor: palette.neutral[50], // Example for even rows + }, + }, + }, + }, MuiTableCell: { styleOverrides: { root: {