feature/IO-3255-simplified-parts-management - Beef Up Change Request Parser, add Change Request documentation data

This commit is contained in:
Dave
2025-08-18 14:13:16 -04:00
parent 6f19c1dd3f
commit 951d214d49
5 changed files with 72 additions and 12 deletions

View File

@@ -424,6 +424,9 @@ export function ScheduleEventComponent({
// Adjust event color for dark mode if needed
const getEventBackground = () => {
if (event?.block) {
return "var(--event-block-bg)"; // Use a specific color for dark mode
}
const baseColor = event.color && event.color.hex ? event.color.hex : event.color || "var(--event-bg-fallback)";
// Optionally adjust color for dark mode (e.g., lighten if too dark)
return baseColor;