mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-03 01:04:35 +08:00
Add theme (and dark mode)
Contributes to CL-1165
This commit is contained in:
parent
32072e3bfe
commit
1097f16011
@ -24,7 +24,7 @@ Item
|
|||||||
direction: "up"
|
direction: "up"
|
||||||
|
|
||||||
// Use dark grey for info blurbs and white for context menus
|
// Use dark grey for info blurbs and white for context menus
|
||||||
color: "#191919" // TODO: Theme!
|
color: UM.Theme.getColor("monitor_tooltip")
|
||||||
|
|
||||||
contentItem: Item
|
contentItem: Item
|
||||||
{
|
{
|
||||||
@ -38,7 +38,7 @@ Item
|
|||||||
text: ""
|
text: ""
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
width: 240 * screenScaleFactor // TODO: Theme!
|
width: 240 * screenScaleFactor // TODO: Theme!
|
||||||
color: "white" // TODO: Theme!
|
color: UM.Theme.getColor("monitor_tooltip_text")
|
||||||
font: UM.Theme.getFont("default")
|
font: UM.Theme.getFont("default")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -422,7 +422,8 @@
|
|||||||
"monitor_progress_bar_deactive": [192, 193, 194, 255],
|
"monitor_progress_bar_deactive": [192, 193, 194, 255],
|
||||||
"monitor_progress_bar_empty": [245, 245, 245, 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": [255, 255, 255, 255],
|
||||||
"monitor_context_menu_hover": [245, 245, 245, 255],
|
"monitor_context_menu_hover": [245, 245, 245, 255],
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user