From 3430b1c2b1ad9dc4c5de77d7a96494c25d1e9475 Mon Sep 17 00:00:00 2001 From: jzitnik-dev Date: Sat, 7 Feb 2026 16:35:29 +0100 Subject: [PATCH] feat: Include text color in colored stuff --- scrape/parse/v3.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scrape/parse/v3.js b/scrape/parse/v3.js index 54ae0bb..784cb37 100644 --- a/scrape/parse/v3.js +++ b/scrape/parse/v3.js @@ -182,6 +182,7 @@ function parseLessonCell(cell) { return { text, backgroundColor: cell.fill.fgColor.argb === undefined ? undefined : `#${cell.fill.fgColor.argb}`, + textColor: cell.font?.color?.argb === undefined ? undefined : `#${cell.font.color.argb}`, willBeSpecified: cell.fill.fgColor.argb === "FFFFFF00" ? true : undefined, }; } catch { @@ -298,4 +299,4 @@ function formatNowTime() { ); } -// parseV3("db/current.xlsx") +parseV3("db/current.xlsx")