Index: sources/gui/qml/compounds/InstructionView.qml =================================================================== diff -u -r78aa5e70b591b3544ff9d9e6b772fe07deaa2f0f -r8f6ecb60abf6d47d4554cfd3019ca496d79b6f69 --- sources/gui/qml/compounds/InstructionView.qml (.../InstructionView.qml) (revision 78aa5e70b591b3544ff9d9e6b772fe07deaa2f0f) +++ sources/gui/qml/compounds/InstructionView.qml (.../InstructionView.qml) (revision 8f6ecb60abf6d47d4554cfd3019ca496d79b6f69) @@ -28,7 +28,7 @@ property var stepImages : [] property int currentIndex : 0 - color : Colors.modeBackgroundColor + color : _colorMode.modeBackgroundColor radius : Variables.alarmDialogRadius clip : true @@ -42,7 +42,7 @@ topMargin : Variables.defaultMargin * 2 // with current resolution this makes the screen look nice } text : _root.title - color : Colors.modeTextColor + color : _colorMode.modeTextColor font.pixelSize : Fonts.fontPixelInstructionTitle font.weight : Font.Medium } @@ -89,16 +89,16 @@ height : 50 width : height radius : height - color : index === _root.currentIndex ? Colors.modeButtonColor : Colors.modeBackgroundColor + color : index === _root.currentIndex ? _colorMode.modeButtonColor : _colorMode.modeBackgroundColor border { - color: Colors.modeButtonColor + color: _colorMode.modeButtonColor width: 2 } Text { id: _stepNumberRect anchors.centerIn: parent text : index + 1 - color : Colors.darkMode ? Colors.offWhite : index === _root.currentIndex ? Colors.modeBackgroundColor : Colors.modeButtonColor + color : vSettings.darkMode ? Colors.offWhite : index === _root.currentIndex ? _colorMode.modeBackgroundColor : _colorMode.modeButtonColor font.pixelSize : 28 font.weight : Font.Medium } @@ -113,7 +113,7 @@ } text : _root.stepNames.length ? _root.stepNames[index] : "" font.weight : index === _root.currentIndex ? Font.Medium : Font.Normal - color : index === _root.currentIndex ? Colors.modeSelctedColor : Colors.modeTextColor + color : index === _root.currentIndex ? _colorMode.modeSelctedColor : _colorMode.modeTextColor wrapMode : Text.WordWrap font.pixelSize : Fonts.fontPixelInstructionStep }