Commit 6410ca8
impr(theme): display custom theme names in indicator (@Sharann-del) (monkeytypegame#7798)
Improves the theme indicator by displaying the actual custom theme name
instead of the generic "custom".
- Matches active custom theme using color comparison
- Displays as: "themeName (custom)"
- Falls back to "custom" if no match is found
Notes:
- Config does not store custom theme IDs, so matching is done via color
arrays
- Handles edge cases such as unsaved themes and missing DB snapshot
- Does not affect preview or random theme behavior
---------
Co-authored-by: Jack <jack@monkeytype.com>1 parent 95eaae2 commit 6410ca8
1 file changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
89 | 103 | | |
90 | 104 | | |
91 | 105 | | |
| |||
0 commit comments