chat: temporarily revert some UI changes before next release (#2234)

* chat: revert PR #2187

Signed-off-by: Jared Van Bortel <jared@nomic.ai>

* chat: revert PR #2148

This reverts commit f571e7e450.

Signed-off-by: Jared Van Bortel <jared@nomic.ai>

---------

Signed-off-by: Jared Van Bortel <jared@nomic.ai>
This commit is contained in:
Jared Van Bortel
2024-04-18 14:52:29 -04:00
committed by GitHub
parent ba53ab5da0
commit aac00d019a
19 changed files with 635 additions and 691 deletions

View File

@@ -9,8 +9,6 @@ Button {
padding: 10
property color backgroundColor: theme.iconBackgroundDark
property color backgroundColorHovered: theme.iconBackgroundHovered
property color toggledColor: theme.accentColor
property real toggledWidth: 1
property bool toggled: false
property alias source: image.source
property alias fillMode: image.fillMode
@@ -27,12 +25,11 @@ Button {
anchors.fill: parent
Rectangle {
anchors.fill: parent
color: myButton.toggledColor
color: "transparent"
visible: myButton.toggled
border.color: myButton.toggledColor
border.width: myButton.toggledWidth
radius: 6
opacity: .2
border.color: theme.accentColor
border.width: 1
radius: 10
}
Image {
id: image