feat(ui): add new television theme that inherits the terminal bg

This commit is contained in:
Alexandre Pasmantier 2025-01-05 23:58:35 +01:00
parent 21fb3cb53c
commit e1bdbea633
2 changed files with 25 additions and 0 deletions

View File

@ -5,6 +5,10 @@ use lazy_static::lazy_static;
lazy_static! {
pub static ref BUILTIN_THEMES: HashMap<&'static str, &'static str> = {
let mut m = HashMap::new();
m.insert(
"television",
include_str!("../../../../themes/television.toml"),
);
m.insert(
"gruvbox-dark",
include_str!("../../../../themes/gruvbox-dark.toml"),

21
themes/television.toml Normal file
View File

@ -0,0 +1,21 @@
# general
# Comment this out to use your terminal's default background color
# background = '#18191a'
border_fg = '#6a6a7e'
text_fg = '#cdcdcd'
dimmed_text_fg = '#646477'
# input
input_text_fg = '#d2788c'
result_count_fg = '#d2788c'
# results
result_name_fg = '#9a9ac7'
result_line_number_fg = '#d2a374'
result_value_fg = '#646477'
selection_bg = '#282830'
match_fg = '#d2788c'
# preview
preview_title_fg = '#d2a374'
# modes
channel_mode_fg = '#8faf77'
remote_control_mode_fg = '#d2a374'
send_to_channel_mode_fg = '#d2788c'