summaryrefslogtreecommitdiffstats
path: root/src/config/theme/app_theme.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/theme/app_theme.rs')
-rw-r--r--src/config/theme/app_theme.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/config/theme/app_theme.rs b/src/config/theme/app_theme.rs
index 651b2fd..6e3dfec 100644
--- a/src/config/theme/app_theme.rs
+++ b/src/config/theme/app_theme.rs
@@ -13,6 +13,8 @@ pub struct AppThemeRaw {
#[serde(default)]
pub selection: AppStyleRaw,
#[serde(default)]
+ pub visual_mode_selection: AppStyleRaw,
+ #[serde(default)]
pub directory: AppStyleRaw,
#[serde(default)]
pub executable: AppStyleRaw,
@@ -29,6 +31,7 @@ pub struct AppThemeRaw {
impl From<AppThemeRaw> for AppTheme {
fn from(crude: AppThemeRaw) -> Self {
let selection = crude.selection.to_style_theme();
+ let visual_mode_selection = crude.visual_mode_selection.to_style_theme();
let executable = crude.executable.to_style_theme();
let regular = crude.regular.to_style_theme();
let directory = crude.directory.to_style_theme();
@@ -46,6 +49,7 @@ impl From<AppThemeRaw> for AppTheme {
Self {
selection,
+ visual_mode_selection,
executable,
regular,
directory,
@@ -61,6 +65,7 @@ impl From<AppThemeRaw> for AppTheme {
pub struct AppTheme {
pub regular: AppStyle,
pub selection: AppStyle,
+ pub visual_mode_selection: AppStyle,
pub directory: AppStyle,
pub executable: AppStyle,
pub link: AppStyle,