FIX[import xlsx]: Sets default text color to black

Default text color was transparent white. I am not sure how this didn't
cause more problems :)
This commit is contained in:
Nicolás Hatcher
2025-06-23 08:12:20 +02:00
committed by Nicolás Hatcher Andrés
parent b0a5e2553a
commit a19124cc16

View File

@@ -93,7 +93,8 @@ pub(super) fn load_styles<R: Read + std::io::Seek>(
let mut b = false;
let mut i = false;
let mut strike = false;
let mut color = Some("FFFFFF00".to_string());
// Default color is black
let mut color = Some("000000FF".to_string());
let mut family = 2;
let mut scheme = FontScheme::default();
for feature in font.children() {