diff --git a/components/board/group-session-dialog.tsx b/components/board/group-session-dialog.tsx index 1e53f5c..38bb7ae 100644 --- a/components/board/group-session-dialog.tsx +++ b/components/board/group-session-dialog.tsx @@ -102,6 +102,14 @@ export function GroupSessionDialog({ const color = useGroupColor(group.color); const accentColor = isDark ? color.dark : color.light; const todoTextColor = getBrighterColor(accentColor, isDark ? "dark" : "light"); + // The group's card treatment, scaled to a window: the same hand-picked + // tint fill the card uses (blended into the theme's card surface), plus a + // softer version of the group's stroke for the header/footer rules so + // they read as the same hue without competing with the 3px border. + const dialogBackground = `color-mix(in srgb, ${isDark ? color.softDark : color.soft} 85%, var(--card))`; + const panelBackground = `color-mix(in srgb, ${isDark ? color.softDark : color.soft} 100%, var(--card))`; + const ruleColor = `color-mix(in srgb, ${accentColor} 40%, transparent)`; + const subtleRuleColor = `color-mix(in srgb, ${accentColor} 25%, transparent)`; const [noteDraft, setNoteDraft] = useState(group.noteContent); const [todoDrafts, setTodoDrafts] = useState(() => toDrafts(group.todos)); @@ -215,10 +223,16 @@ export function GroupSessionDialog({ -
- {group.title} +
+ + {group.title} +
{savingAll || noteAutosave.isSaving ? "Saving…" : "Saved"} @@ -273,7 +287,10 @@ export function GroupSessionDialog({
{completedTodoDrafts.length > 0 && ( -
+
-
+
-
@@ -482,7 +514,13 @@ function SessionTodoRow({ ); return ( -
+
{draft.isNew ? ( @@ -545,7 +583,10 @@ function SessionTodoRow({ preview="edit" /> ) : draft.details ? ( -
+
) : null}