From 8c050add23eb363cad1b37d738ee588bade90be1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Sat, 9 Mar 2024 23:33:14 -0600 Subject: [PATCH] my butt --- .../AllStatsOverview/components/WN8SurroundingStat.tsx | 2 +- src/components/Breakdown/components/RowStat.tsx | 2 +- .../GenericStats/components/GenericStatsRow.tsx | 2 +- src/core/blitzkrieg/jsxToSvg/index.ts | 8 +++----- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/components/AllStatsOverview/components/WN8SurroundingStat.tsx b/src/components/AllStatsOverview/components/WN8SurroundingStat.tsx index 807e2eb50..62db93c41 100644 --- a/src/components/AllStatsOverview/components/WN8SurroundingStat.tsx +++ b/src/components/AllStatsOverview/components/WN8SurroundingStat.tsx @@ -34,7 +34,7 @@ export function WN8SurroundingStat({ style={{ color: theme.colors.textHighContrast, fontSize: 24, - fontWeight: 'bold', + fontWeight: 700, }} > {value} diff --git a/src/components/Breakdown/components/RowStat.tsx b/src/components/Breakdown/components/RowStat.tsx index 3676cda9d..88f912911 100644 --- a/src/components/Breakdown/components/RowStat.tsx +++ b/src/components/Breakdown/components/RowStat.tsx @@ -63,7 +63,7 @@ export function RowStat({ ({ + fonts: fonts.map(({ file, weight }) => ({ + weight, + name: 'Roboto', data: readFileSync(`${__dirname}/${file}`), - ...font, })), }); }