mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7811] [MERGED] feat(theme): seasonal themes, starting with Halloween #7939
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#7939
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/7811
Author: @SpicyMarinara
Created: 10/19/2026
Status: ✅ Merged
Merged: 10/19/2026
Merged by: @SpicyMarinara
Base:
staging← Head:feat/seasonal-themes-halloween📝 Commits (4)
9bc8851feat(theme): seasonal themes, starting with Halloweend7ffae9fix(theme): plainer seasonal themes setting description04cc8a3Merge branch 'staging' into feat/seasonal-themes-halloween0b2587bMerge branch 'staging' into feat/seasonal-themes-halloween📊 Changes
19 files changed (+805 additions, -4 deletions)
View changed files
➕
e2e/seasonal-halloween.e2e.ts(+84 -0)📝
e2e/ui-state-fixture.ts(+12 -2)➕
packages/client/public/seasonal/halloween/README.md(+14 -0)➕
packages/client/public/seasonal/halloween/bat.webp(+0 -0)➕
packages/client/public/seasonal/halloween/pumpkin.webp(+0 -0)➕
packages/client/public/seasonal/halloween/pumpkins.webp(+0 -0)📝
packages/client/src/App.tsx(+32 -1)📝
packages/client/src/components/chat/HomeBrowserHub.tsx(+8 -1)➕
packages/client/src/components/modals/SeasonalGreetingModal.tsx(+99 -0)📝
packages/client/src/components/panels/SettingsPanel.tsx(+9 -0)➕
packages/client/src/hooks/use-seasonal-theme.ts(+60 -0)📝
packages/client/src/lib/omnibar-settings-toggle-bindings.ts(+4 -0)➕
packages/client/src/lib/seasonal-themes.ts(+52 -0)📝
packages/client/src/lib/settings-registry.ts(+10 -0)📝
packages/client/src/localization/locales/en.json(+7 -0)📝
packages/client/src/stores/ui.store.ts(+26 -0)📝
packages/client/src/styles/globals.css(+1 -0)➕
packages/client/src/styles/themes/seasonal-halloween.css(+214 -0)➕
scripts/regressions/seasonal-themes.regression.ts(+173 -0)📄 Description
Release notes: leave this PR out of the changelog and the What's New text; it is a Halloween surprise.
Linked issue
None on purpose. This is the maintainer's own request (@SpicyMarinara, 2026-10-19), and a public issue would spoil the surprise.
Why this change
What changed
?seasonalPreview=halloween(for examplehttp://localhost:7860/?seasonalPreview=halloween). It wears the theme and shows the greeting, and saves nothing: Keep it and Turn it off only last until the page reloads, and no "greeting seen" record is written. The preview wins over the Settings toggle; without it, the toggle wins.lib/seasonal-themes.ts(one entry per holiday with anisActive(date)check on the local date; only Halloween for now),data-seasonal-theme="halloween"on<html>, and the palette defined once instyles/themes/seasonal-halloween.css. The art is inpublic/seasonal/halloween/as WebP (about 70 KB together, loaded only while the theme is on), with a provenance note.Validation
pnpm checkpasses locallyCONTRIBUTING.mdAgent-run checks (not a substitute for the boxes above):
pnpm check: passed.node ./scripts/run-regressions.mjs --filter scripts/regressions/seasonal-themes.regression.ts: passed. It covers Oct 31 00:00 and 23:59 local (on), Oct 30 23:59 and Nov 1 00:00 (off), the same instant in Honolulu (Halloween) and UTC (November), the toggle winning, Turn it off lasting one year, the greeting once per year, the preview forcing the theme, malformed synced records, the store and sync wiring, and WCAG AA contrast of the palette in both modes.command-center,omnibar-settings-sync,chat-window-intro-persistence,chat-widget-style-persistenceandopen-issuesregressions.e2e/seasonal-halloween.e2e.tsondesktop-chromiumandmobile-chromium, run together withonboarding-tour-whats-newandui-state-fixture: 8/8 passed. One case uses the preview (greeting visible, Keep it keepsdata-seasonal-theme, nothing saved, Turn it off removes it). The other fakes October 31 (greeting once, still themed after a reload with no second greeting, then the Settings toggle removes the theme).pnpm smoke:uiequivalent (--project=desktop-chromium --grep @smoke): 7 passed.chat-window-intro.e2e.tson desktop and mobile Chromium: 7 passed, 1 skipped by the spec itself.none). Not tested: WebKit/Safari, a real device, the Android app, and the SillyTavern visual theme by eye (its tokens are overridden the same way).Manual verification notes
/?seasonalPreview=halloweenon desktop in dark mode: the greeting shows after any other startup notice; Home shows bats in the top corners and pumpkins bottom right; text stays readable.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)No docs, changelog or What's New changes on purpose, to keep the surprise.
UI evidence (if applicable)
Screenshots were captured headless during development but are not attached here. To see it, open the preview link above.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.