Skip to content

Commit

Permalink
feat(ui): add new television theme that inherits the terminal bg (#220
Browse files Browse the repository at this point in the history
)
  • Loading branch information
alexpasmantier authored Jan 5, 2025
1 parent 931a7bb commit 53bd4a3
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/television/config/themes/builtin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down
21 changes: 21 additions & 0 deletions themes/television.toml
Original file line number Diff line number Diff line change
@@ -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'

0 comments on commit 53bd4a3

Please sign in to comment.