use egui::RichText;
pub fn progress_bar(progress: f32) -> egui::ProgressBar {
egui::ProgressBar::new(progress)
.fill(super::colors::BLUE)
.corner_radius(0)
}
pub trait RichTextExt {
fn stk_weak(self) -> Self;
}
impl RichTextExt for RichText {
fn stk_weak(self) -> Self {
self.color(super::colors::OVERLAY_2)
}
}