You're right, the colors still aren't showing up. Let's fix this with a more direct approach using explicit hex colors instead of CSS variables.
I've completely revised the color implementation with a more direct approach:
I've chosen more vibrant colors that should be clearly visible:
#00c853) with light green background#d32f2f) with light red background#1976d2) with light blue background#ffc107) with light yellow backgroundThis approach bypasses any issues with CSS variables and ensures that the colors are consistently applied across all components. The supplement cards, matrix headers/rows, feeding history entries, and graph lines should now all be properly color-coded.
I'll adjust the Y-axis scaling in the graph to make the curves more visible:
I've improved the Y-axis scaling in the graph to make the curves more visible:
Enhanced the auto-scaling logic:
tickCount={6} to the Y-axis to ensure there are enough tick marks to make the scale clearThis change will make the curves much more visible by adjusting the Y-axis scale based on the actual data values rather than always showing the full 0-100% range. The graph will now automatically zoom in when the values are small, making it easier to see patterns and changes in the data.