aboutsummaryrefslogtreecommitdiffstats
path: root/config/quickshell/modules/overview/SearchWidget.qml
diff options
context:
space:
mode:
authorJa.KooLit <85185940+JaKooLit@users.noreply.github.com>2025-06-22 22:37:16 +0900
committerGitHub <noreply@github.com>2025-06-22 22:37:16 +0900
commitafa756b92c95f090534ed8349dfd72adc12561d3 (patch)
tree2aae90f97566d3943202e9c6605cc95c99d08ac1 /config/quickshell/modules/overview/SearchWidget.qml
parent0f70ff7ae24196ecf5cb9cf2c6299c2d2636a82b (diff)
parent897873fccd5d19c460128998b9434238dcf07ba6 (diff)
Merge pull request #749 from SherLock707/overviewV2_qs
qs:Overview update: Refactored for better colour and font expose and cleaned up unused code
Diffstat (limited to 'config/quickshell/modules/overview/SearchWidget.qml')
-rw-r--r--config/quickshell/modules/overview/SearchWidget.qml18
1 files changed, 9 insertions, 9 deletions
diff --git a/config/quickshell/modules/overview/SearchWidget.qml b/config/quickshell/modules/overview/SearchWidget.qml
index fed710ec..f84aa558 100644
--- a/config/quickshell/modules/overview/SearchWidget.qml
+++ b/config/quickshell/modules/overview/SearchWidget.qml
@@ -201,8 +201,8 @@ Item { // Wrapper
MaterialSymbol {
id: searchIcon
Layout.leftMargin: 15
- iconSize: Appearance.font.pixelSize.huge
- color: Appearance.m3colors.m3onSurface
+ iconSize: Appearance.font.pixelSize.iconLarge
+ color: Appearance.m3colors.m3surfaceText
text: root.searchingText.startsWith(ConfigOptions.search.prefix.clipboard) ? 'content_paste_search' : ''
}
TextField { // Search box
@@ -213,15 +213,15 @@ Item { // Wrapper
padding: 15
renderType: Text.NativeRendering
font {
- family: Appearance?.font.family.main ?? "sans-serif"
- pixelSize: Appearance?.font.pixelSize.small ?? 15
+ family: Appearance?.font.family.uiFont ?? "sans-serif"
+ pixelSize: Appearance?.font.pixelSize.textBase ?? 15
hintingPreference: Font.PreferFullHinting
}
- color: activeFocus ? Appearance.m3colors.m3onSurface : Appearance.m3colors.m3onSurfaceVariant
- selectedTextColor: Appearance.m3colors.m3onSecondaryContainer
- selectionColor: Appearance.m3colors.m3secondaryContainer
+ color: activeFocus ? Appearance.m3colors.m3surfaceText : Appearance.m3colors.m3secondaryText
+ selectedTextColor: Appearance.m3colors.m3selectionText
+ selectionColor: Appearance.m3colors.m3selectionBackground
placeholderText: qsTr("Search, calculate or run")
- placeholderTextColor: Appearance.m3colors.m3outline
+ placeholderTextColor: Appearance.m3colors.m3borderPrimary
implicitWidth: root.searchingText == "" ? Appearance.sizes.searchWidthCollapsed : Appearance.sizes.searchWidth
Behavior on implicitWidth {
@@ -260,7 +260,7 @@ Item { // Wrapper
visible: root.showResults
Layout.fillWidth: true
height: 1
- color: Appearance.m3colors.m3outlineVariant
+ color: Appearance.m3colors.m3borderSecondary
}
ListView { // App results
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage