forked from Shinonome/dots-hyprland
cleaner ai message buttons
This commit is contained in:
@@ -106,8 +106,6 @@ Rectangle {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Item { Layout.fillWidth: true }
|
|
||||||
|
|
||||||
Button { // Not visible to model
|
Button { // Not visible to model
|
||||||
id: modelVisibilityIndicator
|
id: modelVisibilityIndicator
|
||||||
visible: messageData.role == 'interface'
|
visible: messageData.role == 'interface'
|
||||||
@@ -129,12 +127,7 @@ Rectangle {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
StyledText {
|
Item { Layout.fillWidth: true }
|
||||||
visible: modelVisibilityIndicator.visible
|
|
||||||
font.pixelSize: Appearance.font.pixelSize.larger
|
|
||||||
color: Appearance.colors.colOnLayer1
|
|
||||||
text: "•"
|
|
||||||
}
|
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
spacing: 5
|
spacing: 5
|
||||||
|
|||||||
@@ -18,10 +18,13 @@ Button {
|
|||||||
|
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
radius: Appearance.rounding.small
|
radius: Appearance.rounding.small
|
||||||
color: button.activated ? Appearance.m3colors.m3primary :
|
color: button.activated ?
|
||||||
button.down ? Appearance.colors.colSurfaceContainerHighestActive :
|
(button.down ? Appearance.colors.colPrimaryActive :
|
||||||
|
button.hovered ? Appearance.colors.colPrimaryHover :
|
||||||
|
Appearance.m3colors.m3primary) :
|
||||||
|
(button.down ? Appearance.colors.colSurfaceContainerHighestActive :
|
||||||
button.hovered ? Appearance.colors.colSurfaceContainerHighestHover :
|
button.hovered ? Appearance.colors.colSurfaceContainerHighestHover :
|
||||||
Appearance.m3colors.m3surfaceContainerHighest
|
Appearance.transparentize(Appearance.m3colors.m3surfaceContainerHighest, 1))
|
||||||
}
|
}
|
||||||
|
|
||||||
contentItem: MaterialSymbol {
|
contentItem: MaterialSymbol {
|
||||||
|
|||||||
Reference in New Issue
Block a user