File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ const buttonClasses =
13
13
14
14
const useStyles = makeStyles ( {
15
15
HTMLPanelItem : {
16
+ color : '#186BB4' ,
16
17
height : '35px' ,
17
18
width : '90px' ,
18
19
fontSize : '80%' ,
@@ -127,10 +128,10 @@ const HTMLItem : React.FC<{
127
128
</ div > }
128
129
{ id > 11 &&
129
130
< span id = "customHTMLElement" >
130
- < div ref = { drag } className = { classes . HTMLPanelItem } id = "HTMLItem" >
131
+ < div ref = { drag } className = { isThemeLight ? ` ${ classes . HTMLPanelItem } ${ classes . lightThemeFontColor } ` : ` ${ classes . HTMLPanelItem } ${ classes . darkThemeFontColor } ` } id = "HTMLItem" >
131
132
< h3 > { name } </ h3 >
132
133
</ div >
133
- < button id = "newElement" onClick = { ( ) => deleteAllInstances ( id ) } > X</ button >
134
+ < button id = "newElement" style = { { color : isThemeLight ? '#186BB4' : 'white' } } onClick = { ( ) => deleteAllInstances ( id ) } > X</ button >
134
135
</ span >
135
136
}
136
137
{ modal }
Original file line number Diff line number Diff line change @@ -174,6 +174,7 @@ const HTMLPanel = (props): JSX.Element => {
174
174
< div className = { classes . addComponentWrapper } >
175
175
< div className = { classes . inputWrapper } >
176
176
< form onSubmit = { handleSubmit } className = "customForm" >
177
+
177
178
< h5 className = { isThemeLight ? classes . lightThemeFontColor : classes . darkThemeFontColor } > New HTML Tag: </ h5 >
178
179
< label className = { isThemeLight ? `${ classes . inputLabel } ${ classes . lightThemeFontColor } ` : `${ classes . inputLabel } ${ classes . darkThemeFontColor } ` } >
179
180
Tag:
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ LEFT COLUMN
151
151
}
152
152
153
153
# HTMLItem : hover {
154
- background-color : # a7cced ;
154
+ background-color : # 297ac2 ;
155
155
color : white;
156
156
}
157
157
@@ -160,13 +160,13 @@ LEFT COLUMN
160
160
}
161
161
162
162
# submitButton : hover {
163
- background-color : # a7cced ;
163
+ background-color : # 297ac2 ;
164
164
color : white;
165
165
border : none;
166
166
}
167
167
168
168
# addComponentButton : hover {
169
- background-color : # a7cced ;
169
+ background-color : # 297ac2 ;
170
170
color : white;
171
171
border : none;
172
172
cursor : pointer;
@@ -206,8 +206,9 @@ LEFT COLUMN
206
206
207
207
/* deleteAllInstances button in HTMLItem.tsx - 'x' attached to custom HTML element */
208
208
# newElement {
209
- color : # 186BB4 ;
209
+ /* color: #186BB4; */
210
210
border : none;
211
+ background : none;
211
212
display : flex;
212
213
align-items : center;
213
214
justify-content : flex-start;
You can’t perform that action at this time.
0 commit comments