mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 22:49:01 +08:00
Replace hardcoded color with system-theme color
This commit is contained in:
parent
c3e19b5ecb
commit
2e1dd46ea4
@ -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…
x
Reference in New Issue
Block a user