controls: use basic style
Material style placeholder is kinda annoying
This commit is contained in:
parent
1d942b0737
commit
bbe650e327
3 changed files with 5 additions and 8 deletions
|
|
@ -4,7 +4,6 @@ import "root:/utils"
|
||||||
import "root:/config"
|
import "root:/config"
|
||||||
import Quickshell
|
import Quickshell
|
||||||
import QtQuick
|
import QtQuick
|
||||||
import QtQuick.Controls
|
|
||||||
|
|
||||||
StyledRect {
|
StyledRect {
|
||||||
id: root
|
id: root
|
||||||
|
|
|
||||||
|
|
@ -110,6 +110,11 @@ Item {
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
anchors.margins: root.padding
|
anchors.margins: root.padding
|
||||||
|
|
||||||
|
topPadding: Appearance.padding.normal
|
||||||
|
bottomPadding: Appearance.padding.normal
|
||||||
|
leftPadding: root.padding
|
||||||
|
rightPadding: root.padding
|
||||||
|
|
||||||
placeholderText: qsTr("Type \">\" for commands")
|
placeholderText: qsTr("Type \">\" for commands")
|
||||||
|
|
||||||
background: StyledRect {
|
background: StyledRect {
|
||||||
|
|
|
||||||
|
|
@ -1,15 +1,8 @@
|
||||||
import "modules/bar"
|
import "modules/bar"
|
||||||
import "modules/launcher"
|
import "modules/launcher"
|
||||||
import "config"
|
|
||||||
import Quickshell
|
import Quickshell
|
||||||
import QtQuick.Controls.Material
|
|
||||||
|
|
||||||
ShellRoot {
|
ShellRoot {
|
||||||
Material.accent: Appearance.colours.m3primary
|
|
||||||
Material.primary: Appearance.colours.m3secondary
|
|
||||||
Material.foreground: Appearance.colours.m3onBackground
|
|
||||||
Material.background: Appearance.colours.m3background
|
|
||||||
|
|
||||||
Bar {}
|
Bar {}
|
||||||
Launcher {}
|
Launcher {}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue