[PR #6029] [MERGED] Make Marinara Gradient the default UI accent #7031

Closed
opened 2026-10-23 04:15:54 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/6029
Author: @SpicyMarinara
Created: 9/10/2026
Status: ✅ Merged
Merged: 9/10/2026
Merged by: @SpicyMarinara

Base: staging ← Head: codex/marinara-gradient-default-20260910


📝 Commits (6)

  • bbd0320 Track Marinara Gradient default accent request
  • f1b9155 Default to Marinara Gradient with device-local Accent Pulse
  • 18089d8 Assert default preset selection through the existing default sentinel
  • 6cb73e1 Preserve legacy RGB choices when defaulting Accent Pulse
  • 50ed930 Use the shared accent picker for formerly pink HUD defaults
  • 32ceb65 Keep static color fixtures independent of Pulse defaults

📊 Changes

18 files changed (+361 additions, -114 deletions)

View changed files

📝 CHANGELOG.md (+2 -0)
📝 DESIGN.md (+19 -17)
📝 e2e/accent-pulse.e2e.ts (+223 -0)
📝 e2e/core-flows.e2e.ts (+18 -4)
📝 packages/client/src/App.tsx (+7 -6)
📝 packages/client/src/components/agents/AgentCatalogView.tsx (+1 -1)
📝 packages/client/src/components/chat/HomeBrowserHub.tsx (+8 -6)
📝 packages/client/src/components/game/GameWidgetSetupEditor.tsx (+13 -14)
📝 packages/client/src/components/panels/SettingsPanel.tsx (+3 -3)
📝 packages/client/src/components/ui/ColorPicker.tsx (+18 -11)
📝 packages/client/src/hooks/use-settings-sync.ts (+1 -0)
📝 packages/client/src/lib/css-colors.ts (+2 -0)
📝 packages/client/src/lib/home-chat-mode-style.ts (+1 -1)
📝 packages/client/src/lib/ui-persistence.ts (+1 -1)
📝 packages/client/src/localization/locales/en.json (+5 -1)
📝 packages/client/src/stores/ui.store.ts (+15 -13)
📝 packages/client/src/styles/globals.css (+23 -35)
📝 scripts/regressions/open-issues.regression.ts (+1 -1)

📄 Description

Linked issue

Closes #6028

Why this change

Marinara Engine should open with the logo's three colors as its accent. Desktop gets Accent Pulse by default, while mobile starts with a static gradient. Previously fixed pink interface accents should respond when someone chooses a different color.

What changed

  • Add the named Marinara Gradient preset (#ec4b97, #f29744, #36cdde) to the existing color picker and make it the default in both themes.
  • Default Pulse from device input capabilities, including after an appearance reset. Keep it local to each device, preserve explicit saved on/off choices, and retain older RGB preferences. Narrow desktop windows keep the desktop default; wide touch devices keep the mobile default.
  • Preserve saved custom accents. The existing empty setting continues to mean “follow the default.” Picker selection, editing, reload, and reset continue to use the existing settings flow.
  • Replace fixed pink Home, Characters, Game, avatar-placeholder, and HUD default accents with theme tokens. Reuse the shared color picker for HUD accents. Authored logo colors and explicitly selected palette/widget colors remain intact.
  • Keep valid solid fallbacks for cursors and recovery UI when the configured accent is a gradient. Existing reduced-motion and mobile animation safeguards remain in use.

Validation

Completed automation:

  • pnpm check passed, including localization, formatting, lint, TypeScript, and the production build.
  • pnpm version:check passed.
  • pnpm smoke:ui e2e/accent-pulse.e2e.ts --workers=1: 35 passed, 4 intentionally skipped across desktop Chromium, mobile Chromium, and mobile WebKit. Covers both themes, exact gradient stops, editable/reloaded/reset preferences, reduced motion, device defaults, legacy v60 RGB and v100 Pulse settings, stale synced Pulse, and HUD default/custom colors.
  • Targeted e2e/core-flows.e2e.ts shell/appearance/Characters checks: 15 passed, 3 intentionally skipped across the same projects. Two additional desktop deletion/hover-preview checks passed with static-color fixtures; exact-color comparisons explicitly disable Pulse.
  • Five targeted Node regression suites passed: open-issues, assigned-issue-sweep, theme-css-security, issue-sweep-5380-5434, and assigned-issues-5474-5502.
  • Final Docker image built and started successfully; /api/health returned ok. Production-container browser automation passed in desktop Chromium and iPhone WebKit emulation, in light and dark themes, with no page errors. Screenshots were visually inspected.

Human verification checklist (left unchecked):

  • Review the local validation evidence and required CI results
  • Manually verify Marinara Gradient selection, stop editing, and reset in the browser
  • Manually verify desktop/mobile Pulse defaults and preservation of saved overrides
  • Manually verify light/dark themes, reduced motion, and previously pink controls after selecting another accent
  • Manually verify the built container on the intended deployment device
  • Read and followed CONTRIBUTING.md

Manual verification notes

Browser interactions above were automated with isolated synthetic profiles; they are not a claim of human manual testing. Physical phones, Android WebView, and hybrid touch laptops were not exercised. The browser evidence covers Chromium/WebKit emulation and both desktop and touch input defaults. No production user data was used.

Docs and release impact

  • Added the user-facing [Unreleased] changelog entry and updated DESIGN.md to match the new default and accent-token guidance.
  • Updated the canonical English catalog; partial community translations fall back to English.
  • UI preference persistence version advances to 101 to apply defaults while retaining saved choices. No app release version changes and no user-facing docs/ changes.
  • Manually review the design reference, localized copy, and changelog

UI evidence

Full before/after screenshot set and proof notes. Before: staging 933a643af. After: the production container with this implementation. All profiles are synthetic; desktop Pulse screenshots capture one point in the animation.

View Before After
Desktop Appearance Desktop before Desktop after
Mobile Appearance Mobile before Mobile after

The full set also includes light mode, the three-stop preset, and Characters controls recolored blue.

Summary by CodeRabbit

  • New Features
    • Added the Marinara pink-orange-cyan gradient as the default accent and color-picker preset.
    • Accent Pulse now defaults based on device type, while saved preferences remain editable.
    • Widget accent editors now support default/empty states and localized reset options.
    • Appearance resets restore the device-appropriate default behavior.
  • Bug Fixes
    • Interface accents, game badges, widgets, navigation, and cursor colors now consistently follow the selected accent.
    • Fixed pink accents that could remain unchanged after selecting another color.
  • Documentation
    • Updated design guidance and release notes to reflect the Marinara gradient identity.

🔄 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/6029 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 9/10/2026 **Status:** ✅ Merged **Merged:** 9/10/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `codex/marinara-gradient-default-20260910` --- ### 📝 Commits (6) - [`bbd0320`](https://github.com/Pasta-Devs/Marinara-Engine/commit/bbd032016682be40e7ef611ed5364a7dced4bb2a) Track Marinara Gradient default accent request - [`f1b9155`](https://github.com/Pasta-Devs/Marinara-Engine/commit/f1b91550508d0f5969b44a29d985db54b839c4b1) Default to Marinara Gradient with device-local Accent Pulse - [`18089d8`](https://github.com/Pasta-Devs/Marinara-Engine/commit/18089d8cc90866b5a1721f90ad19d37aead5a80b) Assert default preset selection through the existing default sentinel - [`6cb73e1`](https://github.com/Pasta-Devs/Marinara-Engine/commit/6cb73e17a8b9b6f5a5e84f82d8de926ed5d17bb2) Preserve legacy RGB choices when defaulting Accent Pulse - [`50ed930`](https://github.com/Pasta-Devs/Marinara-Engine/commit/50ed930011015fcc107a029a4d61d06fbee5829c) Use the shared accent picker for formerly pink HUD defaults - [`32ceb65`](https://github.com/Pasta-Devs/Marinara-Engine/commit/32ceb65fb2903041e2689805ede5d4c45c0bb8af) Keep static color fixtures independent of Pulse defaults ### 📊 Changes **18 files changed** (+361 additions, -114 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+2 -0) 📝 `DESIGN.md` (+19 -17) 📝 `e2e/accent-pulse.e2e.ts` (+223 -0) 📝 `e2e/core-flows.e2e.ts` (+18 -4) 📝 `packages/client/src/App.tsx` (+7 -6) 📝 `packages/client/src/components/agents/AgentCatalogView.tsx` (+1 -1) 📝 `packages/client/src/components/chat/HomeBrowserHub.tsx` (+8 -6) 📝 `packages/client/src/components/game/GameWidgetSetupEditor.tsx` (+13 -14) 📝 `packages/client/src/components/panels/SettingsPanel.tsx` (+3 -3) 📝 `packages/client/src/components/ui/ColorPicker.tsx` (+18 -11) 📝 `packages/client/src/hooks/use-settings-sync.ts` (+1 -0) 📝 `packages/client/src/lib/css-colors.ts` (+2 -0) 📝 `packages/client/src/lib/home-chat-mode-style.ts` (+1 -1) 📝 `packages/client/src/lib/ui-persistence.ts` (+1 -1) 📝 `packages/client/src/localization/locales/en.json` (+5 -1) 📝 `packages/client/src/stores/ui.store.ts` (+15 -13) 📝 `packages/client/src/styles/globals.css` (+23 -35) 📝 `scripts/regressions/open-issues.regression.ts` (+1 -1) </details> ### 📄 Description ## Linked issue Closes #6028 ## Why this change Marinara Engine should open with the logo's three colors as its accent. Desktop gets Accent Pulse by default, while mobile starts with a static gradient. Previously fixed pink interface accents should respond when someone chooses a different color. ## What changed - Add the named **Marinara Gradient** preset (`#ec4b97`, `#f29744`, `#36cdde`) to the existing color picker and make it the default in both themes. - Default Pulse from device input capabilities, including after an appearance reset. Keep it local to each device, preserve explicit saved on/off choices, and retain older RGB preferences. Narrow desktop windows keep the desktop default; wide touch devices keep the mobile default. - Preserve saved custom accents. The existing empty setting continues to mean “follow the default.” Picker selection, editing, reload, and reset continue to use the existing settings flow. - Replace fixed pink Home, Characters, Game, avatar-placeholder, and HUD default accents with theme tokens. Reuse the shared color picker for HUD accents. Authored logo colors and explicitly selected palette/widget colors remain intact. - Keep valid solid fallbacks for cursors and recovery UI when the configured accent is a gradient. Existing reduced-motion and mobile animation safeguards remain in use. ## Validation Completed automation: - `pnpm check` passed, including localization, formatting, lint, TypeScript, and the production build. - `pnpm version:check` passed. - `pnpm smoke:ui e2e/accent-pulse.e2e.ts --workers=1`: **35 passed, 4 intentionally skipped** across desktop Chromium, mobile Chromium, and mobile WebKit. Covers both themes, exact gradient stops, editable/reloaded/reset preferences, reduced motion, device defaults, legacy v60 RGB and v100 Pulse settings, stale synced Pulse, and HUD default/custom colors. - Targeted `e2e/core-flows.e2e.ts` shell/appearance/Characters checks: **15 passed, 3 intentionally skipped** across the same projects. Two additional desktop deletion/hover-preview checks passed with static-color fixtures; exact-color comparisons explicitly disable Pulse. - Five targeted Node regression suites passed: `open-issues`, `assigned-issue-sweep`, `theme-css-security`, `issue-sweep-5380-5434`, and `assigned-issues-5474-5502`. - Final Docker image built and started successfully; `/api/health` returned `ok`. Production-container browser automation passed in desktop Chromium and iPhone WebKit emulation, in light and dark themes, with no page errors. Screenshots were visually inspected. Human verification checklist (left unchecked): - [ ] Review the local validation evidence and required CI results - [ ] Manually verify Marinara Gradient selection, stop editing, and reset in the browser - [ ] Manually verify desktop/mobile Pulse defaults and preservation of saved overrides - [ ] Manually verify light/dark themes, reduced motion, and previously pink controls after selecting another accent - [ ] Manually verify the built container on the intended deployment device - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes Browser interactions above were automated with isolated synthetic profiles; they are not a claim of human manual testing. Physical phones, Android WebView, and hybrid touch laptops were not exercised. The browser evidence covers Chromium/WebKit emulation and both desktop and touch input defaults. No production user data was used. ## Docs and release impact - Added the user-facing `[Unreleased]` changelog entry and updated `DESIGN.md` to match the new default and accent-token guidance. - Updated the canonical English catalog; partial community translations fall back to English. - UI preference persistence version advances to 101 to apply defaults while retaining saved choices. No app release version changes and no user-facing `docs/` changes. - [ ] Manually review the design reference, localized copy, and changelog ## UI evidence [Full before/after screenshot set and proof notes](https://gist.github.com/SpicyMarinara/c7be1f1cd6458aec76cca6bbf109cfa9). Before: staging `933a643af`. After: the production container with this implementation. All profiles are synthetic; desktop Pulse screenshots capture one point in the animation. | View | Before | After | | --- | --- | --- | | Desktop Appearance | ![Desktop before](https://gist.githubusercontent.com/SpicyMarinara/c7be1f1cd6458aec76cca6bbf109cfa9/raw/before-desktop-appearance.png) | ![Desktop after](https://gist.githubusercontent.com/SpicyMarinara/c7be1f1cd6458aec76cca6bbf109cfa9/raw/after-desktop-dark-appearance.png) | | Mobile Appearance | ![Mobile before](https://gist.githubusercontent.com/SpicyMarinara/c7be1f1cd6458aec76cca6bbf109cfa9/raw/before-mobile-appearance.png) | ![Mobile after](https://gist.githubusercontent.com/SpicyMarinara/c7be1f1cd6458aec76cca6bbf109cfa9/raw/after-mobile-dark-appearance.png) | The full set also includes light mode, the three-stop preset, and Characters controls recolored blue. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added the Marinara pink-orange-cyan gradient as the default accent and color-picker preset. - Accent Pulse now defaults based on device type, while saved preferences remain editable. - Widget accent editors now support default/empty states and localized reset options. - Appearance resets restore the device-appropriate default behavior. - **Bug Fixes** - Interface accents, game badges, widgets, navigation, and cursor colors now consistently follow the selected accent. - Fixed pink accents that could remain unchanged after selecting another color. - **Documentation** - Updated design guidance and release notes to reflect the Marinara gradient identity. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:15:54 +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#7031
No description provided.