Page {
title: "Hello, I am blue." // should be darkGrey
Label { anchors.centerIn: parent
text: "bla"
color: Theme.palette.normal.negative // this color does not exist in 1.2 palette
}
}
}
The old header label uses the selected.backgroundText color from the palette. This is darkGrey in the old (1.2) palette and blue in the new (1.3) palette. Also, I can refer to Theme.palette.normal.negative, which is a color that was not defined in the 1.2 palette.
Several apps that use the old header and import Ubuntu.Components 1.2 or older have blue text in the header because of this bug. For exmple: clock app.
For example:
import QtQuick 2.4
import Ubuntu.Components 1.2
MainView {
width: units.gu(48)
height: units.gu(60)
Page {
anchors. centerIn: parent normal. negative // this color does not exist in 1.2 palette
title: "Hello, I am blue." // should be darkGrey
Label {
text: "bla"
color: Theme.palette.
}
}
}
The old header label uses the selected. backgroundText color from the palette. This is darkGrey in the old (1.2) palette and blue in the new (1.3) palette. Also, I can refer to Theme.palette. normal. negative, which is a color that was not defined in the 1.2 palette.
Several apps that use the old header and import Ubuntu.Components 1.2 or older have blue text in the header because of this bug. For exmple: clock app.