Skip to content

Commit 1200f71

Browse files
committed
Merge branch 'dev' into victor/sidebar
2 parents b0940bb + cba7ab2 commit 1200f71

File tree

9 files changed

+17
-21
lines changed

9 files changed

+17
-21
lines changed

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

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ const StatePropsPanel = ({ isThemeLight, data }): JSX.Element => {
198198
/>
199199
<TextField
200200
id="textfield-value"
201-
label="initial value:"
201+
label="initial value"
202202
variant="outlined"
203203
value={inputValue}
204204
onChange={(e) => setInputValue(e.target.value)}
@@ -218,11 +218,7 @@ const StatePropsPanel = ({ isThemeLight, data }): JSX.Element => {
218218
>
219219
<InputLabel
220220
id="select-required-label"
221-
className={
222-
isThemeLight
223-
? classes.greyThemeFontColor
224-
: classes.darkThemeFontColor
225-
}
221+
style={{color: 'black'}}
226222
>
227223
Type
228224
</InputLabel>
@@ -509,7 +505,7 @@ const useStyles = makeStyles((theme: Theme) => ({
509505
fontSize: '90%',
510506
textAlign: 'center',
511507
margin: '-20px 0px 5px 150px',
512-
borderStyle: 'none',
508+
border: ' 1px solid #186BB4',
513509
transition: '0.3s',
514510
// borderRadius: "25px",
515511
},
@@ -524,7 +520,7 @@ const useStyles = makeStyles((theme: Theme) => ({
524520
color: '#fff'
525521
},
526522
greyThemeFontColor: {
527-
color: 'rgba(0,0,0,0.54)'
523+
color: 'white'
528524
},
529525
formControl: {
530526
margin: '8px',
@@ -538,7 +534,7 @@ const useStyles = makeStyles((theme: Theme) => ({
538534
},
539535
rootLight: {
540536
'& .MuiFormLabel-root': {
541-
color: 'rgba(0,0,0,0.54)'
537+
color: 'white'
542538
}
543539
},
544540
rootDark: {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const TableParentProps = props => {
5757
renderCell: function renderCell(params: any) {
5858
return (
5959
<Button
60-
style={{ width: `${3}px`, color: 'black'}}
60+
style={{ width: `${3}px`, color: 'white'}}
6161
onClick={() => {
6262
addProps(params.row, params.id - 1);
6363
}}

app/src/components/bottom/BottomTabs.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,9 @@ const BottomTabs = (props): JSX.Element => {
130130
{tab === 1 && <CustomizationPanel isThemeLight={props.isThemeLight} />}
131131
{tab === 2 && <StylesEditor theme={theme} setTheme={setTheme} />}
132132
{/* {tab === 3 && <CodePreview theme={theme} setTheme={setTheme} />} */}
133-
{tab === 4 && <Tree data={components} />}
134-
{tab === 5 && <ContextManager theme={theme} setTheme={setTheme} />}
135-
{tab === 6 && (
133+
{tab === 3 && <Tree data={components} />}
134+
{tab === 4 && <ContextManager theme={theme} setTheme={setTheme} />}
135+
{tab === 5 && (
136136
<StateManager
137137
theme={theme}
138138
setTheme={setTheme}

app/src/components/left/HTMLPanel.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ const HTMLPanel = (props): JSX.Element => {
199199
style={{ margin: '10px' }}
200200
InputProps={{
201201
style: {
202-
color: !isDarkMode ? 'black' : 'white'
202+
color: !isDarkMode ? 'white' : 'white'
203203
}
204204
}}
205205
/>
@@ -247,7 +247,7 @@ const HTMLPanel = (props): JSX.Element => {
247247
style={{}}
248248
InputProps={{
249249
style: {
250-
color: !isDarkMode ? 'black' : 'white'
250+
color: !isDarkMode ? 'white' : 'white'
251251
}
252252
}}
253253
/>

app/src/components/main/DirectChildComponent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ function DirectChildComponent({
7070
ref={drag}
7171
>
7272
<span>
73-
<strong>{name}</strong>
73+
<strong style={{ color: 'white' }}>{name}</strong>
7474
<DeleteButton id={childId} name={name} />
7575
</span>
7676

app/src/components/main/DirectChildHTML.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function DirectChildHTML({ childId, name, type, typeId, style }: ChildElement) {
5353
border:
5454
state.canvasFocus.childId === childId
5555
? '4px solid #186BB4'
56-
: '2px solid #4d8cc4'
56+
: '1px solid grey'
5757
};
5858

5959
const combinedStyle = combineStyles(

app/src/components/main/RouteLink.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function RouteLink({ childId, type, typeId, style }: ChildElement) {
5656
? '3px solid #a7cced'
5757
: '1px Solid grey',
5858
boxShadow:
59-
state.canvasFocus.childId === childId ? '1px 1px 3px rgb(11,212,112)' : ''
59+
state.canvasFocus.childId === childId ? '1px 5px 3px rgb(11,212,112)' : ''
6060
};
6161
const combinedStyle = combineStyles(
6262
combineStyles(combineStyles(globalDefaultStyle, routeStyle), style),

app/src/components/main/SeparatorChild.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,11 @@ function DirectChildHTMLNestable({
103103
// priority order is 1) style directly set for this child (style), 2) style of the referenced HTML element, and 3) default styling
104104
const defaultNestableStyle = { ...globalDefaultStyle };
105105
const separatorStyle = {
106-
padding: '5px 10px',
106+
padding: '2px 10px',
107107
margin: '1px 10px',
108108
};
109109

110-
defaultNestableStyle['backgroundColor'] = isOver ? 'yellow' : 'rgba(0, 0, 255, 0.0)';
110+
defaultNestableStyle['backgroundColor'] = isOver ? '#cee2f5' : 'rgba(0, 0, 255, 0.0)';
111111

112112
const combinedStyle = combineStyles(
113113
combineStyles(combineStyles(defaultNestableStyle, HTMLType.style), style),

app/src/components/right/ComponentPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ const ComponentPanel = ({ isThemeLight }): JSX.Element => {
170170
style={{}}
171171
InputProps={{
172172
style: {
173-
color: isThemeLight ? 'black' : 'white'
173+
color: isThemeLight ? 'white' : 'white'
174174
}
175175
}}
176176
/>

0 commit comments

Comments
 (0)