refactor: split cargo workspace
This commit is contained in:
parent
5db14936e7
commit
1c21bd1259
695 changed files with 32023 additions and 44964 deletions
48
crates/jay-config-schema/src/theme.rs
Normal file
48
crates/jay-config-schema/src/theme.rs
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
use jay_config::theme::{BarPosition, Color};
|
||||
|
||||
#[derive(Debug, Clone, Default)]
|
||||
pub struct Theme {
|
||||
pub attention_requested_bg_color: Option<Color>,
|
||||
pub bg_color: Option<Color>,
|
||||
pub bar_bg_color: Option<Color>,
|
||||
pub bar_status_text_color: Option<Color>,
|
||||
pub border_color: Option<Color>,
|
||||
pub active_border_color: Option<Color>,
|
||||
pub captured_focused_title_bg_color: Option<Color>,
|
||||
pub captured_unfocused_title_bg_color: Option<Color>,
|
||||
pub focused_inactive_title_bg_color: Option<Color>,
|
||||
pub focused_inactive_title_text_color: Option<Color>,
|
||||
pub focused_title_bg_color: Option<Color>,
|
||||
pub focused_title_text_color: Option<Color>,
|
||||
pub separator_color: Option<Color>,
|
||||
pub unfocused_title_bg_color: Option<Color>,
|
||||
pub unfocused_title_text_color: Option<Color>,
|
||||
pub highlight_color: Option<Color>,
|
||||
pub border_width: Option<i32>,
|
||||
pub title_height: Option<i32>,
|
||||
pub bar_height: Option<i32>,
|
||||
pub font: Option<String>,
|
||||
pub title_font: Option<String>,
|
||||
pub bar_font: Option<String>,
|
||||
pub bar_position: Option<BarPosition>,
|
||||
pub bar_separator_width: Option<i32>,
|
||||
pub gap: Option<i32>,
|
||||
pub floating_titles: Option<bool>,
|
||||
pub title_gap: Option<i32>,
|
||||
pub corner_radius: Option<f32>,
|
||||
pub tab_active_bg_color: Option<Color>,
|
||||
pub tab_active_border_color: Option<Color>,
|
||||
pub tab_inactive_bg_color: Option<Color>,
|
||||
pub tab_inactive_border_color: Option<Color>,
|
||||
pub tab_active_text_color: Option<Color>,
|
||||
pub tab_inactive_text_color: Option<Color>,
|
||||
pub tab_bar_bg_color: Option<Color>,
|
||||
pub tab_attention_bg_color: Option<Color>,
|
||||
pub tab_bar_height: Option<i32>,
|
||||
pub tab_bar_padding: Option<i32>,
|
||||
pub tab_bar_radius: Option<i32>,
|
||||
pub tab_bar_border_width: Option<i32>,
|
||||
pub tab_bar_text_padding: Option<i32>,
|
||||
pub tab_bar_gap: Option<i32>,
|
||||
pub tab_title_align: Option<String>,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue