From 06b7c3a60732ad12ee6e26bfbdcf830487ea3516 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期五, 20 九月 2024 16:39:52 +0800 Subject: [PATCH] # --- zy-acs-flow/src/themes/rcsTheme.js | 71 +++++++++++++++++------------------ 1 files changed, 34 insertions(+), 37 deletions(-) diff --git a/zy-acs-flow/src/themes/rcsTheme.js b/zy-acs-flow/src/themes/rcsTheme.js index b5cbb9c..34df225 100644 --- a/zy-acs-flow/src/themes/rcsTheme.js +++ b/zy-acs-flow/src/themes/rcsTheme.js @@ -41,27 +41,34 @@ elevation: 1, }, }, + MuiTable: { + styleOverrides: { + root: { + border: '1px solid #333', + }, + }, + }, }, } export const rcsLightTheme = { palette: { primary: { - main: '#2F68AC', + main: `${MAIN_COLOR}`, }, - // secondary: { - // light: '#5f5fc4', - // main: '#283593', - // dark: '#001064', - // contrastText: '#fff', + secondary: { + // light: '#5f5fc4', + main: `${MAIN_COLOR}`, + // dark: '#001064', + // contrastText: '#fff', + }, + // background: { + // default: '#fafafb', // }, - background: { - default: '#fafafb', - }, mode: 'light', }, shape: { - borderRadius: 10, + // borderRadius: 10, }, sidebar: { width: 200, @@ -78,16 +85,6 @@ }, }, }, - MuiPaper: { - styleOverrides: { - elevation1: { - boxShadow: 'none', - }, - root: { - backgroundClip: 'padding-box', - }, - }, - }, MuiAppBar: { styleOverrides: { colorSecondary: { @@ -99,16 +96,16 @@ elevation: 1, }, }, - MuiLinearProgress: { - styleOverrides: { - colorPrimary: { - backgroundColor: '#f5f5f5', - }, - barColorPrimary: { - backgroundColor: '#d7d7d7', - }, - }, - }, + // MuiLinearProgress: { + // styleOverrides: { + // colorPrimary: { + // backgroundColor: '#f5f5f5', + // }, + // barColorPrimary: { + // backgroundColor: '#d7d7d7', + // }, + // }, + // }, MuiTable: { styleOverrides: { root: { @@ -116,12 +113,12 @@ }, }, }, - MuiTableRow: { - styleOverrides: { - root: { - '&:last-child td': { border: 0 }, - }, - }, - }, + // MuiTableRow: { + // styleOverrides: { + // root: { + // '&:last-child td': { border: 0 }, + // }, + // }, + // }, }, }; -- Gitblit v1.9.1