Skip to content

Commit 251f29b

Browse files
committed
Css edits
1 parent f38c2d4 commit 251f29b

File tree

8 files changed

+12
-12
lines changed

8 files changed

+12
-12
lines changed

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)