diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index d564950..a3599f9 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -1,8 +1,8 @@ import { useState } from "react"; -import logo from "./assets/images/logo-universal.png"; import "./App.css"; import { Greet } from "../wailsjs/go/main/App.js"; import { ResponsiveLine } from "@nivo/line"; +import { formatBytes } from "./lib/format.js"; function App() { const [resultText, setResultText] = useState( @@ -285,13 +285,13 @@ function App() { } return ( -
- + formatBytes(v * 1024 * 53), + }} pointSize={10} - pointColor={{ modifiers: [["brighter", 1100]], from: "" }} - pointBorderWidth={2} + colors={[ + "#3e8faf", + "#c4a7e7", + "#f5c276", + "#EA9B96", + "#EB7092", + "#9CCFD8", + ]} + // pointColor={{ modifiers: [["brighter", 1100]] }} + pointBorderWidth={0} pointBorderColor={{ from: "seriesColor" }} pointLabelYOffset={-12} enableSlices={"x"}