Browse Source

update

Signed-off-by: ryjiang <jiangruiyi@gmail.com>
ryjiang 10 months ago
parent
commit
02e25f8bba

+ 1 - 1
client/src/components/code/CodeView.tsx

@@ -13,7 +13,7 @@ const getStyles = makeStyles((theme: Theme) => ({
     width: '100%',
 
     padding: theme.spacing(4),
-    backgroundColor: theme.palette.attuDark.main,
+    backgroundColor: theme.palette.text.primary,
     display: 'flex',
     flexDirection: 'column',
     color: '#fff',

+ 2 - 1
client/src/pages/databases/collections/overview/Overview.tsx

@@ -44,6 +44,7 @@ const useStyles = makeStyles((theme: Theme) => ({
       fontSize: '14px',
       lineHeight: 1.5,
     },
+    color: theme.palette.text.primary,
     paddingBottom: theme.spacing(2),
   },
   icon: {
@@ -100,7 +101,7 @@ const useStyles = makeStyles((theme: Theme) => ({
       },
 
       '& .value': {
-        color: theme.palette.attuDark.main,
+        color: theme.palette.text.primary,
       },
     },
   },

+ 1 - 1
client/src/pages/dialogs/insert/Import.tsx

@@ -25,7 +25,7 @@ const getStyles = makeStyles((theme: Theme) => ({
       '& .selectLabel': {
         fontSize: '14px',
         lineHeight: '20px',
-        color: theme.palette.attuDark.main,
+        color: theme.palette.text.primary,
       },
 
       '& .divider': {

+ 1 - 0
client/src/styles/theme.ts

@@ -55,6 +55,7 @@ const getCommonThemes = (mode: PaletteMode) => ({
     },
     background: {
       default: mode === 'light' ? '#f5f5f5' : '#121212',
+      paper: mode === 'light' ? '#ffffff' : '#1e1e1e',
     },
   },
   spacing: (factor: number) => `${8 * factor}px`,