Index: sources/gui/qml/compounds/InstructionView.qml =================================================================== diff -u -r39a514158384c0ad4bfcfb90bafbaa4ca8dc5a26 -rd00eeb4a8b354eade40a0853c022eb03ea4ae233 --- sources/gui/qml/compounds/InstructionView.qml (.../InstructionView.qml) (revision 39a514158384c0ad4bfcfb90bafbaa4ca8dc5a26) +++ sources/gui/qml/compounds/InstructionView.qml (.../InstructionView.qml) (revision d00eeb4a8b354eade40a0853c022eb03ea4ae233) @@ -28,7 +28,7 @@ property var stepImages : [] property int currentIndex : 0 - color : Colors.offWhite + color : Colors.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.backgroundMainMenu + color : Colors.modeTextColor font.pixelSize : Fonts.fontPixelInstructionTitle font.weight : Font.Medium } @@ -89,16 +89,16 @@ height : 50 width : height radius : height - color : index === _root.currentIndex ? Colors.backgroundMainMenu : Colors.offWhite + color : index === _root.currentIndex ? Colors.borderButton : Colors.modeBackgroundColor border { - color: Colors.backgroundMainMenu + color: Colors.borderButton width: 2 } Text { id: _stepNumberRect anchors.centerIn: parent text : index + 1 - color : index === _root.currentIndex ? Colors.offWhite : Colors.backgroundMainMenu + color : Colors.darkMode ? Colors.offWhite : index === _root.currentIndex ? Colors.modeBackgroundColor : Colors.borderButton 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 ? "#18559E" : Colors.alarmDialogText + color : index === _root.currentIndex ? Colors.modeSelctedColor : Colors.modeTextColor wrapMode : Text.WordWrap font.pixelSize : Fonts.fontPixelInstructionStep }