[PR #5185] [MERGED] Use the theme accent for the staging update warning #6664

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/5185
Author: @SpicyMarinara
Created: 8/17/2026
Status: ✅ Merged
Merged: 8/17/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/5184-staging-update-accent


📝 Commits (1)

  • 00edf89 fix: theme staging update warning

📊 Changes

2 files changed (+2 additions, -1 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 packages/client/src/components/panels/SettingsPanel.tsx (+1 -1)

📄 Description

Linked issue\n\nCloses #5184\n\n## Why this change\n\n- The staging update warning ignored the active theme and always rendered in yellow/amber.\n- Settings status styling should respect Marinara Engine's semantic theme colors.\n\n## What changed\n\n- Replaced the warning's hard-coded amber background, text, and ring colors with the primary theme token.\n- Added an Unreleased changelog entry.\n\n## Validation\n\n- [ ] pnpm check passes locally\n- [ ] Container (Docker / Podman) built and ran without issue\n- [ ] Ran the app, clicked through the changes manually\n- [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)\n- [ ] Above manual verification completed (describe below)\n- [ ] Read and followed CONTRIBUTING.md\n\n### Manual verification notes\n\n- Manually verify the Staging/UAT warning in Settings > Updates follows the configured accent in light and dark themes.\n\n## Docs and release impact\n\n- [ ] No docs changes needed\n- [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed\n- [ ] Translated docs on the docs-i18n branch updated to match, or a docs-i18n follow-up issue opened\n- [ ] Version/release files updated (only if this PR includes a version bump)\n\n## UI evidence (if applicable)\n\n- No screenshot attached; the focused change replaces hard-coded amber utilities with the existing primary theme token.

Summary by CodeRabbit

  • Style
    • Updated the staging update-channel warning to use the active theme’s accent color instead of a fixed amber color.
  • Documentation
    • Added a changelog entry documenting the updated warning appearance.

🔄 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/5185 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/17/2026 **Status:** ✅ Merged **Merged:** 8/17/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/5184-staging-update-accent` --- ### 📝 Commits (1) - [`00edf89`](https://github.com/Pasta-Devs/Marinara-Engine/commit/00edf891b0f82d054bcd54ada47fd13310c8dd49) fix: theme staging update warning ### 📊 Changes **2 files changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `packages/client/src/components/panels/SettingsPanel.tsx` (+1 -1) </details> ### 📄 Description ## Linked issue\n\nCloses #5184\n\n## Why this change\n\n- The staging update warning ignored the active theme and always rendered in yellow/amber.\n- Settings status styling should respect Marinara Engine's semantic theme colors.\n\n## What changed\n\n- Replaced the warning's hard-coded amber background, text, and ring colors with the primary theme token.\n- Added an Unreleased changelog entry.\n\n## Validation\n\n- [ ] pnpm check passes locally\n- [ ] Container (Docker / Podman) built and ran without issue\n- [ ] Ran the app, clicked through the changes manually\n- [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)\n- [ ] Above manual verification completed (describe below)\n- [ ] Read and followed CONTRIBUTING.md\n\n### Manual verification notes\n\n- Manually verify the Staging/UAT warning in Settings > Updates follows the configured accent in light and dark themes.\n\n## Docs and release impact\n\n- [ ] No docs changes needed\n- [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed\n- [ ] Translated docs on the docs-i18n branch updated to match, or a docs-i18n follow-up issue opened\n- [ ] Version/release files updated (only if this PR includes a version bump)\n\n## UI evidence (if applicable)\n\n- No screenshot attached; the focused change replaces hard-coded amber utilities with the existing primary theme token. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Style** * Updated the staging update-channel warning to use the active theme’s accent color instead of a fixed amber color. * **Documentation** * Added a changelog entry documenting the updated warning appearance. <!-- 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:12:32 +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#6664
No description provided.