💄 Add cosmetic changes to exports assets progress component

This commit is contained in:
Andrey Antukh
2025-12-10 08:23:05 +01:00
parent 50bead7c56
commit 91d20a46d1

View File

@@ -223,20 +223,26 @@
circ (* 2 Math/PI 12)
pct (- circ (* circ (/ progress total)))
pwidth (if error?
pwidth
(if error?
280
(/ (* progress 280) total))
color (cond
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?
background-clr
(if is-default-theme?
clr/background-quaternary
clr/background-quaternary-light)
title (cond
title
(cond
error? (tr "workspace.options.exporting-object-error")
complete? (tr "workspace.options.exporting-complete")
healthy? (tr "workspace.options.exporting-object")