1
0

feat: Include text color in colored stuff

This commit is contained in:
2026-02-07 16:35:29 +01:00
parent c8d18cf248
commit 3430b1c2b1

View File

@@ -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")