Combine LabelColor and IconColor into TextColor

This commit is contained in:
Marshall Bowers 2023-11-14 13:48:01 -05:00
parent dc56a7b12b
commit 76c15229c1
25 changed files with 152 additions and 220 deletions

View file

@ -1,8 +1,8 @@
use gpui::{Div, Render};
use theme2::ActiveTheme;
use crate::{h_stack, v_stack, KeyBinding, Label, LabelColor, StyledExt};
use crate::{prelude::*, LabelSize};
use crate::prelude::*;
use crate::{h_stack, v_stack, KeyBinding, Label, LabelSize, StyledExt, TextColor};
pub struct TextTooltip {
title: SharedString,
@ -52,7 +52,7 @@ impl Render for TextTooltip {
this.child(
Label::new(meta)
.size(LabelSize::Small)
.color(LabelColor::Muted),
.color(TextColor::Muted),
)
})
}