Skip to content

Commit aa4545e

Browse files
authored
fix(themes): apply 'coderabbit' suggested style changes
1 parent d2bf885 commit aa4545e

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎src/theme/mod.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ impl Theme {
8989
"telemetry" => Ok(themes::telemetry()),
9090
"tokyo-night" => Ok(themes::tokyo_night()),
9191
_ => Err(anyhow::anyhow!("Unknown theme: {}", name))
92-
.context("Available themes: ayu-dark, catppuccin, dracula, everforest, github-dark, gruvbox, material, monokai, night-owl, nord, one-dark, rose-pine, solarized-dark, solarized-light, telemetry, tokyo-night"),
92+
.context("Available themes: ayu-dark, catppuccin, dracula, everforest, fluorite, github-dark, gruvbox, material, monokai, night-owl, nord, one-dark, rose-pine, solarized-dark, solarized-light, telemetry, tokyo-night"),
9393
}
9494
}
9595

@@ -106,8 +106,8 @@ impl Theme {
106106
"ayu-dark",
107107
"catppuccin",
108108
"dracula",
109-
"fluorite",
110109
"everforest",
110+
"fluorite",
111111
"github-dark",
112112
"gruvbox",
113113
"material",

‎src/theme/themes/fluorite.rs‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use super::super::Theme;
2-
use ratatui::style:: Color;
2+
use ratatui::style::Color;
33

44
/// Fluorite - Elegant dark theme with purple and pink tones
55
/// Soft and sophisticated color scheme inspired by the mineral fluorite
@@ -40,18 +40,18 @@ pub fn fluorite() -> Theme {
4040

4141
separator: Color::Rgb(42, 28, 54),
4242

43-
syntax_keyword: Color:: Rgb(222, 127, 236),
43+
syntax_keyword: Color::Rgb(222, 127, 236),
4444
syntax_type: Color::Rgb(173, 133, 245),
4545
syntax_function: Color::Rgb(139, 203, 255),
4646
syntax_variable: Color::Rgb(215, 215, 215),
4747
syntax_string: Color::Rgb(139, 215, 137),
4848
syntax_number: Color::Rgb(209, 123, 159),
49-
syntax_comment: Color:: Rgb(91, 60, 117),
50-
syntax_operator: Color:: Rgb(110, 155, 188),
51-
syntax_punctuation: Color:: Rgb(110, 155, 188),
49+
syntax_comment: Color::Rgb(91, 60, 117),
50+
syntax_operator: Color::Rgb(110, 155, 188),
51+
syntax_punctuation: Color::Rgb(110, 155, 188),
5252
syntax_constant: Color::Rgb(209, 123, 159),
5353
syntax_parameter: Color::Rgb(173, 133, 245),
54-
syntax_property: Color:: Rgb(139, 215, 137),
54+
syntax_property: Color::Rgb(139, 215, 137),
5555
syntax_label: Color::Rgb(222, 127, 236),
5656
}
5757
}

0 commit comments

Comments
 (0)