mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 15:37:27 -06:00
Rename Theme to Styles to allow for the introduction of a proper Theme object
This commit is contained in:
parent
4a8f6beb26
commit
89a035bab4
6 changed files with 35 additions and 33 deletions
|
@ -8,9 +8,9 @@ import UM 1.0 as UM
|
|||
Rectangle {
|
||||
id: base;
|
||||
|
||||
color: UM.Theme.primaryColor;
|
||||
color: UM.Styles.primaryColor;
|
||||
border.width: 1;
|
||||
border.color: UM.Theme.borderColor;
|
||||
border.color: UM.Styles.borderColor;
|
||||
|
||||
signal saveRequested();
|
||||
signal saveToSDRequested();
|
||||
|
@ -21,7 +21,7 @@ Rectangle {
|
|||
anchors.left: parent.left;
|
||||
anchors.right: icon.left;
|
||||
horizontalAlignment: Text.AlignHCenter;
|
||||
font.pointSize: UM.Theme.largeTextSize;
|
||||
font.pointSize: UM.Styles.largeTextSize;
|
||||
color: "white";
|
||||
|
||||
//: Save file to disk button
|
||||
|
@ -43,7 +43,7 @@ Rectangle {
|
|||
Rectangle {
|
||||
anchors { left: parent.left; top: parent.top; bottom: parent.bottom; }
|
||||
width: 1;
|
||||
color: UM.Theme.borderColor;
|
||||
color: UM.Styles.borderColor;
|
||||
}
|
||||
|
||||
UM.RecolorImage { id: iconImage; anchors.centerIn: parent; width: 32; height: 32; source: UM.Resources.getIcon('save.png'); color: '#000'; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue