- {/* Title and badges are grouped so the badges stay right next to the
- title instead of being pushed to the far edge. */}
+ {/* Title and badges are grouped so they stay right next to the title
+ instead of being pushed to the far edge. */}
{meeting.title}
{isAuthor && your meeting}
- {/* Brief, colour-coded reminder of the viewer's own vote. */}
+ {/* Brief reminder of the viewer's own vote, styled like the badges on
+ the sessions page and coloured by the vote. */}
{meeting.myVote && (
{meeting.myVote === 'join' ? 'will join' : 'will skip'}
diff --git a/frontend/src/styles.css b/frontend/src/styles.css
index 9ff3f3f..dbfbb91 100644
--- a/frontend/src/styles.css
+++ b/frontend/src/styles.css
@@ -2,6 +2,7 @@
--bg: #0f1419;
--surface: #1a2129;
--surface-2: #232c36;
+ --surface-3: #2c3743;
--border: #2e3a46;
--text: #e6edf3;
--muted: #8b98a5;
@@ -367,15 +368,6 @@ label.checkbox {
letter-spacing: 0.03em;
}
-/* Vote badges in the meeting title, coloured like the join / decline tallies. */
-.badge.join {
- color: var(--ok);
-}
-
-.badge.decline {
- color: var(--danger);
-}
-
.muted {
color: var(--muted);
}
@@ -585,7 +577,22 @@ textarea:focus {
gap: 8px;
}
-/* The wrapping gap already spaces the badges, so drop their own margin. */
+/* The default badge shares its background with the meeting card, so nudge it
+ one step lighter (matching the badge/card contrast on the sessions page). */
+.meeting-card .badge {
+ background: var(--surface-3);
+}
+
+/* The vote badge is coloured by the vote: green to join, red to skip. */
+.meeting-card .badge.join {
+ color: var(--ok);
+}
+
+.meeting-card .badge.decline {
+ color: var(--danger);
+}
+
+/* The title wrapper's gap already spaces the badges. */
.meeting-title .badge {
margin-left: 0;
}