Files
dots-hyprland/dots/.config/quickshell/ii/modules/common/widgets/ToolbarTextField.qml
T
2025-11-02 00:57:50 +01:00

34 lines
894 B
QML

import QtQuick
import QtQuick.Layouts
import QtQuick.Controls
import qs.modules.common
import qs.modules.common.widgets
TextField {
id: filterField
property alias colBackground: background.color
Layout.fillHeight: true
implicitWidth: 200
padding: 10
placeholderTextColor: Appearance.colors.colSubtext
color: Appearance.colors.colOnLayer1
font {
family: Appearance.font.family.main
pixelSize: Appearance.font.pixelSize.small
hintingPreference: Font.PreferFullHinting
variableAxes: Appearance.font.variableAxes.main
}
renderType: Text.NativeRendering
selectedTextColor: Appearance.colors.colOnSecondaryContainer
selectionColor: Appearance.colors.colSecondaryContainer
background: Rectangle {
id: background
color: Appearance.colors.colLayer1
radius: Appearance.rounding.full
}
}