fix(06-06): remap primary-family container var so fallback all-day events stay solid

The per-family remap (shared, member-1..4) only fills all-day pills whose
Schedule-X colorName is registered. Member calendars absent from the current
/api/me members list fall back to Schedule-X's built-in primary family, which
was not remapped — so those all-day events degraded to the light tint. Remap
--sx-color-primary-container as well so all-day pills stay solid in the
fallback case too (production member-N calendars already covered).
This commit is contained in:
Lucas Berger
2026-06-10 16:19:45 -04:00
parent 089b53d767
commit 562026149f
+6
View File
@@ -103,6 +103,12 @@ body {
*/
.sx__date-grid,
.sx__month-grid-day__events {
/* Fallback: Schedule-X uses the built-in `primary` family for any event whose
* calendar colorName is not registered (e.g. a member calendar absent from the
* current /api/me members list). Remapping it keeps all-day events solid-filled
* even in that fallback case, so the pill never degrades to the light tint. */
--sx-color-primary-container: var(--sx-color-primary);
--sx-color-on-primary-container: #FFFFFF;
--sx-color-shared-container: var(--sx-color-shared);
--sx-color-on-shared-container: #FFFFFF;
--sx-color-member-1-container: var(--sx-color-member-1);