TextColor -> Color

This commit is contained in:
Nate Butler 2023-11-21 01:05:29 -05:00
parent 56d45e72cd
commit 453aa5ffd7
24 changed files with 148 additions and 148 deletions

View file

@ -4,7 +4,7 @@ use gpui::{
ViewContext, WindowContext,
};
use theme2::ActiveTheme;
use ui::{h_stack, v_stack, Button, Icon, IconButton, Label, TextColor};
use ui::{h_stack, v_stack, Button, Color, Icon, IconButton, Label};
pub enum ToolbarItemEvent {
ChangeLocation(ToolbarItemLocation),
@ -92,7 +92,7 @@ impl Render for Toolbar {
h_stack()
.p_1()
.child(Button::new("crates"))
.child(Label::new("/").color(TextColor::Muted))
.child(Label::new("/").color(Color::Muted))
.child(Button::new("workspace2")),
)
// Toolbar right side