feat: change `lapce warn` color

This commit is contained in:
YuKun Liu 2022-06-08 10:25:54 +08:00
parent 60ceda7544
commit 297710dee5
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ fn paint(&mut self, ctx: &mut PaintCtx, data: &LapceTabData, _env: &Env) {
data.config.ui.font_size() as f64,
)
.default_attribute(TextAttribute::Weight(FontWeight::SEMI_BOLD))
.text_color(data.config.get_color_unchecked(LapceTheme::LAPCE_WARN))
.text_color(data.config.get_color_unchecked(LapceTheme::LAPCE_WARN).clone())
.build()
.unwrap();
ctx.draw_text(&layout, Point::new(x, y));