Replace hardcoded color with system-theme color

This commit is contained in:
fieldOfView 2017-04-02 14:38:11 +02:00
parent c3e19b5ecb
commit 2e1dd46ea4
2 changed files with 15 additions and 7 deletions

View file

@ -45,8 +45,12 @@ UM.Dialog
UM.I18nCatalog UM.I18nCatalog
{ {
id: catalog; id: catalog
name: "cura"; name: "cura"
}
SystemPalette
{
id: palette
} }
ListModel ListModel
@ -75,7 +79,7 @@ UM.Dialog
Rectangle Rectangle
{ {
id: separator id: separator
color: "black" color: palette.text
width: parent.width width: parent.width
height: 1 height: 1
} }
@ -360,7 +364,7 @@ UM.Dialog
height: width height: width
source: UM.Theme.getIcon("notice") source: UM.Theme.getIcon("notice")
color: "black" color: palette.text
} }
Label Label

View file

@ -63,8 +63,12 @@ UM.Dialog
} }
UM.I18nCatalog UM.I18nCatalog
{ {
id: catalog; id: catalog
name: "cura"; name: "cura"
}
SystemPalette
{
id: palette
} }
Column Column
@ -80,7 +84,7 @@ UM.Dialog
Rectangle Rectangle
{ {
id: separator id: separator
color: "black" color: palette.text
width: parent.width width: parent.width
height: 1 height: 1
} }