mirror of
https://github.com/games-on-whales/unraid-plugin.git
synced 2026-10-15 13:02:00 +00:00
[PR #26] [MERGED] Nest settings page under User Utilities, theme-aware CSS #49
Labels
No labels
enhancement
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
games-on-whales/unraid-plugin#49
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/games-on-whales/unraid-plugin/pull/26
Author: @JBailes
Created: 5/8/2026
Status: ✅ Merged
Merged: 5/8/2026
Merged by: @JBailes
Base:
main← Head:fix/settings-page-placement-and-theme📝 Commits (1)
d0b3c6cNest settings page under User Utilities, theme-aware CSS📊 Changes
3 files changed (+47 additions, -27 deletions)
View changed files
📝
gow.plg(+5 -1)📝
packages/settings-ui/root/usr/local/emhttp/plugins/gow/gow.page(+41 -25)📝
scripts/vars.sh(+1 -1)📄 Description
Summary
Two user reports from the 2026.04.26 release:
Menu="Settings"→Menu="OtherSettings"ingow.pageputs the icon under User Utilities like every other CA plugin.launch="Settings/gow"ingow.plgcontinues to work unchanged.#1e1e2ecards, etc.) but never setcolor, so card text inherited the theme's body colour and went dark-on-dark on the white / azure themes.Approach
Replaced the hard-coded palette with Unraid's theme-aware CSS variables, defined in
webgui/emhttp/plugins/dynamix/styles/default-color-palette.cssandthemes/{theme}.css. The page now picks up:--text-color,--alt-text-color,--background-color,--mild-background-color,--border-color,--input-border-colorfor the chrome--green-500,--red-800,--orange-300,--blue-700,--gray-500for buttons / status badges / warnings (these are palette constants, but the surrounding text/bg vars track the theme so contrast stays correct)Pulled the inline
style="color:#ef9a9a"/style="color:#ffcc80"/ etc. into named classes (.gow-warn,.gow-error,.gow-status-running,.gow-status-stopped,.gow-status-restarting,.gow-status-unknown,.gow-msg-link) so the page no longer has any hard-coded hex.Test plan
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.