diff options
author | Kristóf Marussy <kristof@marussy.com> | 2022-08-13 23:49:06 +0200 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2022-08-15 18:03:58 +0200 |
commit | c7abf6e90285857344d7e4f85553a89df971fc3c (patch) | |
tree | 1e86b700d7314a40c26612e2f6aa54de19f86108 /subprojects/frontend/src/editor/GenerateButton.tsx | |
parent | feat(frontend): light/dark mode switch (diff) | |
download | refinery-c7abf6e90285857344d7e4f85553a89df971fc3c.tar.gz refinery-c7abf6e90285857344d7e4f85553a89df971fc3c.tar.zst refinery-c7abf6e90285857344d7e4f85553a89df971fc3c.zip |
refactor(frondend): dark theme tweaks
Diffstat (limited to 'subprojects/frontend/src/editor/GenerateButton.tsx')
-rw-r--r-- | subprojects/frontend/src/editor/GenerateButton.tsx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/subprojects/frontend/src/editor/GenerateButton.tsx b/subprojects/frontend/src/editor/GenerateButton.tsx index fc337da9..4d5c4e44 100644 --- a/subprojects/frontend/src/editor/GenerateButton.tsx +++ b/subprojects/frontend/src/editor/GenerateButton.tsx | |||
@@ -22,11 +22,7 @@ function GenerateButton(): JSX.Element { | |||
22 | 22 | ||
23 | if (errorCount > 0) { | 23 | if (errorCount > 0) { |
24 | return ( | 24 | return ( |
25 | <Button | 25 | <Button color="error" onClick={() => editorStore.toggleLintPanel()}> |
26 | variant="outlined" | ||
27 | color="error" | ||
28 | onClick={() => editorStore.toggleLintPanel()} | ||
29 | > | ||
30 | {summary} | 26 | {summary} |
31 | </Button> | 27 | </Button> |
32 | ); | 28 | ); |
@@ -34,7 +30,6 @@ function GenerateButton(): JSX.Element { | |||
34 | 30 | ||
35 | return ( | 31 | return ( |
36 | <Button | 32 | <Button |
37 | variant="outlined" | ||
38 | color={warningCount > 0 ? 'warning' : 'primary'} | 33 | color={warningCount > 0 ? 'warning' : 'primary'} |
39 | startIcon={<PlayArrowIcon />} | 34 | startIcon={<PlayArrowIcon />} |
40 | > | 35 | > |