updating styles to use theme colours
This commit is contained in:
parent
1c2b8e2382
commit
74ebd6b315
|
@ -8,7 +8,7 @@ import QtQml.Models 2.13
|
|||
|
||||
import "fonts/MutantStandard.js" as Mutant
|
||||
import "controls"
|
||||
import "../theme"
|
||||
import "theme"
|
||||
|
||||
Item {
|
||||
id: root
|
||||
|
@ -24,7 +24,7 @@ Item {
|
|||
visible: height != 0
|
||||
|
||||
Rectangle {
|
||||
color: theme.backgroundPaneColor
|
||||
color: Theme.backgroundPaneColor
|
||||
anchors.fill: parent
|
||||
}
|
||||
|
||||
|
|
|
@ -5,12 +5,13 @@ import QtQuick.Controls.Material 2.0
|
|||
import QtQuick.Layouts 1.3
|
||||
import QtQuick.Window 2.11
|
||||
import QtQuick.Controls 1.4
|
||||
import "../theme"
|
||||
|
||||
Rectangle {
|
||||
width: img.width + 10
|
||||
height: img.height + 5
|
||||
property string emoji
|
||||
color: selected ? windowItem.cwtch_color : windowItem.cwtch_background_color
|
||||
color: selected ? Theme.defaultButtonActiveColor : Theme.backgroundPaneColor
|
||||
property bool selected
|
||||
property string locale
|
||||
|
||||
|
|
Loading…
Reference in New Issue