Revert "ui: Color cleanup (#26673)" (#26681)

This reverts commit 6767e98e00.

Somehow that PR automerged itself even with failed CI checks.

Release Notes:

- N/A
This commit is contained in:
Nate Butler 2025-03-13 11:40:57 -04:00 committed by GitHub
parent 87cdb68cca
commit b75964a636
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 161 additions and 139 deletions

View file

@ -6667,14 +6667,16 @@ impl Editor {
.child(
Label::new(label)
.size(LabelSize::Small)
.when(!has_keybind, |el| el.color(Color::Error).strikethrough()),
.when(!has_keybind, |el| {
el.color(cx.theme().status().error.into()).strikethrough()
}),
)
.when(!has_keybind, |el| {
el.child(
h_flex().ml_1().child(
Icon::new(IconName::Info)
.size(IconSize::Small)
.color(Color::Error),
.color(cx.theme().status().error.into()),
),
)
})