From bc2162f91c32e82097cae20c53c2eb2d28be236f Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Thu, 26 Nov 2026 07:49:28 -0800 Subject: [PATCH] Use muted body text for Learn step numbers --- crates/ui-egui/src/panels/learn.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/crates/ui-egui/src/panels/learn.rs b/crates/ui-egui/src/panels/learn.rs index 985871889c..5753cc3bb5 100644 --- a/crates/ui-egui/src/panels/learn.rs +++ b/crates/ui-egui/src/panels/learn.rs @@ -27,7 +27,7 @@ use craft::ui::contract::{ Bind, CollectionEvent, Gap, LabelKind, MemoProps, Props as _, SelectMode, Show as _, ShowCollection as _, ShowContainer as _, SideLabel, Sizing, clicked, }; -use craft::ui::display::Text; +use craft::ui::display::{Shade, Text}; use craft::ui::form::Field; use craft::ui::layout_components::Row; use craft::ui::list::{List, ListRow}; @@ -221,8 +221,7 @@ fn steps(app: &mut VectorcraftApp, ui: &mut Ui, tutorial: &'static catalog::Tuto if let Some(next) = next { marked = Some((i, next)); } - // PLAN: the number should read in the muted ink; the caption role stands in until `Text` names it. - Text::new(format!("{}.", i + 1)).role(TypeRole::Caption).show(ui); + Text::new(format!("{}.", i + 1)).shade(Shade::Muted).show(ui); if step_text(ui, step) { locate = step.tool; }