🐛 Fix incorrect theem selection on export progress bar color

This commit is contained in:
Andrey Antukh 2025-06-16 12:50:10 +02:00 committed by Alejandro Alonso
parent 481d1ec53a
commit 34d6e86e42
2 changed files with 4 additions and 2 deletions

View file

@ -50,6 +50,7 @@ on-premises instances** that want to keep up to date.
- Fix font size input not displaying "mixed" when multiple texts are selected [Taiga #11177](https://tree.taiga.io/project/penpot/issue/11177) - Fix font size input not displaying "mixed" when multiple texts are selected [Taiga #11177](https://tree.taiga.io/project/penpot/issue/11177)
- Misalignments at Create account [Taiga #11315](https://tree.taiga.io/project/penpot/issue/11315) - Misalignments at Create account [Taiga #11315](https://tree.taiga.io/project/penpot/issue/11315)
- Fix issue with importing files where flex/grid is used [Taiga #11334](https://tree.taiga.io/project/penpot/issue/11334) - Fix issue with importing files where flex/grid is used [Taiga #11334](https://tree.taiga.io/project/penpot/issue/11334)
- Fix wrong color in the export progress bar [Taiga #11299](https://tree.taiga.io/project/penpot/issue/11299)
## 2.7.2 ## 2.7.2

View file

@ -21,6 +21,7 @@
[app.util.dom :as dom] [app.util.dom :as dom]
[app.util.i18n :as i18n :refer [tr c]] [app.util.i18n :as i18n :refer [tr c]]
[app.util.strings :as ust] [app.util.strings :as ust]
[app.util.theme :as theme]
[cuerdas.core :as str] [cuerdas.core :as str]
[rumext.v2 :as mf])) [rumext.v2 :as mf]))
@ -208,8 +209,8 @@
[] []
(let [state (mf/deref refs/export) (let [state (mf/deref refs/export)
profile (mf/deref refs/profile) profile (mf/deref refs/profile)
theme (or (:theme profile) "default") theme (or (:theme profile) theme/default)
is-default-theme? (= "default" theme) is-default-theme? (= theme/default theme)
error? (:error state) error? (:error state)
healthy? (:healthy? state) healthy? (:healthy? state)
detail-visible? (:detail-visible state) detail-visible? (:detail-visible state)