accounts are now real

This commit is contained in:
2025-12-03 22:51:57 -05:00
parent 4aa22de61b
commit 24bb65bf7b
15 changed files with 679 additions and 163 deletions

View File

@@ -2,11 +2,11 @@ use std::time::{Duration, Instant};
use super::*;
pub fn error(ui: &mut Ui, msg: &str) -> WidgetId {
text(msg)
pub fn werror(ui: &mut Ui, msg: &str) -> WidgetId {
wtext(msg)
.size(20)
.color(Color::RED.brighter(0.3))
.pad(10)
.background(rect(Color::RED).radius(10))
.add(ui)
.any()
}
@@ -69,5 +69,5 @@ fn select(id: WidgetId<TextEdit>, client: &mut Client, data: CursorData) {
}
pub fn hint(msg: impl Into<String>) -> TextBuilder {
text(msg).size(20).color(Color::GRAY)
wtext(msg).size(20).color(Color::GRAY)
}