mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 14:44:13 -06:00
Replace hardcoded color with system-theme color
This commit is contained in:
parent
c3e19b5ecb
commit
2e1dd46ea4
2 changed files with 15 additions and 7 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue