mirror of
https://github.com/socatlolmeow/drift.git
synced 2026-11-03 19:27:19 +00:00
add: accent color option in config
This commit is contained in:
parent
b31d0226d3
commit
bf11685a03
3 changed files with 141 additions and 44 deletions
|
|
@ -165,6 +165,7 @@ pub struct App {
|
|||
pub volume: u8,
|
||||
pub shuffle: bool,
|
||||
pub repeat: RepeatMode,
|
||||
pub accent: ratatui::style::Color,
|
||||
played: HashSet<usize>,
|
||||
fail_streak: u8,
|
||||
result_cursor: Option<usize>,
|
||||
|
|
@ -241,6 +242,7 @@ impl App {
|
|||
volume: p.volume,
|
||||
shuffle: p.shuffle,
|
||||
repeat: p.repeat,
|
||||
accent: cfg.ui.accent,
|
||||
played: HashSet::new(),
|
||||
fail_streak: 0,
|
||||
result_cursor: None,
|
||||
|
|
|
|||
Loading…
Reference in a new issue