Update day-schedule layout (style improvements/fixes), attached delta badge to time input field

This commit is contained in:
2026-02-09 19:37:30 +00:00
parent 8325f10b19
commit d544c7f3b3
5 changed files with 44 additions and 40 deletions

View File

@@ -28,6 +28,7 @@ import {
} from './ui/tooltip';
import { useElementSize } from '../hooks/useElementSize';
// TODO make use of the actual theme colors;some colors are not matching the classes in the comments
// Chart color scheme
const CHART_COLORS = {
// d-Amphetamine profiles
@@ -42,7 +43,7 @@ const CHART_COLORS = {
// Reference lines
regularPlanDivider: '#22c55e', // green-500
deviationDayDivider: '#9ca3af', // gray-400
deviationDayDivider: '#f59e0b', // yellow-500
therapeuticMin: '#22c55e', // green-500
therapeuticMax: '#ef4444', // red-500
dayDivider: '#9ca3af', // gray-400