Add a disabled-by-default toggle for using bright colors for bold text

Signed-off-by: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com>
This commit is contained in:
Mohammad AlSaleh 2024-01-11 17:47:24 +03:00 • committed by Jeremy Soller
parent fc6e2de78b
commit b161db94d1
4 changed files with 32 additions and 8 deletions

View file

@ -39,6 +39,7 @@ pub struct Config {
pub font_stretch: u16,
pub font_size_zoom_step_mul_100: u16,
pub show_headerbar: bool,
pub use_bright_bold: bool,
pub syntax_theme_dark: String,
pub syntax_theme_light: String,
}
@ -54,6 +55,7 @@ impl Default for Config {
font_stretch: Stretch::Normal.to_number(),
font_size_zoom_step_mul_100: 100,
show_headerbar: true,
use_bright_bold: false,
syntax_theme_dark: "COSMIC Dark".to_string(),
syntax_theme_light: "COSMIC Light".to_string(),
}