refactor(nui): Style adjustments

This commit is contained in:
Luke
2022-03-19 12:57:49 +01:00
parent 65056114ba
commit 97be95fe35
4 changed files with 30 additions and 15 deletions

View File

@@ -14,14 +14,14 @@ interface Props {
position?: "middle" | "bottom";
}
// debugData([
// {
// action: "circleProgress",
// data: {
// duration: 8000,
// },
// },
// ]);
debugData([
{
action: "circleProgress",
data: {
duration: 8000,
},
},
]);
const CircleProgressbar: React.FC = () => {
const [visible, setVisible] = React.useState(false);
@@ -76,7 +76,7 @@ const CircleProgressbar: React.FC = () => {
value={value}
size="7rem"
onAnimationEnd={progressComplete}
color={cancelled ? "rgb(198, 40, 40)" : "blue.300"}
color={cancelled ? "rgb(198, 40, 40)" : "blue.400"}
sx={
!cancelled
? {