Skip to content

Commit cf5da2f

Browse files
committed
Change background color, border color, and delete icon color of the component and nestable components on the canvas
1 parent c41c8e9 commit cf5da2f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

app/src/components/main/DirectChildHTML.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ function DirectChildHTML({ childId, name, type, typeId, style }: ChildElement) {
7171
return (
7272
<div
7373
onClick={onClickHandler}
74-
style={combinedStyle}
74+
style={{...combinedStyle, backgroundColor: '#1E2024', border: '1px solid #31343A'}}
7575
ref={drag}
7676
id={`canv${childId}`}
7777
>

app/src/components/main/DirectChildHTMLNestable.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,12 +213,12 @@ function DirectChildHTMLNestable({
213213
return (
214214
<div
215215
onClick={onClickHandler}
216-
style={combinedStyle}
216+
style={{...combinedStyle, backgroundColor: isOver ? '#3c59ba' : '#1E2024', border: '1px solid #31343A'}}
217217
ref={ref}
218218
id={`canv${childId}`}
219219
>
220220
<span>
221-
<strong style={{ color: '#f2fbf8' }}>
221+
<strong style={{ color: 'white' }}>
222222
{HTMLType.placeHolderShort}
223223
</strong>
224224
<strong style={{ color: '#0671e3' }}>

app/src/public/styles/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ CANVAS WINDOW
680680

681681
.deleteIcon {
682682
font-size: 18px;
683-
color: #4a4a4a;
683+
color: gray;
684684
cursor: pointer;
685685
}
686686

0 commit comments

Comments
 (0)