Commit 599e43e
committed
feat: make StoppedIcon theme-aware and remove hardcoded loader colors
1. StoppedIcon component:
- Add theme detection using useTheme hook
- Use lighter grey (black-300) for dark theme
- Use darker grey (black-500) for light theme
- Improves visibility of stopped workspace status icon in both themes
2. Main page loader:
- Remove hardcoded color: #fff
- Remove hardcoded background-color: #000
- Allow loader to inherit theme colors naturally
Changes:
- Convert StoppedIcon to use dynamic fill color based on theme
- Keep greyCssVariable export for backward compatibility
- Clean up branding.css to respect theme colors
Assisted-by: Claude Sonnet 4.5
Signed-off-by: Oleksii Orel <oorel@redhat.com>1 parent 9aba0b5 commit 599e43e
File tree
3 files changed
+13
-5
lines changed- packages/dashboard-frontend
- assets/branding
- src/components/Workspace/Status
3 files changed
+13
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | | - | |
14 | 12 | | |
15 | 13 | | |
16 | 14 | | |
| |||
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
16 | 23 | | |
17 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
18 | 28 | | |
19 | 29 | | |
20 | | - | |
| 30 | + | |
21 | 31 | | |
22 | 32 | | |
23 | 33 | | |
| |||
0 commit comments