color changes
This commit is contained in:
parent
b06ba1da06
commit
1220ee0b02
@ -29,7 +29,7 @@ Variants {
|
|||||||
id: container
|
id: container
|
||||||
implicitHeight: Settings.config.barHeight
|
implicitHeight: Settings.config.barHeight
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
color: Colors.background
|
color: Colors.surface
|
||||||
radius: implicitHeight / 2
|
radius: implicitHeight / 2
|
||||||
|
|
||||||
Row {
|
Row {
|
||||||
|
|||||||
@ -15,7 +15,7 @@ Loader {
|
|||||||
sourceComponent: Rectangle {
|
sourceComponent: Rectangle {
|
||||||
id: container
|
id: container
|
||||||
radius: implicitHeight / 2
|
radius: implicitHeight / 2
|
||||||
color: clickHandler.containsMouse ? Colors.color5 : Colors.color6
|
color: clickHandler.containsMouse ? Colors.primary : Colors.secondary
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
implicitWidth: root.implicitWidth + 20
|
implicitWidth: root.implicitWidth + 20
|
||||||
implicitHeight: Settings.config.barHeight - 10
|
implicitHeight: Settings.config.barHeight - 10
|
||||||
|
|||||||
@ -8,7 +8,7 @@ import qs.reusables
|
|||||||
Rectangle {
|
Rectangle {
|
||||||
id: container
|
id: container
|
||||||
radius: implicitHeight / 2
|
radius: implicitHeight / 2
|
||||||
color: formatSwitch.containsMouse ? Colors.color5 : Colors.color6
|
color: formatSwitch.containsMouse ? Colors.secondaryContainer : Colors.primaryContainer
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
implicitHeight: Settings.config.barHeight - 10
|
implicitHeight: Settings.config.barHeight - 10
|
||||||
implicitWidth: root.implicitWidth + 20
|
implicitWidth: root.implicitWidth + 20
|
||||||
|
|||||||
@ -8,7 +8,7 @@ Rectangle {
|
|||||||
id: container
|
id: container
|
||||||
visible: root.spotify != null
|
visible: root.spotify != null
|
||||||
radius: implicitHeight / 2
|
radius: implicitHeight / 2
|
||||||
color: clickHandler.containsMouse ? Colors.color5 : Colors.color6
|
color: clickHandler.containsMouse ? Colors.secondaryContainer : Colors.primaryContainer
|
||||||
implicitWidth: root.implicitWidth + 20
|
implicitWidth: root.implicitWidth + 20
|
||||||
implicitHeight: Settings.config.barHeight - 10
|
implicitHeight: Settings.config.barHeight - 10
|
||||||
Item {
|
Item {
|
||||||
|
|||||||
@ -7,7 +7,7 @@ import qs.reusables
|
|||||||
Rectangle {
|
Rectangle {
|
||||||
id: container
|
id: container
|
||||||
radius: implicitHeight / 2
|
radius: implicitHeight / 2
|
||||||
color: Colors.color6
|
color: Colors.primaryContainer
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
implicitWidth: root.implicitWidth
|
implicitWidth: root.implicitWidth
|
||||||
implicitHeight: Settings.config.barHeight - 10
|
implicitHeight: Settings.config.barHeight - 10
|
||||||
|
|||||||
@ -9,7 +9,7 @@ import qs
|
|||||||
Rectangle {
|
Rectangle {
|
||||||
id: container
|
id: container
|
||||||
radius: implicitHeight / 2
|
radius: implicitHeight / 2
|
||||||
color: pavuArea.containsMouse ? Colors.color5 : Colors.color6
|
color: pavuArea.containsMouse ? Colors.secondaryContainer : Colors.primaryContainer
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
implicitWidth: root.implicitWidth + 20
|
implicitWidth: root.implicitWidth + 20
|
||||||
implicitHeight: Settings.config.barHeight - 10
|
implicitHeight: Settings.config.barHeight - 10
|
||||||
|
|||||||
@ -11,6 +11,7 @@ Item {
|
|||||||
implicitWidth: workspaceRow.implicitWidth
|
implicitWidth: workspaceRow.implicitWidth
|
||||||
implicitHeight: workspaceRow.implicitHeight
|
implicitHeight: workspaceRow.implicitHeight
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
|
property var screen: screen
|
||||||
Row {
|
Row {
|
||||||
id: workspaceRow
|
id: workspaceRow
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
@ -43,8 +44,7 @@ Item {
|
|||||||
CustomText {
|
CustomText {
|
||||||
anchors.centerIn: workspaceNumber
|
anchors.centerIn: workspaceNumber
|
||||||
text: parent.modelData.id
|
text: parent.modelData.id
|
||||||
color: Colors.color2 // Set contrasting color for workspace number
|
color: workspaceNumber.modelData.focused ? Colors.onSecondaryContainerColor : Colors.surfaceVariant
|
||||||
opacity: workspaceNumber.modelData.focused ? 1 : 0.5
|
|
||||||
}
|
}
|
||||||
MouseArea {
|
MouseArea {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|||||||
@ -6,7 +6,7 @@ Text {
|
|||||||
property real fill: 1
|
property real fill: 1
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
font.family: "Material Icons Sharp"
|
font.family: "Material Icons Sharp"
|
||||||
color: Colors.foreground
|
color: Colors.onSurfaceColor
|
||||||
font.variableAxes: ({
|
font.variableAxes: ({
|
||||||
FILL: fill.toFixed(1),
|
FILL: fill.toFixed(1),
|
||||||
GRAD: -25,
|
GRAD: -25,
|
||||||
|
|||||||
@ -3,7 +3,7 @@ import qs
|
|||||||
import qs.settings
|
import qs.settings
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
color: Colors.foreground
|
color: Colors.onSurfaceColor
|
||||||
font.family: Settings.config.font
|
font.family: Settings.config.font
|
||||||
font.pixelSize: Settings.config.fontSize
|
font.pixelSize: Settings.config.fontSize
|
||||||
font.variableAxes: ({
|
font.variableAxes: ({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user