Skip to content

Commit 2535ab2

Browse files
committed
settings: ui polish, "groups" are using secondary palette color
1 parent ac82a9a commit 2535ab2

3 files changed

Lines changed: 7 additions & 9 deletions

File tree

assets/translations/en.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1462,11 +1462,11 @@
14621462
"placeholder": "gimp {path} or satty -f -"
14631463
},
14641464
"osd-position": {
1465-
"label": "OSD Position",
1465+
"label": "Screen Position",
14661466
"description": "Screen position for OSD popups"
14671467
},
14681468
"osd-lock-keys": {
1469-
"label": "Lock Keys OSD",
1469+
"label": "Lock Keys",
14701470
"description": "Show OSD popups for Caps Lock, Num Lock, and Scroll Lock changes"
14711471
}
14721472
},
@@ -1901,15 +1901,15 @@
19011901
"description": "Enable the built-in notification daemon"
19021902
},
19031903
"position": {
1904-
"label": "Toast Position",
1904+
"label": "Screen Position",
19051905
"description": "Screen position for notification toasts"
19061906
},
19071907
"layer": {
19081908
"label": "Wayland Layer",
19091909
"description": "Choose whether toasts use the top or overlay layer"
19101910
},
19111911
"toast-opacity": {
1912-
"label": "Toast Opacity",
1912+
"label": "Background Opacity",
19131913
"description": "Background opacity of notification toasts"
19141914
},
19151915
"offset-x": {

src/shell/settings/bar_widget_editor.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,7 @@ namespace settings {
8282
wrap->setGap(Style::spaceXs * scale);
8383
wrap->setPadding(Style::spaceSm * scale, 0.0f, 0.0f, 0.0f);
8484
wrap->addChild(std::make_unique<Separator>());
85-
wrap->addChild(
86-
makeLabel(title, Style::fontSizeCaption * scale, colorSpecFromRole(ColorRole::OnSurfaceVariant), true));
85+
wrap->addChild(makeLabel(title, Style::fontSizeCaption * scale, colorSpecFromRole(ColorRole::Secondary), true));
8786
return wrap;
8887
}
8988

src/shell/settings/settings_content.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -907,11 +907,10 @@ namespace settings {
907907
groupHeader->setPadding(Style::spaceSm * scale, 0.0f, 0.0f, 0.0f);
908908
groupHeader->addChild(std::make_unique<Separator>());
909909
groupHeader->addChild(
910-
makeLabel(title, Style::fontSizeBody * scale, colorSpecFromRole(ColorRole::OnSurfaceVariant), true));
910+
makeLabel(title, Style::fontSizeBody * scale, colorSpecFromRole(ColorRole::Secondary), true));
911911
section.addChild(std::move(groupHeader));
912912
} else {
913-
section.addChild(
914-
makeLabel(title, Style::fontSizeBody * scale, colorSpecFromRole(ColorRole::OnSurfaceVariant), true));
913+
section.addChild(makeLabel(title, Style::fontSizeBody * scale, colorSpecFromRole(ColorRole::Secondary), true));
915914
}
916915
};
917916

0 commit comments

Comments
 (0)