mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 01:45:03 +02:00
with_love table theme (#2468)
This commit is contained in:
@ -114,6 +114,7 @@ impl Theme {
|
||||
print_bottom_border: true,
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(unused)]
|
||||
pub fn thin() -> Theme {
|
||||
Theme {
|
||||
@ -144,6 +145,7 @@ impl Theme {
|
||||
print_bottom_border: true,
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(unused)]
|
||||
pub fn light() -> Theme {
|
||||
Theme {
|
||||
@ -174,6 +176,7 @@ impl Theme {
|
||||
print_bottom_border: true,
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(unused)]
|
||||
pub fn compact() -> Theme {
|
||||
Theme {
|
||||
@ -203,6 +206,37 @@ impl Theme {
|
||||
print_bottom_border: true,
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(unused)]
|
||||
pub fn with_love() -> Theme {
|
||||
Theme {
|
||||
top_left: '❤',
|
||||
middle_left: '❤',
|
||||
bottom_left: '❤',
|
||||
top_center: '❤',
|
||||
center: '❤',
|
||||
bottom_center: '❤',
|
||||
top_right: '❤',
|
||||
middle_right: '❤',
|
||||
bottom_right: '❤',
|
||||
top_horizontal: '❤',
|
||||
middle_horizontal: '❤',
|
||||
bottom_horizontal: '❤',
|
||||
|
||||
left_vertical: ' ',
|
||||
center_vertical: '❤',
|
||||
right_vertical: ' ',
|
||||
|
||||
separate_header: true,
|
||||
separate_rows: false,
|
||||
|
||||
print_left_border: false,
|
||||
print_right_border: false,
|
||||
print_top_border: true,
|
||||
print_bottom_border: true,
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(unused)]
|
||||
pub fn compact_double() -> Theme {
|
||||
Theme {
|
||||
|
Reference in New Issue
Block a user