Skip to content

Commit e5ab941

Browse files
committed
fix(themes): apply cargo fmt and fix alphabetical order
1 parent aa4545e commit e5ab941

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎src/theme/mod.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ impl Theme {
7474
"ayu-dark" => Ok(themes::ayu_dark()),
7575
"catppuccin" => Ok(themes::catppuccin()),
7676
"dracula" => Ok(themes::dracula()),
77-
"fluorite" => Ok(themes::fluorite()),
7877
"everforest" => Ok(themes::everforest()),
78+
"fluorite" => Ok(themes::fluorite()),
7979
"github-dark" => Ok(themes::github_dark()),
8080
"gruvbox" => Ok(themes::gruvbox()),
8181
"material" => Ok(themes::material()),

‎src/theme/themes/fluorite.rs‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ use ratatui::style::Color;
66
/// Created by Rnbsov (https://github.com/Rnbsov)
77
pub fn fluorite() -> Theme {
88
Theme {
9-
background_left: Color::Rgb(18, 12, 23), // Sidebar (#120c17)
10-
background_right: Color::Rgb(22, 17, 27), // Editor (#16111b)
9+
background_left: Color::Rgb(18, 12, 23), // Sidebar (#120c17)
10+
background_right: Color::Rgb(22, 17, 27), // Editor (#16111b)
1111

12-
editor_line_number: Color::Rgb(42, 28, 54),
12+
editor_line_number: Color::Rgb(42, 28, 54),
1313
editor_line_number_cursor: Color::Rgb(65, 43, 84),
1414
editor_separator: Color::Rgb(42, 28, 54),
1515
editor_cursor_char_bg: Color::Rgb(163, 109, 207),
@@ -23,16 +23,16 @@ pub fn fluorite() -> Theme {
2323
file_tree_directory: Color::Rgb(136, 92, 173),
2424
file_tree_current_file_bg: Color::Rgb(25, 17, 31),
2525
file_tree_current_file_fg: Color::Rgb(136, 92, 173),
26-
file_tree_default: Color::Rgb(91, 60, 117),
26+
file_tree_default: Color::Rgb(91, 60, 117),
2727
file_tree_stats_added: Color::Rgb(129, 184, 139),
28-
file_tree_stats_deleted: Color::Rgb(91, 60, 117),
28+
file_tree_stats_deleted: Color::Rgb(91, 60, 117),
2929

30-
terminal_command: Color::Rgb(136, 92, 173),
30+
terminal_command: Color::Rgb(136, 92, 173),
3131
terminal_output: Color::Rgb(110, 155, 188),
3232
terminal_cursor_bg: Color::Rgb(163, 109, 207),
3333
terminal_cursor_fg: Color::Rgb(22, 17, 27),
3434

35-
status_hash: Color::Rgb(173, 133, 245),
35+
status_hash: Color::Rgb(173, 133, 245),
3636
status_author: Color::Rgb(139, 203, 255),
3737
status_date: Color::Rgb(209, 123, 159),
3838
status_message: Color::Rgb(110, 155, 188),
@@ -54,4 +54,4 @@ pub fn fluorite() -> Theme {
5454
syntax_property: Color::Rgb(139, 215, 137),
5555
syntax_label: Color::Rgb(222, 127, 236),
5656
}
57-
}
57+
}

0 commit comments

Comments
 (0)