mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-11 16:57:51 -06:00
Add theme (and dark mode)
Contributes to CL-1165
This commit is contained in:
parent
32072e3bfe
commit
1097f16011
2 changed files with 4 additions and 3 deletions
|
@ -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")
|
||||
}
|
||||
}
|
||||
|
|
|
@ -422,7 +422,8 @@
|
|||
"monitor_progress_bar_deactive": [192, 193, 194, 255],
|
||||
"monitor_progress_bar_empty": [245, 245, 245, 255],
|
||||
|
||||
"monitor_tooltips": [25, 25, 25, 255],
|
||||
"monitor_tooltip": [25, 25, 25, 255],
|
||||
"monitor_tooltip_text": [255, 255, 255, 255],
|
||||
"monitor_context_menu": [255, 255, 255, 255],
|
||||
"monitor_context_menu_hover": [245, 245, 245, 255],
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue