egoist / egoist/omarchy-cpu-usage
Process names and panel values invisible with Tokyo Night theme
- Dominant language
- QML
- Stars
- 12
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
First of all, thank you for this very useful and beautifully designed plugin! I really appreciate the work you’ve put into it.
## Issue
Process names, CPU percentages,..., are invisible with the Tokyo Night theme.
## Environment
- Omarchy: 4.0.1-1
- Theme: Tokyo Night
- Plugin revision: b4b5cc6
## Steps to reproduce
1. Use the Tokyo Night theme.
2. Open the CPU panel.
## Cause
`Panel.qml` uses `root.barForeground` for panel content. This is the adaptive
bar foreground and can be dark depending on the bar/background configuration,
even though the popup itself has a dark background.
## Tested fix
Using the popup palette fixes the issue:
```qml
readonly property color panelForeground: Color.popups.text
Then replace panel-content uses of root.barForeground with
root.panelForeground.
This also fixes the graph grid, process names, CPU percentages, temperature,
legend labels, load values, uptime, CPU count, and footer text.
Thank you!
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with Panel.qml and inspect the panel-content color bindings, especially uses of root.barForeground. Verify the change with the Tokyo Night theme by opening the CPU panel; done means process names, values, graph labels, and footer text are visible.
Written by the indexing model from the issue text.
Assessment
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 90/100