On user settings, hide the theme selector as long as we only have one theme

This commit is contained in:
Pablo Alba 2022-02-01 15:37:22 +01:00 committed by Andrés Moya
parent bd359f42f5
commit 5f580f10ca
2 changed files with 5 additions and 3 deletions

View file

@ -6,6 +6,7 @@
### :sparkles: New features ### :sparkles: New features
- On user settings, hide the theme selector as long as we only have one theme [Taiga #2610](https://tree.taiga.io/project/penpot/us/2610)
- Add recent used fonts in font selection widget [Taiga #1381](https://tree.taiga.io/project/penpot/us/1381) - Add recent used fonts in font selection widget [Taiga #1381](https://tree.taiga.io/project/penpot/us/1381)
- Allow to align items relative to groups [Taiga #2533](https://tree.taiga.io/project/penpot/us/2533) - Allow to align items relative to groups [Taiga #2533](https://tree.taiga.io/project/penpot/us/2533)
- Scroll bars [Taiga #2550](https://tree.taiga.io/project/penpot/task/2550) - Scroll bars [Taiga #2550](https://tree.taiga.io/project/penpot/task/2550)

View file

@ -55,8 +55,9 @@
:name :lang :name :lang
:data-test "setting-lang"}]] :data-test "setting-lang"}]]
[:h2 (t locale "dashboard.theme-change")] ;; TODO: Do not show as long as we only have one theme
[:div.fields-row #_[:h2 (t locale "dashboard.theme-change")]
#_[:div.fields-row
[:& fm/select {:label (t locale "dashboard.select-ui-theme") [:& fm/select {:label (t locale "dashboard.select-ui-theme")
:name :theme :name :theme
:default "default" :default "default"