[GH-ISSUE #117] Default theme.toml throws error. #48

Closed
opened 2026-03-02 23:44:01 +03:00 by kerem · 3 comments
Owner

Originally created by @Foxtrod89 on GitHub (Jan 31, 2023).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/117

Describe the bug
Default UI looks horrible, wasn't able to navigate through menu so I decided to plug theme.toml to play around with

To Reproduce
I catch this behavior by creating default theme.toml

Expected behavior
Spotify player will run

Log and backtrace

spotify_player

Error: missing field `selection_background` for key `themes.palette` at line 148 column 1

Screenshots
Default settings give me this look
FastPic.Ru

Environment

  • OS: macOS BigSur 11.6
  • Application version: spotify-player 0.10.0
  • Application features: if applicable, provide cargo features used to build with spotify-player
    cargo install spotify_player --features image --locked
    Additional context
Originally created by @Foxtrod89 on GitHub (Jan 31, 2023). Original GitHub issue: https://github.com/aome510/spotify-player/issues/117 **Describe the bug** Default UI looks horrible, wasn't able to navigate through menu so I decided to plug _theme.toml_ to play around with **To Reproduce** I catch this behavior by creating default _theme.toml_ **Expected behavior** _Spotify player_ will run **Log and backtrace** ``` spotify_player Error: missing field `selection_background` for key `themes.palette` at line 148 column 1 ``` **Screenshots** Default settings give me this look [![FastPic.Ru](https://i121.fastpic.org/thumb/2023/0131/c1/e1a9a73ff11b1a76001e5fdd66c498c1.jpeg)](https://fastpic.org/view/121/2023/0131/e1a9a73ff11b1a76001e5fdd66c498c1.png.html) **Environment** - OS: **macOS BigSur 11.6** - Application version: **spotify-player 0.10.0** - Application features: if applicable, provide [cargo features](https://doc.rust-lang.org/cargo/reference/features.html) used to build with `spotify-player` _cargo install spotify_player --features image --locked_ **Additional context**
kerem 2026-03-02 23:44:01 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@aome510 commented on GitHub (Jan 31, 2023):

I guess you're referring to theme.toml in the examples folder. Recently, I made some changes to the theme structure, so you can look into this instead.

Default settings give me this look

The default theme shouldn't give such a look. Can you try running the app using different terminal (e.g kitty, iterm2) instead of the default terminal of MacOS? My initial guess is that it is because colors are not well supported by your terminal.

<!-- gh-comment-id:1410970434 --> @aome510 commented on GitHub (Jan 31, 2023): I guess you're referring to `theme.toml` in the `examples` folder. Recently, I made some changes to the `theme` structure, so you can look into [this](https://github.com/aome510/spotify-player/blob/v0.10.0/examples/theme.toml) instead. > Default settings give me this look The default theme shouldn't give such a look. Can you try running the app using different terminal (e.g kitty, iterm2) instead of the default terminal of MacOS? My initial guess is that it is because colors are not well supported by your terminal.
Author
Owner

@Foxtrod89 commented on GitHub (Jan 31, 2023):

Problem solved by switching off ANSI colors but everything turned black/white now

<!-- gh-comment-id:1410984798 --> @Foxtrod89 commented on GitHub (Jan 31, 2023): Problem solved by switching off ANSI colors but everything turned black/white now
Author
Owner

@aome510 commented on GitHub (Jan 31, 2023):

Related: https://github.com/aome510/spotify-player/issues/97. I think it will get better with the new upcoming release, in which I switched to use terminal default colors instead of defining custom themes.

You can try the latest build of master branch. In the meantime, I'll close this issue for now. Feel free to reopen if encountering related issues.

<!-- gh-comment-id:1410989937 --> @aome510 commented on GitHub (Jan 31, 2023): Related: https://github.com/aome510/spotify-player/issues/97. I think it will get better with the new upcoming release, in which I switched to use terminal default colors instead of defining custom themes. You can try the latest build of `master` branch. In the meantime, I'll close this issue for now. Feel free to reopen if encountering related issues.
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
starred/spotify-player#48
No description provided.