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 "fonts/MutantStandard.js" as Mutant
|
||||||
import "controls"
|
import "controls"
|
||||||
import "../theme"
|
import "theme"
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: root
|
id: root
|
||||||
|
@ -24,7 +24,7 @@ Item {
|
||||||
visible: height != 0
|
visible: height != 0
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
color: theme.backgroundPaneColor
|
color: Theme.backgroundPaneColor
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,12 +5,13 @@ import QtQuick.Controls.Material 2.0
|
||||||
import QtQuick.Layouts 1.3
|
import QtQuick.Layouts 1.3
|
||||||
import QtQuick.Window 2.11
|
import QtQuick.Window 2.11
|
||||||
import QtQuick.Controls 1.4
|
import QtQuick.Controls 1.4
|
||||||
|
import "../theme"
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
width: img.width + 10
|
width: img.width + 10
|
||||||
height: img.height + 5
|
height: img.height + 5
|
||||||
property string emoji
|
property string emoji
|
||||||
color: selected ? windowItem.cwtch_color : windowItem.cwtch_background_color
|
color: selected ? Theme.defaultButtonActiveColor : Theme.backgroundPaneColor
|
||||||
property bool selected
|
property bool selected
|
||||||
property string locale
|
property string locale
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue