mirror of
https://github.com/penpot/penpot.git
synced 2026-11-06 01:50:39 +00:00
🐛 Fix typography in Settings (#12841)
This commit is contained in:
parent
9349c3b778
commit
c6a9e62a4a
@ -58,7 +58,10 @@
|
||||
:on-submit on-submit
|
||||
:form form}
|
||||
|
||||
[:h3 (tr "labels.language")]
|
||||
[:> heading* {:level 3
|
||||
:typography t/headline-small
|
||||
:class (stl/css :section-title)}
|
||||
(tr "labels.language")]
|
||||
|
||||
[:div {:class (stl/css :fields-row)}
|
||||
[:& fm/select {:options (into [{:label "Auto (browser)" :value ""}]
|
||||
@ -68,7 +71,10 @@
|
||||
:name :lang
|
||||
:data-testid "setting-lang"}]]
|
||||
|
||||
[:h3 (tr "dashboard.theme-change")]
|
||||
[:> heading* {:level 3
|
||||
:typography t/headline-small
|
||||
:class (stl/css :section-title)}
|
||||
(tr "dashboard.theme-change")]
|
||||
[:div {:class (stl/css :fields-row)}
|
||||
[:& fm/select {:label (tr "dashboard.select-ui-theme")
|
||||
:name :theme
|
||||
@ -128,7 +134,7 @@
|
||||
[:div {:class (stl/css :form-container) :data-testid "settings-form"}
|
||||
[:> heading* {:level 2
|
||||
:typography t/title-large
|
||||
:class (stl/css :color-primary)
|
||||
:class (stl/css :page-title)
|
||||
:id "options-section-title"}
|
||||
(tr "labels.settings")]
|
||||
[:> options-form*]]
|
||||
|
||||
@ -13,6 +13,16 @@
|
||||
display: grid;
|
||||
}
|
||||
|
||||
.options-form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
color: var(--color-foreground-primary);
|
||||
margin-block: var(--sp-s);
|
||||
}
|
||||
|
||||
.form-container {
|
||||
--menu-max-height-up: #{px2rem(180)};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user