mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 19:56:42 +01:00
30 lines
776 B
Rust
30 lines
776 B
Rust
use crate::*;
|
|
|
|
pub struct TuiTheme;
|
|
|
|
impl TuiTheme {
|
|
pub fn border_bg () -> Color {
|
|
Color::Rgb(40, 50, 30)
|
|
}
|
|
pub fn border_fg (focused: bool) -> Color {
|
|
if focused { Color::Rgb(100, 110, 40) } else { Color::Rgb(70, 80, 50) }
|
|
}
|
|
pub fn title_fg (focused: bool) -> Color {
|
|
if focused { Color::Rgb(150, 160, 90) } else { Color::Rgb(120, 130, 100) }
|
|
}
|
|
pub fn separator_fg (_: bool) -> Color {
|
|
Color::Rgb(0, 0, 0)
|
|
}
|
|
pub const fn hotkey_fg () -> Color {
|
|
Color::Rgb(255, 255, 0)
|
|
}
|
|
pub fn mode_bg () -> Color {
|
|
Color::Rgb(150, 160, 90)
|
|
}
|
|
pub fn mode_fg () -> Color {
|
|
Color::Rgb(255, 255, 255)
|
|
}
|
|
pub fn status_bar_bg () -> Color {
|
|
Color::Rgb(28, 35, 25)
|
|
}
|
|
}
|