[PR #7139] [MERGED] fix(game): Game Mode widgets, side dialogue and character cards follow the chat widget style (#7136) #7495

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

📋 Pull Request Information

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

Base: staging ← Head: fix/game-widget-style-7136


📝 Commits (3)

  • 3745f11 fix(game): Game widgets, side remarks and character sheets follow the chat widget style (#7136)
  • fecd746 Merge branch 'staging' into fix/game-widget-style-7136
  • 2b1d922 Merge branch 'staging' into fix/game-widget-style-7136

📊 Changes

9 files changed (+467 additions, -21 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 docs/appearance/appearance-settings.md (+1 -1)
📝 docs/appearance/custom-css-themes.md (+3 -3)
➕ e2e/game-widget-style.e2e.ts (+419 -0)
📝 packages/client/src/components/game/GameCharacterSheet.tsx (+1 -1)
📝 packages/client/src/components/game/GameMap.tsx (+5 -2)
📝 packages/client/src/components/game/GameNarrationVisuals.tsx (+2 -1)
📝 packages/client/src/components/game/GameWidgetPanel.tsx (+19 -9)
📝 packages/client/src/styles/themes/chat-widget-surfaces.css (+16 -4)

📄 Description

Fixes #7136.

Why: with a chat widget style chosen and the Apply preset font / shape / colors switches on, Game Mode's HUD widgets (and the desktop map panel), a character's side-remark bubble and the character sheet kept the default look, while the dialogue box right beside them was styled.

What: these surfaces now opt into the existing shared chat-style classes (.mari-chat-style-surface, .mari-chat-style-control) from #7082 and #7104, with small owner variables so Shape alone keeps their current fills. No new styling system, theme tokens only. With every switch off they render exactly as before (pixel-identical Default screenshots, desktop and phone, light and dark).

Draft while validation runs.

Summary by CodeRabbit

  • New Features
    • In Game Mode, preset font, shape, and color settings now apply to HUD widgets, the map panel, side remarks, and character sheets. Widget numbers retain their game accent colors. When these settings are off, their appearance remains unchanged.
  • Documentation
    • Updated appearance and custom theme guides to explain how preset styling applies to Game Mode elements, alongside messages and chat controls. Conversation messages continue to use their own shape.

🔄 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/7139 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/5/2026 **Status:** ✅ Merged **Merged:** 10/5/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/game-widget-style-7136` --- ### 📝 Commits (3) - [`3745f11`](https://github.com/Pasta-Devs/Marinara-Engine/commit/3745f11dae43b4e618998e96242cf797536cfd6a) fix(game): Game widgets, side remarks and character sheets follow the chat widget style (#7136) - [`fecd746`](https://github.com/Pasta-Devs/Marinara-Engine/commit/fecd7463159e5235cfe95d1e9415a5495f57ef6a) Merge branch 'staging' into fix/game-widget-style-7136 - [`2b1d922`](https://github.com/Pasta-Devs/Marinara-Engine/commit/2b1d922ff70cee9c37bd08fc67c3bdd0ffb31ec0) Merge branch 'staging' into fix/game-widget-style-7136 ### 📊 Changes **9 files changed** (+467 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `docs/appearance/appearance-settings.md` (+1 -1) 📝 `docs/appearance/custom-css-themes.md` (+3 -3) ➕ `e2e/game-widget-style.e2e.ts` (+419 -0) 📝 `packages/client/src/components/game/GameCharacterSheet.tsx` (+1 -1) 📝 `packages/client/src/components/game/GameMap.tsx` (+5 -2) 📝 `packages/client/src/components/game/GameNarrationVisuals.tsx` (+2 -1) 📝 `packages/client/src/components/game/GameWidgetPanel.tsx` (+19 -9) 📝 `packages/client/src/styles/themes/chat-widget-surfaces.css` (+16 -4) </details> ### 📄 Description Fixes #7136. **Why:** with a chat widget style chosen and the **Apply preset font / shape / colors** switches on, Game Mode's HUD widgets (and the desktop map panel), a character's side-remark bubble and the character sheet kept the default look, while the dialogue box right beside them was styled. **What:** these surfaces now opt into the existing shared chat-style classes (`.mari-chat-style-surface`, `.mari-chat-style-control`) from #7082 and #7104, with small owner variables so Shape alone keeps their current fills. No new styling system, theme tokens only. With every switch off they render exactly as before (pixel-identical Default screenshots, desktop and phone, light and dark). Draft while validation runs. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * In Game Mode, preset font, shape, and color settings now apply to HUD widgets, the map panel, side remarks, and character sheets. Widget numbers retain their game accent colors. When these settings are off, their appearance remains unchanged. * **Documentation** * Updated appearance and custom theme guides to explain how preset styling applies to Game Mode elements, alongside messages and chat controls. Conversation messages continue to use their own shape. <!-- 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:20:21 +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#7495
No description provided.