Skip to content

Commit a77fb51

Browse files
color of add html buttons changed to white
1 parent 29ff4ec commit a77fb51

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

src/components/HTMLComponentPanel.jsx

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ import theme from './theme.ts';
1919

2020
// import {HTMLelements,getSize} from "../utils/htmlElements.util";
2121

22-
// test
23-
2422
class HTMLComponentPanel extends Component {
2523
state = {
2624
HtmlComponentName: '',
@@ -61,52 +59,57 @@ class HTMLComponentPanel extends Component {
6159
</Grid>
6260
<Grid item xs={4}>
6361
<IconButton
62+
className="htmlicons"
6463
aria-label="Form"
6564
onClick={() => {
6665
this.handleCreateHTMLChild('Form');
6766
}}
6867
>
69-
<FormIcon />
68+
<FormIcon style={{ color: '#e0e0e0' }} />
7069
</IconButton>
7170
</Grid>
7271
<Grid item xs={4}>
7372
<IconButton
73+
className="htmlicons"
7474
aria-label="Button"
7575
onClick={() => {
7676
this.handleCreateHTMLChild('Button');
7777
}}
7878
>
79-
<ButtonIcon />
79+
<ButtonIcon style={{ color: '#e0e0e0' }} />
8080
</IconButton>
8181
</Grid>
8282
<Grid item xs={4}>
8383
<IconButton
84+
className="htmlicons"
8485
aria-label="Link"
8586
onClick={() => {
8687
this.handleCreateHTMLChild('Link');
8788
}}
8889
>
89-
<LinkIcon />
90+
<LinkIcon style={{ color: '#e0e0e0' }} />
9091
</IconButton>
9192
</Grid>
9293
<Grid item xs={4}>
9394
<IconButton
95+
className="htmlicons"
9496
aria-label="List"
9597
onClick={() => {
9698
this.handleCreateHTMLChild('List');
9799
}}
98100
>
99-
<ListIcon />
101+
<ListIcon style={{ color: '#e0e0e0' }} />
100102
</IconButton>
101103
</Grid>
102104
<Grid item xs={4}>
103105
<IconButton
106+
className="htmlicons"
104107
aria-label="Paragraph"
105108
onClick={() => {
106109
this.handleCreateHTMLChild('Paragraph');
107110
}}
108111
>
109-
<ParagraphIcon />
112+
<ParagraphIcon style={{ color: '#e0e0e0' }} />
110113
</IconButton>
111114
</Grid>
112115
</Grid>

0 commit comments

Comments
 (0)