feat: Include text color in colored stuff
This commit is contained in:
@@ -182,6 +182,7 @@ function parseLessonCell(cell) {
|
|||||||
return {
|
return {
|
||||||
text,
|
text,
|
||||||
backgroundColor: cell.fill.fgColor.argb === undefined ? undefined : `#${cell.fill.fgColor.argb}`,
|
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,
|
willBeSpecified: cell.fill.fgColor.argb === "FFFFFF00" ? true : undefined,
|
||||||
};
|
};
|
||||||
} catch {
|
} catch {
|
||||||
@@ -298,4 +299,4 @@ function formatNowTime() {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// parseV3("db/current.xlsx")
|
parseV3("db/current.xlsx")
|
||||||
|
|||||||
Reference in New Issue
Block a user