feat: apply my theme colors to app
This commit is contained in:
+6
-6
@@ -464,7 +464,7 @@ fn render_visualizer(f: &mut Frame, area: Rect, bar_values: &[u64]) {
|
|||||||
.collect();
|
.collect();
|
||||||
|
|
||||||
let viz_paragraph = Paragraph::new(line)
|
let viz_paragraph = Paragraph::new(line)
|
||||||
.style(Style::default().fg(Color::Cyan))
|
.style(Style::default().fg(Color::Rgb(200, 184, 224)))
|
||||||
.alignment(Alignment::Center);
|
.alignment(Alignment::Center);
|
||||||
|
|
||||||
f.render_widget(viz_paragraph, area);
|
f.render_widget(viz_paragraph, area);
|
||||||
@@ -554,11 +554,11 @@ fn main() -> Result<(), io::Error> {
|
|||||||
let time_str = format!("{:02}:{:02}", minutes, seconds);
|
let time_str = format!("{:02}:{:02}", minutes, seconds);
|
||||||
|
|
||||||
let time_color = if !termato.is_running {
|
let time_color = if !termato.is_running {
|
||||||
Color::Yellow
|
Color::Rgb(212, 200, 122)
|
||||||
} else {
|
} else {
|
||||||
match termato.mode {
|
match termato.mode {
|
||||||
TimerMode::Work => Color::Red,
|
TimerMode::Work => Color::Rgb(212, 115, 115),
|
||||||
TimerMode::Break => Color::Green,
|
TimerMode::Break => Color::Rgb(126, 200, 192),
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -643,7 +643,7 @@ fn main() -> Result<(), io::Error> {
|
|||||||
let help_block = Block::default()
|
let help_block = Block::default()
|
||||||
.title(" Controls ")
|
.title(" Controls ")
|
||||||
.borders(Borders::ALL)
|
.borders(Borders::ALL)
|
||||||
.border_style(Style::default().fg(Color::DarkGray));
|
.border_style(Style::default().fg(Color::Rgb(58, 62, 70)));
|
||||||
|
|
||||||
let help_content = Paragraph::new(
|
let help_content = Paragraph::new(
|
||||||
"[Space] Pause / Resume\n\
|
"[Space] Pause / Resume\n\
|
||||||
@@ -653,7 +653,7 @@ fn main() -> Result<(), io::Error> {
|
|||||||
[Q] Quit",
|
[Q] Quit",
|
||||||
)
|
)
|
||||||
.block(help_block)
|
.block(help_block)
|
||||||
.style(Style::default().fg(Color::DarkGray))
|
.style(Style::default().fg(Color::Rgb(224, 228, 232)))
|
||||||
.alignment(Alignment::Left);
|
.alignment(Alignment::Left);
|
||||||
|
|
||||||
f.render_widget(Clear, popup_area);
|
f.render_widget(Clear, popup_area);
|
||||||
|
|||||||
Reference in New Issue
Block a user