From 5f6858251cfe58fa6f96f0f4b3cebee5141e4a07 Mon Sep 17 00:00:00 2001 From: filipriec Date: Sat, 22 Mar 2025 22:51:53 +0100 Subject: [PATCH] moved themes out of the config --- client/src/config/binds.rs | 1 + client/src/config/colors.rs | 4 ++++ client/src/config/colors/{colors.rs => themes.rs} | 2 +- client/src/config/{binds => }/config.rs | 0 client/src/config/{binds => }/key_sequences.rs | 0 client/src/config/mod.rs | 4 +++- 6 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 client/src/config/binds.rs create mode 100644 client/src/config/colors.rs rename client/src/config/colors/{colors.rs => themes.rs} (98%) rename client/src/config/{binds => }/config.rs (100%) rename client/src/config/{binds => }/key_sequences.rs (100%) diff --git a/client/src/config/binds.rs b/client/src/config/binds.rs new file mode 100644 index 0000000..9339ee6 --- /dev/null +++ b/client/src/config/binds.rs @@ -0,0 +1 @@ +// src/config/binds.rs diff --git a/client/src/config/colors.rs b/client/src/config/colors.rs new file mode 100644 index 0000000..ea2553f --- /dev/null +++ b/client/src/config/colors.rs @@ -0,0 +1,4 @@ +// src/config/colors.rs +pub mod themes; + +pub use themes::*; diff --git a/client/src/config/colors/colors.rs b/client/src/config/colors/themes.rs similarity index 98% rename from client/src/config/colors/colors.rs rename to client/src/config/colors/themes.rs index 515f252..b285a17 100644 --- a/client/src/config/colors/colors.rs +++ b/client/src/config/colors/themes.rs @@ -1,4 +1,4 @@ -// src/client/colors.rs +// src/client/themes/colors.rs use ratatui::style::Color; #[derive(Debug, Clone)] diff --git a/client/src/config/binds/config.rs b/client/src/config/config.rs similarity index 100% rename from client/src/config/binds/config.rs rename to client/src/config/config.rs diff --git a/client/src/config/binds/key_sequences.rs b/client/src/config/key_sequences.rs similarity index 100% rename from client/src/config/binds/key_sequences.rs rename to client/src/config/key_sequences.rs diff --git a/client/src/config/mod.rs b/client/src/config/mod.rs index c7fe975..d2f1712 100644 --- a/client/src/config/mod.rs +++ b/client/src/config/mod.rs @@ -1,4 +1,6 @@ // src/config/mod.rs -pub mod colors; pub mod config; pub mod key_sequences; + +pub mod binds; +pub mod colors;