Skip to content

Commit 7a13ae4

Browse files
committed
merged before
2 parents 5ca4ce2 + 4b1f14a commit 7a13ae4

25 files changed

+279
-115
lines changed

app/src/components/ContextAPIManager/ContextManager.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ import { RootState } from '../../redux/store';
1515

1616
const useStyles = makeStyles({
1717
contextContainer: {
18-
backgroundColor: 'white',
19-
height: 'fit-content'
18+
backgroundColor: '#191919',
19+
height: 'fit-content',
2020
}
2121
});
2222

@@ -33,7 +33,7 @@ const ContextManager = (props): JSX.Element => {
3333
};
3434

3535
const background_Color = isDarkMode ? '#21262b' : 'white'
36-
const color = isDarkMode ? 'white' : 'black'
36+
const color = isDarkMode ? 'white' : 'white'
3737

3838
return (
3939
<React.Fragment>

app/src/components/ContextAPIManager/CreateTab/CreateContainer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ const CreateContainer = () => {
122122
<Divider orientation="vertical" variant="middle" flexItem />
123123
<Grid item>
124124
<Typography
125-
style={{ color: 'black' }}
125+
style={{ color: 'white' }}
126126
variant="h6"
127127
gutterBottom={true}
128128
>

app/src/components/ContextAPIManager/CreateTab/components/AddContextForm.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const AddContextForm = ({
3030
isDarkMode: store.darkMode.isDarkMode,
3131
state: store.appState
3232
}));
33-
const color = isDarkMode ? 'white' : 'black';
33+
const color = isDarkMode ? 'black' : 'white';
3434

3535
//handler for submitting new context for creation
3636
const handleSubmit = () => {
@@ -113,6 +113,7 @@ const AddContextForm = ({
113113
</Snackbar>
114114
<Button
115115
variant="contained"
116+
color="primary"
116117
onClick={handleSubmit}
117118
disabled={btnDisabled}
118119
>
@@ -140,7 +141,7 @@ const AddContextForm = ({
140141
</Select>
141142
</FormControl>
142143
<Button
143-
color="error"
144+
color="primary"
144145
variant="contained"
145146
onClick={handleDeleteContextClick}
146147
>

app/src/components/ContextAPIManager/CreateTab/components/AddDataForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const AddDataForm = ({ handleClickInputData, currentContext }) => {
1919
}
2020
handleClickInputData(currentContext, dataContext);
2121
};
22-
const color = isDarkMode ? 'white' : 'black';
22+
const color = isDarkMode ? 'black' : 'white';
2323

2424
const handleChange = (e) => {
2525
setDataContext((prevDataContext) => {

app/src/components/StateManagement/CreateTab/components/StatePropsPanel.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -510,15 +510,15 @@ const useStyles = makeStyles((theme: Theme) => ({
510510
textAlign: 'center',
511511
margin: '-20px 0px 5px 150px',
512512
borderStyle: 'none',
513-
transition: '0.3s'
513+
transition: '0.3s',
514514
// borderRadius: "25px",
515515
},
516516
rootToggle: {
517517
color: '#696969',
518518
fontSize: '0.85rem'
519519
},
520520
lightThemeFontColor: {
521-
color: '#155084'
521+
color: 'white'
522522
},
523523
darkThemeFontColor: {
524524
color: '#fff'
@@ -575,7 +575,7 @@ const useStyles = makeStyles((theme: Theme) => ({
575575
},
576576
inputTextLight: {
577577
'& .MuiInputBase-input': {
578-
color: 'rgba(0,0,0,0.54)'
578+
color: 'white'
579579
}
580580
}
581581
}));

app/src/components/StateManagement/CreateTab/components/TableParentProps.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,12 @@ const TableParentProps = props => {
119119

120120
const useStyles = makeStyles({
121121
themeLight: {
122-
color: 'rgba(0,0,0,0.54)',
122+
color: 'white',
123123
'& button:hover':{
124124
backgroundColor: 'LightGray'
125125
},
126126
'& button':{
127-
color: 'black'
127+
color: 'white'
128128
},
129129
'& .MuiTablePagination-root': {
130130
color: 'rbga(0,0,0,0.54)'

app/src/components/StateManagement/CreateTab/components/TablePassedInProps.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,12 @@ const TablePassedInProps = props => {
111111
// colors of state mgmt modal
112112
const useStyles = makeStyles({
113113
themeLight: {
114-
color: 'rgba(0,0,0,0.54)',
114+
color: 'white',
115115
'& button:hover':{
116116
backgroundColor: 'LightGray'
117117
},
118118
'& button':{
119-
color: 'black'
119+
color: 'white'
120120
},
121121
'& .MuiTablePagination-root': {
122122
color: 'rbga(0,0,0,0.54)'

app/src/components/StateManagement/CreateTab/components/TableStateProps.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,12 @@ const TableStateProps = props => {
116116

117117
const useStyles = makeStyles({
118118
themeLight: {
119-
color: 'rgba(0,0,0,0.54)',
119+
color: 'white',
120120
'& button:hover':{
121121
backgroundColor: 'LightGray'
122122
},
123123
'& button':{
124-
color: 'black'
124+
color: 'white'
125125
}
126126
},
127127
themeDark: {

app/src/components/StateManagement/StateManagement.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const StateManager = (props): JSX.Element => {
3636
// add hook here to access which component has been clicked
3737
// then this will re-render the dataTable
3838

39-
const background_Color = isDarkMode ? '#21262b' : 'white';
39+
const background_Color = isDarkMode ? '#21262b' : '#191919';
4040
const color = isDarkMode ? 'white' : 'black';
4141

4242
return (
@@ -52,9 +52,9 @@ const StateManager = (props): JSX.Element => {
5252
<Tab
5353
label="Create/Edit"
5454
value="1"
55-
style={{ color: '#003366' }}
55+
style={{ color: 'white' }}
5656
/>
57-
<Tab label="Display" value="2" style={{ color: '#003366' }} />
57+
<Tab label="Display" value="2" style={{ color: 'white' }} />
5858
</TabList>
5959
</Box>
6060
<TabPanel value="1">

app/src/components/bottom/BottomTabs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const BottomTabs = (props): JSX.Element => {
4949
return (
5050
<div
5151
className={`${classes.root} ${classes.rootLight}`}
52-
style={{ backgroundColor: '#003366' }}
52+
style={{ backgroundColor: '#191919' , zIndex: 1}}
5353
>
5454
<Box
5555
display="flex"

0 commit comments

Comments
 (0)