diff --git a/src/main.rs b/src/main.rs index a641375..74c36ff 100644 --- a/src/main.rs +++ b/src/main.rs @@ -92,13 +92,19 @@ fn main() -> Result<(), Box> { let mut cursor = io::Cursor::new(theme_data); match syntect::highlighting::ThemeSet::load_from_reader(&mut cursor) { Ok(mut theme) => { - // Use cosmic theme background + // Use libcosmic theme for background and gutter theme.settings.background = Some(syntect::highlighting::Color { r: 0, g: 0, b: 0, a: 0, }); + theme.settings.gutter = Some(syntect::highlighting::Color { + r: 0, + g: 0, + b: 0, + a: 0, + }); theme_set.themes.insert(theme_name.to_string(), theme); } Err(err) => {