mirror of
https://github.com/alexpasmantier/television.git
synced 2025-06-06 03:25:23 +00:00
feat(ui): add new television
theme that inherits the terminal bg (#220)
This commit is contained in:
parent
931a7bb5c3
commit
53bd4a3815
@ -5,6 +5,10 @@ use lazy_static::lazy_static;
|
|||||||
lazy_static! {
|
lazy_static! {
|
||||||
pub static ref BUILTIN_THEMES: HashMap<&'static str, &'static str> = {
|
pub static ref BUILTIN_THEMES: HashMap<&'static str, &'static str> = {
|
||||||
let mut m = HashMap::new();
|
let mut m = HashMap::new();
|
||||||
|
m.insert(
|
||||||
|
"television",
|
||||||
|
include_str!("../../../../themes/television.toml"),
|
||||||
|
);
|
||||||
m.insert(
|
m.insert(
|
||||||
"gruvbox-dark",
|
"gruvbox-dark",
|
||||||
include_str!("../../../../themes/gruvbox-dark.toml"),
|
include_str!("../../../../themes/gruvbox-dark.toml"),
|
||||||
|
21
themes/television.toml
Normal file
21
themes/television.toml
Normal 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'
|
Loading…
x
Reference in New Issue
Block a user