0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-11 23:31:21 -05:00

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
- 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)
- 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)

View file

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