Add theme (and dark mode)

Contributes to CL-1165
This commit is contained in:
Ian Paschal 2019-01-23 12:08:20 +01:00
parent 32072e3bfe
commit 1097f16011
2 changed files with 4 additions and 3 deletions

View file

@ -24,7 +24,7 @@ Item
direction: "up"
// Use dark grey for info blurbs and white for context menus
color: "#191919" // TODO: Theme!
color: UM.Theme.getColor("monitor_tooltip")
contentItem: Item
{
@ -38,7 +38,7 @@ Item
text: ""
wrapMode: Text.WordWrap
width: 240 * screenScaleFactor // TODO: Theme!
color: "white" // TODO: Theme!
color: UM.Theme.getColor("monitor_tooltip_text")
font: UM.Theme.getFont("default")
}
}