mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 21:58:59 +08:00
Add base_colors to theme
If the value of a color is a string, there will be an attempt to fetch this color from base_colors. CURA-8688
This commit is contained in:
parent
aba025b5b6
commit
7bbea62558
@ -4,8 +4,30 @@
|
|||||||
"inherits": "cura-light"
|
"inherits": "cura-light"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"base_colors":
|
||||||
|
{
|
||||||
|
"background_1": [212, 212, 212, 255],
|
||||||
|
"background_2": [57, 57, 58, 255],
|
||||||
|
"background_3": [85, 85, 87, 255],
|
||||||
|
"background_4": [23, 23, 23, 255],
|
||||||
|
|
||||||
|
"accent_1": [25, 110, 240, 255],
|
||||||
|
"accent_2": [16, 70, 156, 255],
|
||||||
|
"border_main": [212, 212, 212, 255],
|
||||||
|
"border_accent_1": [255, 255, 255, 255],
|
||||||
|
"border_accent_2": [16, 70, 156, 255],
|
||||||
|
"border_field": [57, 57, 58, 255],
|
||||||
|
|
||||||
|
"text_default": [255, 255, 255, 255],
|
||||||
|
"text_disabled": [118, 118, 118, 255],
|
||||||
|
"text_primary_button": [255, 255, 255, 255],
|
||||||
|
"text_secondary_button": [255, 255, 255, 255],
|
||||||
|
"text_link_hover": [156, 195, 255, 255],
|
||||||
|
"text_lighter": [243, 243, 243, 255]
|
||||||
|
},
|
||||||
|
|
||||||
"colors": {
|
"colors": {
|
||||||
"main_background": [39, 44, 48, 255],
|
"main_background": "background_1",
|
||||||
"detail_background": [63, 63, 63, 255],
|
"detail_background": [63, 63, 63, 255],
|
||||||
"message_background": [39, 44, 48, 255],
|
"message_background": [39, 44, 48, 255],
|
||||||
"wide_lining": [31, 36, 39, 255],
|
"wide_lining": [31, 36, 39, 255],
|
||||||
|
@ -170,10 +170,31 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"base_colors": {
|
||||||
|
"background_1": [255, 255, 255, 255],
|
||||||
|
"background_2": [243, 243, 243, 255],
|
||||||
|
"background_3": [232, 240, 253, 255],
|
||||||
|
"background_4": [3, 12, 66, 255],
|
||||||
|
|
||||||
|
"accent_1": [25, 110, 240, 255],
|
||||||
|
"accent_2": [16, 70, 156, 255],
|
||||||
|
"border_main": [212, 212, 212, 255],
|
||||||
|
"border_accent_1": [25, 110, 240, 255],
|
||||||
|
"border_accent_2": [16, 70, 156, 255],
|
||||||
|
"border_field": [180, 180, 180, 255],
|
||||||
|
|
||||||
|
"text_default": [0, 14, 26, 255],
|
||||||
|
"text_disabled": [180, 180, 180, 255],
|
||||||
|
"text_primary_button": [255, 255, 255, 255],
|
||||||
|
"text_secondary_button": [25, 110, 240, 255],
|
||||||
|
"text_link_hover": [16, 70, 156, 255],
|
||||||
|
"text_lighter": [108, 108, 108, 255]
|
||||||
|
},
|
||||||
|
|
||||||
"colors": {
|
"colors": {
|
||||||
|
|
||||||
"main_background": [255, 255, 255, 255],
|
"main_background": "background_1",
|
||||||
"detail_background": [243, 243, 243, 255],
|
"detail_background": "background_2",
|
||||||
"wide_lining": [245, 245, 245, 255],
|
"wide_lining": [245, 245, 245, 255],
|
||||||
"thick_lining": [180, 180, 180, 255],
|
"thick_lining": [180, 180, 180, 255],
|
||||||
"lining": [192, 193, 194, 255],
|
"lining": [192, 193, 194, 255],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user