feat: Include text color in colored stuff
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user