// state.rs use crate::config::Config; use std::path::PathBuf; use std::sync::Mutex; pub struct AppState { pub config: Mutex, pub opened_files: Mutex>, /// Theme folder requested by the main window when it opens the editor. pub editor_theme_folder: Mutex>, }