[PR #8562] [MERGED] feat(seasonal): two more dated themes and appearance packs #8674

Closed
opened 2026-11-07 16:46:24 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8562
Author: @Gunterlie
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/30/2026
Merged by: @Gunterlie

Base: staging ← Head: feat/more-seasonal-packs


📝 Commits (3)

  • 9923d81 feat(seasonal): two more dated themes and appearance packs
  • 56e47f0 fix(seasonal): readable chrome button text in the second theme's light palette
  • 003c25c fix(seasonal): review fixes for the new dated themes

📊 Changes

77 files changed (+588 additions, -23 deletions)

View changed files

➕ packages/client/assets/imagegen/mari-hungover/prompts.json (+31 -0)
➕ packages/client/assets/imagegen/mari-party/prompts.json (+31 -0)
➕ packages/client/public/seasonal/newyearsday/README.md (+11 -0)
➕ packages/client/public/seasonal/newyearsday/greeting.webp (+0 -0)
➕ packages/client/public/seasonal/newyearsday/ground.webp (+0 -0)
➕ packages/client/public/seasonal/newyearsday/sky.webp (+0 -0)
➕ packages/client/public/seasonal/newyearseve/README.md (+11 -0)
➕ packages/client/public/seasonal/newyearseve/greeting.webp (+0 -0)
➕ packages/client/public/seasonal/newyearseve/ground.webp (+0 -0)
➕ packages/client/public/seasonal/newyearseve/sky.webp (+0 -0)
➕ packages/client/public/sprites/mari/hungover/approval.webp (+0 -0)
➕ packages/client/public/sprites/mari/hungover/cancelled.webp (+0 -0)
➕ packages/client/public/sprites/mari/hungover/debugging.webp (+0 -0)
➕ packages/client/public/sprites/mari/hungover/editing.webp (+0 -0)
➕ packages/client/public/sprites/mari/hungover/idle.webp (+0 -0)
➕ packages/client/public/sprites/mari/hungover/images.webp (+0 -0)
➕ packages/client/public/sprites/mari/hungover/planning.webp (+0 -0)
➕ packages/client/public/sprites/mari/hungover/portrait-blink.webp (+0 -0)
➕ packages/client/public/sprites/mari/hungover/portrait-drag.webp (+0 -0)
➕ packages/client/public/sprites/mari/hungover/portrait-hover.webp (+0 -0)

...and 57 more files

📄 Description

Important

Release notes: please leave this PR out of CHANGELOG.md and the release text. Like the dated pack in #7819, what it adds is meant to be found by users on the day, not announced. No CHANGELOG line is included on purpose.

Why

The dated seasonal theme and Professor Mari pack (#7811, #7819, #7825, #7835) worked well, and the team wanted more of them. This adds the next two, back to back: each window has its own app look, Home decorations, greeting and a dated Professor Mari appearance pack with a full sprite set and a light voice flavor. The windows are in packages/client/src/lib/seasonal-themes.ts.

What changed

  • Two dated seasonal themes (seasonal-themes.ts, two stylesheets under styles/themes/, greeting entries, art under public/seasonal/). The first window runs past midnight into the next year. String-compare windows cannot wrap the year, so it is split in two.
  • Season year: seasonYear() makes the first window's hours after midnight count as the year it started in. The greeting does not show twice, and "Turn it off" and a pack opt-out still hold after midnight. mariSeasonKey inlines the same rule, because mari-work-animations.ts keeps type-only imports so the plain-Node .mjs regression can load it. A regression pins the two rules together.
  • Two dated appearance packs, built like the existing dated pack: 27 sprites each with themed story frames (no default-pack props), generation prompts under assets/imagegen/.
  • Home card copy for dated packs is now generic (home.professorMari.<packId>.*), not a raccoon-only special case.
  • Voice flavor: the server's dated-pack flavor is now a Map keyed by pack id. The id is client input, so "constructor" and unknown ids add nothing. Flavor still only colors say. Answers, actions, reason, authorization and approval/diff text are unchanged.
  • Greeting modal: if the worn theme changes while the greeting is open (the first window ends at 04:00), it closes, so it never shows or turns off a theme it did not open for. The next theme then gets its own greeting.
  • Contrast: each new palette has its own chrome-button text color, and the regression checks it at the 64% the app draws it with (≥ 4.5:1).

Validation

  • pnpm check (TypeScript, ESLint, localization, Prettier, build): passed.
  • seasonal-themes.regression.ts (window edges incl. Dec 31 23:59 / Jan 1 03:59 / 04:00 / Jan 2 12:00, season year for greeting and turn-off, palette and button contrast), mari-appearance-pack.regression.mjs (files, sizes and alpha for every pack, season key), mari-polish.regression.ts: passed.
  • e2e/mari-appearance-pack.e2e.ts + e2e/seasonal-halloween.e2e.ts (desktop-chromium): 5/6 passed on the first run. The Halloween greeting test timed out once under load; a rerun with --repeat-each=2 passed 4/4.
  • Local UI check on a throwaway instance with ?seasonalPreview= for both themes at 390/768/1440 px, dark and light: no 404s, no console errors, no horizontal scroll, sprites and decorations render. The greeting's "Turn it off" measured 4.74:1 after the contrast fix.
  • Local CodeRabbit: 2 findings on the first pass. The appearance-regression skip was a real defect (fixed). The request for shorter copy and other terms in the new Home strings was not changed: the strings follow the existing dated-pack copy on purpose. The rerun on the fix commit found 0 problems. A Marinara review pass found 3 issues (button contrast in two palettes, the regression skip, the greeting across the window change); all are fixed.

Manual verification

  • Use ?seasonalPreview=<id> for each new theme id in seasonal-themes.ts: check the greeting, the Home decorations, Professor Mari's sprites on Home, in the omnibar and in the top bar, and the Home card copy, in dark and light.
  • Set the system clock just before the end of the first window, open the app, and leave the greeting open past the boundary: it closes, and the second theme's greeting appears once.
  • Inside the first window, turn the theme off from the greeting, then move the clock past midnight: it stays off.
  • Inside each window, pick another appearance pack and reload: your pick stays. Outside the windows, the packs are not in the chooser.
  • Inside each window, ask Professor Mari something: answers and change cards read as usual, with only a light flavor in her voice.
  • Watch the new story animations in the Mari work timeline for jitter.

No linked issue: planned work.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/8562 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/30/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `feat/more-seasonal-packs` --- ### 📝 Commits (3) - [`9923d81`](https://github.com/Pasta-Devs/Marinara-Engine/commit/9923d81e58b3723fc4164a5c2be174e6c6f711ec) feat(seasonal): two more dated themes and appearance packs - [`56e47f0`](https://github.com/Pasta-Devs/Marinara-Engine/commit/56e47f00e626e66fedf44464a0c613a835e41620) fix(seasonal): readable chrome button text in the second theme's light palette - [`003c25c`](https://github.com/Pasta-Devs/Marinara-Engine/commit/003c25c2f77f699677512795a52e77b48d7aed2b) fix(seasonal): review fixes for the new dated themes ### 📊 Changes **77 files changed** (+588 additions, -23 deletions) <details> <summary>View changed files</summary> ➕ `packages/client/assets/imagegen/mari-hungover/prompts.json` (+31 -0) ➕ `packages/client/assets/imagegen/mari-party/prompts.json` (+31 -0) ➕ `packages/client/public/seasonal/newyearsday/README.md` (+11 -0) ➕ `packages/client/public/seasonal/newyearsday/greeting.webp` (+0 -0) ➕ `packages/client/public/seasonal/newyearsday/ground.webp` (+0 -0) ➕ `packages/client/public/seasonal/newyearsday/sky.webp` (+0 -0) ➕ `packages/client/public/seasonal/newyearseve/README.md` (+11 -0) ➕ `packages/client/public/seasonal/newyearseve/greeting.webp` (+0 -0) ➕ `packages/client/public/seasonal/newyearseve/ground.webp` (+0 -0) ➕ `packages/client/public/seasonal/newyearseve/sky.webp` (+0 -0) ➕ `packages/client/public/sprites/mari/hungover/approval.webp` (+0 -0) ➕ `packages/client/public/sprites/mari/hungover/cancelled.webp` (+0 -0) ➕ `packages/client/public/sprites/mari/hungover/debugging.webp` (+0 -0) ➕ `packages/client/public/sprites/mari/hungover/editing.webp` (+0 -0) ➕ `packages/client/public/sprites/mari/hungover/idle.webp` (+0 -0) ➕ `packages/client/public/sprites/mari/hungover/images.webp` (+0 -0) ➕ `packages/client/public/sprites/mari/hungover/planning.webp` (+0 -0) ➕ `packages/client/public/sprites/mari/hungover/portrait-blink.webp` (+0 -0) ➕ `packages/client/public/sprites/mari/hungover/portrait-drag.webp` (+0 -0) ➕ `packages/client/public/sprites/mari/hungover/portrait-hover.webp` (+0 -0) _...and 57 more files_ </details> ### 📄 Description > [!IMPORTANT] > **Release notes: please leave this PR out of `CHANGELOG.md` and the release text.** Like the dated pack in #7819, what it adds is meant to be found by users on the day, not announced. No CHANGELOG line is included on purpose. ## Why The dated seasonal theme and Professor Mari pack (#7811, #7819, #7825, #7835) worked well, and the team wanted more of them. This adds the next two, back to back: each window has its own app look, Home decorations, greeting and a dated Professor Mari appearance pack with a full sprite set and a light voice flavor. The windows are in `packages/client/src/lib/seasonal-themes.ts`. ## What changed - **Two dated seasonal themes** (`seasonal-themes.ts`, two stylesheets under `styles/themes/`, greeting entries, art under `public/seasonal/`). The first window runs past midnight into the next year. String-compare windows cannot wrap the year, so it is split in two. - **Season year:** `seasonYear()` makes the first window's hours after midnight count as the year it started in. The greeting does not show twice, and "Turn it off" and a pack opt-out still hold after midnight. `mariSeasonKey` inlines the same rule, because `mari-work-animations.ts` keeps type-only imports so the plain-Node `.mjs` regression can load it. A regression pins the two rules together. - **Two dated appearance packs**, built like the existing dated pack: 27 sprites each with themed story frames (no default-pack props), generation prompts under `assets/imagegen/`. - **Home card copy** for dated packs is now generic (`home.professorMari.<packId>.*`), not a raccoon-only special case. - **Voice flavor:** the server's dated-pack flavor is now a `Map` keyed by pack id. The id is client input, so `"constructor"` and unknown ids add nothing. Flavor still only colors `say`. Answers, actions, `reason`, authorization and approval/diff text are unchanged. - **Greeting modal:** if the worn theme changes while the greeting is open (the first window ends at 04:00), it closes, so it never shows or turns off a theme it did not open for. The next theme then gets its own greeting. - **Contrast:** each new palette has its own chrome-button text color, and the regression checks it at the 64% the app draws it with (≥ 4.5:1). ## Validation - `pnpm check` (TypeScript, ESLint, localization, Prettier, build): passed. - `seasonal-themes.regression.ts` (window edges incl. Dec 31 23:59 / Jan 1 03:59 / 04:00 / Jan 2 12:00, season year for greeting and turn-off, palette and button contrast), `mari-appearance-pack.regression.mjs` (files, sizes and alpha for every pack, season key), `mari-polish.regression.ts`: passed. - `e2e/mari-appearance-pack.e2e.ts` + `e2e/seasonal-halloween.e2e.ts` (desktop-chromium): 5/6 passed on the first run. The Halloween greeting test timed out once under load; a rerun with `--repeat-each=2` passed 4/4. - Local UI check on a throwaway instance with `?seasonalPreview=` for both themes at 390/768/1440 px, dark and light: no 404s, no console errors, no horizontal scroll, sprites and decorations render. The greeting's "Turn it off" measured 4.74:1 after the contrast fix. - Local CodeRabbit: 2 findings on the first pass. The appearance-regression skip was a real defect (fixed). The request for shorter copy and other terms in the new Home strings was not changed: the strings follow the existing dated-pack copy on purpose. The rerun on the fix commit found 0 problems. A Marinara review pass found 3 issues (button contrast in two palettes, the regression skip, the greeting across the window change); all are fixed. ## Manual verification - [ ] Use `?seasonalPreview=<id>` for each new theme id in `seasonal-themes.ts`: check the greeting, the Home decorations, Professor Mari's sprites on Home, in the omnibar and in the top bar, and the Home card copy, in dark and light. - [ ] Set the system clock just before the end of the first window, open the app, and leave the greeting open past the boundary: it closes, and the second theme's greeting appears once. - [ ] Inside the first window, turn the theme off from the greeting, then move the clock past midnight: it stays off. - [ ] Inside each window, pick another appearance pack and reload: your pick stays. Outside the windows, the packs are not in the chooser. - [ ] Inside each window, ask Professor Mari something: answers and change cards read as usual, with only a light flavor in her voice. - [ ] Watch the new story animations in the Mari work timeline for jitter. No linked issue: planned work. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:46:24 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#8674
No description provided.