diff --git a/apps/roboshield/src/assets/icons/Type=back, Size=24, Color=CurrentColor.svg b/apps/roboshield/src/assets/icons/Type=back, Size=24, Color=CurrentColor.svg
new file mode 100644
index 000000000..625779ad1
--- /dev/null
+++ b/apps/roboshield/src/assets/icons/Type=back, Size=24, Color=CurrentColor.svg
@@ -0,0 +1,4 @@
+
diff --git a/apps/roboshield/src/assets/icons/Type=copy, Size=24, Color=CurrentColor.svg b/apps/roboshield/src/assets/icons/Type=copy, Size=24, Color=CurrentColor.svg
new file mode 100644
index 000000000..530004f8e
--- /dev/null
+++ b/apps/roboshield/src/assets/icons/Type=copy, Size=24, Color=CurrentColor.svg
@@ -0,0 +1,4 @@
+
diff --git a/apps/roboshield/src/assets/icons/Type=reset, Size=24, Color=CurrentColor.svg b/apps/roboshield/src/assets/icons/Type=reset, Size=24, Color=CurrentColor.svg
new file mode 100644
index 000000000..83c275659
--- /dev/null
+++ b/apps/roboshield/src/assets/icons/Type=reset, Size=24, Color=CurrentColor.svg
@@ -0,0 +1,6 @@
+
diff --git a/apps/roboshield/src/assets/icons/Type=save, Size=24, Color=CurrentColor.svg b/apps/roboshield/src/assets/icons/Type=save, Size=24, Color=CurrentColor.svg
new file mode 100644
index 000000000..b24c4c8a1
--- /dev/null
+++ b/apps/roboshield/src/assets/icons/Type=save, Size=24, Color=CurrentColor.svg
@@ -0,0 +1,5 @@
+
diff --git a/apps/roboshield/src/components/Code/Code.tsx b/apps/roboshield/src/components/Code/Code.tsx
index b72adbd2e..e3b95e371 100644
--- a/apps/roboshield/src/components/Code/Code.tsx
+++ b/apps/roboshield/src/components/Code/Code.tsx
@@ -1,4 +1,9 @@
-import { Box, Button, Grid, Stack } from "@mui/material";
+import { Box, Button, Grid, Stack, SvgIcon } from "@mui/material";
+import { Theme } from "@mui/material";
+import CopyIcon from "@/roboshield/assets/icons/Type=copy, Size=24, Color=CurrentColor.svg";
+import SaveIcon from "@/roboshield/assets/icons/Type=save, Size=24, Color=CurrentColor.svg";
+import BackIcon from "@/roboshield/assets/icons/Type=back, Size=24, Color=CurrentColor.svg";
+import ResetIcon from "@/roboshield/assets/icons/Type=reset, Size=24, Color=CurrentColor.svg";
import CodeEditor from "./CodeEditor";
@@ -28,6 +33,7 @@ export default function Code(props: CodeProps) {
const handleCodeChange = (newCode: string) => {
onCodeChange(newCode);
};
+
return (
({
+ "&:hover": {
+ color: "primary",
+ },
+ })}
+ startIcon={
+
+ }
onClick={onCopy}
disabled={!showButtons}
>
@@ -55,15 +73,21 @@ export default function Code(props: CodeProps) {
+ }
+ sx={(theme: Theme) => ({
+ bgcolor: "text.primary",
+ borderColor: "text.primary",
"&:hover": {
- background: "none",
- color: "#000000",
+ color: "text.primary",
},
- }}
+ })}
onClick={onDownload}
disabled={!showButtons}
>
@@ -71,10 +95,16 @@ export default function Code(props: CodeProps) {
+ }
color="primary"
- sx={{
- mt: 2,
- }}
onClick={onBack}
disabled={!showButtons}
>
@@ -94,13 +124,19 @@ export default function Code(props: CodeProps) {
>
+ }
sx={{
- display: "inline-block",
- background: "#FE2500",
- border: "1px solid #FE2500",
+ bgcolor: "error.main",
+ borderColor: "error.main",
"&:hover": {
- background: "none",
- color: "#FE2500",
+ color: "error.main",
},
}}
onClick={onReset}
diff --git a/apps/roboshield/src/components/Statistics/Statistics.tsx b/apps/roboshield/src/components/Statistics/Statistics.tsx
index 12663fada..69ef340ff 100644
--- a/apps/roboshield/src/components/Statistics/Statistics.tsx
+++ b/apps/roboshield/src/components/Statistics/Statistics.tsx
@@ -37,7 +37,7 @@ export default function Statistics({ title, statistics }: StatiscticsProps) {
)}
{statistics?.map((statistic) => (
-
+
))}