Disable new theme test code for now

This commit is contained in:
miruka
2021-01-04 00:45:11 -04:00
parent 71acca2168
commit 1a101d9888
6 changed files with 9 additions and 21 deletions

View File

@@ -8,15 +8,10 @@ import QtQuick.Layouts 1.12
Button {
id: button
property Theme ntheme: Theme {
target: button
classes: Class { name: "Button" }
}
readonly property alias iconItem: contentItem.icon
readonly property alias label: contentItem.label
property color backgroundColor: ntheme.data.background
property color backgroundColor: theme.controls.button.background
property color focusLineColor:
Qt.colorEqual(icon.color, theme.icons.colorize) ?
theme.controls.button.focusedBorder :

View File

@@ -10,11 +10,6 @@ import "../AutoCompletion"
Rectangle {
id: composer
property Theme ntheme: Theme {
target: composer
classes: Class { name: "Composer" }
}
property UserAutoCompletion userCompletion
property alias eventList: messageArea.eventList

View File

@@ -8,8 +8,6 @@ import "../../../Base"
import "../../../Dialogs"
HButton {
ntheme.classes: Class { name: "UploadButton" }
enabled: chat.roomInfo.can_send_messages
icon.name: "upload-file"
toolTip.text: