Ignore style modifiers and underline for now

This commit is contained in:
mars 2023-04-12 12:41:22 -04:00
parent 7137744122
commit 51622bf6fd
1 changed files with 2 additions and 0 deletions

View File

@ -301,6 +301,8 @@ impl Palette {
match name.as_str() {
"fg" => style.fg = Some(self.parse_color(&value)?),
"bg" => style.bg = Some(self.parse_color(&value)?),
"modifiers" => {} // ignore for now
"underline" => {} // ignore for now
_ => return Err(format!("Theme: invalid style attribute: {}", name)),
}
}