From 91d20a46d100fd7773225032e00bc4c15f9a8407 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Wed, 10 Dec 2025 08:23:05 +0100 Subject: [PATCH] :lipstick: Add cosmetic changes to exports assets progress component --- frontend/src/app/main/ui/exports/assets.cljs | 40 +++++++++++--------- 1 file changed, 23 insertions(+), 17 deletions(-) diff --git a/frontend/src/app/main/ui/exports/assets.cljs b/frontend/src/app/main/ui/exports/assets.cljs index 376856ebce..cf97f6e498 100644 --- a/frontend/src/app/main/ui/exports/assets.cljs +++ b/frontend/src/app/main/ui/exports/assets.cljs @@ -223,24 +223,30 @@ circ (* 2 Math/PI 12) pct (- circ (* circ (/ progress total))) - pwidth (if error? - 280 - (/ (* progress 280) total)) - color (cond - error? clr/new-danger - healthy? (if is-default-theme? - clr/new-primary - clr/new-primary-light) - (not healthy?) clr/new-warning) + pwidth + (if error? + 280 + (/ (* progress 280) total)) - background-clr (if is-default-theme? - clr/background-quaternary - clr/background-quaternary-light) - title (cond - error? (tr "workspace.options.exporting-object-error") - complete? (tr "workspace.options.exporting-complete") - healthy? (tr "workspace.options.exporting-object") - (not healthy?) (tr "workspace.options.exporting-object-slow")) + color + (cond + error? clr/new-danger + healthy? (if is-default-theme? + clr/new-primary + clr/new-primary-light) + (not healthy?) clr/new-warning) + + background-clr + (if is-default-theme? + clr/background-quaternary + clr/background-quaternary-light) + + title + (cond + error? (tr "workspace.options.exporting-object-error") + complete? (tr "workspace.options.exporting-complete") + healthy? (tr "workspace.options.exporting-object") + (not healthy?) (tr "workspace.options.exporting-object-slow")) retry-last-export (mf/use-fn #(st/emit! (de/retry-last-export)))