mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 22:49:01 +08:00
add setting for sidebar background color
This commit is contained in:
parent
830dc45cce
commit
98a527b015
@ -17,6 +17,8 @@ UM.AngledCornerRectangle {
|
|||||||
|
|
||||||
cornerSize: UM.Theme.sizes.default_margin.width;
|
cornerSize: UM.Theme.sizes.default_margin.width;
|
||||||
|
|
||||||
|
color: UM.Theme.colors.sidebar;
|
||||||
|
|
||||||
function showTooltip(item, position, text) {
|
function showTooltip(item, position, text) {
|
||||||
tooltip.text = text;
|
tooltip.text = text;
|
||||||
position = item.mapToItem(base, position.x, position.y / 2);
|
position = item.mapToItem(base, position.x, position.y / 2);
|
||||||
|
@ -44,6 +44,8 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
"colors": {
|
"colors": {
|
||||||
|
"sidebar": [255, 255, 255, 255],
|
||||||
|
|
||||||
"primary": [12, 169, 227, 255],
|
"primary": [12, 169, 227, 255],
|
||||||
"primary_hover": [34, 150, 190, 255],
|
"primary_hover": [34, 150, 190, 255],
|
||||||
"primary_text": [255, 255, 255, 255],
|
"primary_text": [255, 255, 255, 255],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user