@@ -34,15 +34,15 @@ class Header extends PureComponent {
3434 }
3535
3636 render ( ) {
37- const themeIcon = className ( "qilin-button-icon " , {
37+ const themeButton = className ( "qilin-button" , {
3838 "is-active" : this . props . isThemeToggled ,
3939 } ) ;
4040
41- const forumlaIcon = className ( "qilin-button-icon " , {
41+ const formulaButton = className ( "qilin-button" , {
4242 "is-active" : this . props . isFormulaToggled ,
4343 } ) ;
4444
45- const previewIcon = className ( "qilin-button-icon " , {
45+ const previewButton = className ( "qilin-button" , {
4646 "is-active" : this . props . isPreviewToggled ,
4747 } ) ;
4848
@@ -59,16 +59,16 @@ class Header extends PureComponent {
5959 </ div >
6060
6161 < div className = "app-header-buttons" >
62- < button className = "qilin-button" onClick = { this . props . toggleTheme } role = "menuitem" >
63- < ReactSVG className = { themeIcon } path = { require ( "../../images/icons/menu/theme.svg" ) } />
62+ < button className = { themeButton } onClick = { this . props . toggleTheme } role = "menuitem" >
63+ < ReactSVG className = "qilin-button-icon" path = { require ( "../../images/icons/menu/theme.svg" ) } />
6464 </ button >
6565
66- < button className = "qilin-button" onClick = { this . props . toggleFormula } role = "menuitem" >
67- < ReactSVG className = { forumlaIcon } path = { require ( "../../images/icons/menu/formula.svg" ) } />
66+ < button className = { formulaButton } onClick = { this . props . toggleFormula } role = "menuitem" >
67+ < ReactSVG className = "qilin-button-icon" path = { require ( "../../images/icons/menu/formula.svg" ) } />
6868 </ button >
6969
70- < button className = "qilin-button" onClick = { this . props . togglePreview } role = "menuitem" >
71- < ReactSVG className = { previewIcon } path = { require ( "../../images/icons/menu/preview.svg" ) } />
70+ < button className = { previewButton } onClick = { this . props . togglePreview } role = "menuitem" >
71+ < ReactSVG className = "qilin-button-icon" path = { require ( "../../images/icons/menu/preview.svg" ) } />
7272 </ button >
7373 </ div >
7474 </ div >
0 commit comments