mirror of
https://github.com/sharkdp/bat
synced 2026-07-25 17:21:43 +00:00
Use default_theme() function from theme module
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ fn detect(when: DetectColorScheme, detector: &dyn ColorSchemeDetector) -> Option
|
||||
should_detect.then(|| detector.detect()).flatten()
|
||||
}
|
||||
|
||||
const fn default_theme(color_scheme: ColorScheme) -> &'static str {
|
||||
pub(crate) const fn default_theme(color_scheme: ColorScheme) -> &'static str {
|
||||
match color_scheme {
|
||||
ColorScheme::Dark => "Monokai Extended",
|
||||
ColorScheme::Light => "Monokai Extended Light",
|
||||
|
||||
Reference in New Issue
Block a user