diff --git a/client/src/Pages/StatusPage/Status/themes/bold/BoldStatusPage.tsx b/client/src/Pages/StatusPage/Status/themes/bold/BoldStatusPage.tsx
index ad777dbff..feb17d917 100644
--- a/client/src/Pages/StatusPage/Status/themes/bold/BoldStatusPage.tsx
+++ b/client/src/Pages/StatusPage/Status/themes/bold/BoldStatusPage.tsx
@@ -1,4 +1,4 @@
-import { useState } from "react";
+import { useMemo, useState } from "react";
import Box from "@mui/material/Box";
import Stack from "@mui/material/Stack";
import { useTranslation } from "react-i18next";
@@ -14,7 +14,8 @@ import {
resolveOverallStatus,
statusBadgeKey,
} from "../shared/overallStatus";
-import "./bold.css";
+import { useStatusPageTheme } from "../StatusPageThemeProvider";
+import { boldStyles } from "./styles";
type StatusPageMonitor = Monitor & { checks?: Monitor["recentChecks"] };
@@ -23,85 +24,99 @@ interface Props {
monitors: StatusPageMonitor[];
}
-const PREFIX = "bo";
-
export const BoldStatusPage = ({ statusPage, monitors }: Props) => {
const { t } = useTranslation();
+ const { tokens, mode } = useStatusPageTheme();
+ const styles = useMemo(() => boldStyles(tokens, mode === "dark"), [tokens, mode]);
const [chartMode, setChartMode] = useState<"heatmap" | "histogram">("heatmap");
- // Bold uses a dedicated check-disc treatment next to the title; its
- // icon is scaled differently but the semantic resolution is shared.
const overall = resolveOverallStatus(monitors, t, { iconSize: 18 });
const logoSrc = statusPage.logo?.data
? `data:${statusPage.logo.contentType};base64,${statusPage.logo.data}`
: null;
return (
-
+
- {overall.icon}
+
-
-
+
+
+