From c3af288c53805cc1b08516cf2f47dcf75f30f67a Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期六, 21 九月 2024 13:53:34 +0800 Subject: [PATCH] # --- zy-acs-flow/src/themes/rcsTheme.js | 62 +++++++++++++----------------- 1 files changed, 27 insertions(+), 35 deletions(-) diff --git a/zy-acs-flow/src/themes/rcsTheme.js b/zy-acs-flow/src/themes/rcsTheme.js index ab78f84..f512d7d 100644 --- a/zy-acs-flow/src/themes/rcsTheme.js +++ b/zy-acs-flow/src/themes/rcsTheme.js @@ -54,16 +54,18 @@ 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', + default: 'rgb(250, 250, 251)', + // default: '#fcfcfe', + // paper: 'rgb(255, 255, 255)', }, mode: 'light', }, @@ -85,16 +87,6 @@ }, }, }, - MuiPaper: { - styleOverrides: { - elevation1: { - boxShadow: 'none', - }, - root: { - backgroundClip: 'padding-box', - }, - }, - }, MuiAppBar: { styleOverrides: { colorSecondary: { @@ -106,16 +98,16 @@ elevation: 1, }, }, - MuiLinearProgress: { - styleOverrides: { - colorPrimary: { - backgroundColor: '#f5f5f5', - }, - barColorPrimary: { - backgroundColor: '#d7d7d7', - }, - }, - }, + // MuiLinearProgress: { + // styleOverrides: { + // colorPrimary: { + // backgroundColor: '#f5f5f5', + // }, + // barColorPrimary: { + // backgroundColor: '#d7d7d7', + // }, + // }, + // }, MuiTable: { styleOverrides: { root: { @@ -123,12 +115,12 @@ }, }, }, - MuiTableRow: { - styleOverrides: { - root: { - '&:last-child td': { border: 0 }, - }, - }, - }, + // MuiTableRow: { + // styleOverrides: { + // root: { + // '&:last-child td': { border: 0 }, + // }, + // }, + // }, }, }; -- Gitblit v1.9.1