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
|
||||
id: modelVisibilityIndicator
|
||||
visible: messageData.role == 'interface'
|
||||
@@ -129,12 +127,7 @@ Rectangle {
|
||||
}
|
||||
}
|
||||
|
||||
StyledText {
|
||||
visible: modelVisibilityIndicator.visible
|
||||
font.pixelSize: Appearance.font.pixelSize.larger
|
||||
color: Appearance.colors.colOnLayer1
|
||||
text: "•"
|
||||
}
|
||||
Item { Layout.fillWidth: true }
|
||||
|
||||
RowLayout {
|
||||
spacing: 5
|
||||
|
||||
@@ -18,10 +18,13 @@ Button {
|
||||
|
||||
background: Rectangle {
|
||||
radius: Appearance.rounding.small
|
||||
color: button.activated ? Appearance.m3colors.m3primary :
|
||||
button.down ? Appearance.colors.colSurfaceContainerHighestActive :
|
||||
color: button.activated ?
|
||||
(button.down ? Appearance.colors.colPrimaryActive :
|
||||
button.hovered ? Appearance.colors.colPrimaryHover :
|
||||
Appearance.m3colors.m3primary) :
|
||||
(button.down ? Appearance.colors.colSurfaceContainerHighestActive :
|
||||
button.hovered ? Appearance.colors.colSurfaceContainerHighestHover :
|
||||
Appearance.m3colors.m3surfaceContainerHighest
|
||||
Appearance.transparentize(Appearance.m3colors.m3surfaceContainerHighest, 1))
|
||||
}
|
||||
|
||||
contentItem: MaterialSymbol {
|
||||
|
||||
Reference in New Issue
Block a user