From cc9538b748537e61477c2ebdaa9fd3ffc36b011e Mon Sep 17 00:00:00 2001 From: yenmoc Date: Thu, 20 Jun 2024 21:02:24 +0700 Subject: [PATCH] -Update: Sharpen the texture tree map, change the default color to be compatible with both light and dark themes --- .../Assets/Alchemy/Editor/AlchemySettings.cs | 2 +- .../Hierarchy/Textures/tree_map_current.png | Bin 124 -> 1568 bytes .../Hierarchy/Textures/tree_map_last.png | Bin 118 -> 1715 bytes .../Hierarchy/Textures/tree_map_level.png | Bin 93 -> 1555 bytes .../Hierarchy/Textures/tree_map_line.png | Bin 114 -> 1562 bytes Alchemy/ProjectSettings/AlchemySettings.json | 8 ++++---- 6 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Alchemy/Assets/Alchemy/Editor/AlchemySettings.cs b/Alchemy/Assets/Alchemy/Editor/AlchemySettings.cs index e0d2f25..77803ad 100644 --- a/Alchemy/Assets/Alchemy/Editor/AlchemySettings.cs +++ b/Alchemy/Assets/Alchemy/Editor/AlchemySettings.cs @@ -111,7 +111,7 @@ namespace Alchemy.Editor [SerializeField] bool showHierarchyToggles; [SerializeField] bool showComponentIcons; [SerializeField] bool showTreeMap = true; - [SerializeField] Color treeMapColor = new(1f, 1f, 1f, 0.22f); + [SerializeField] Color treeMapColor = new(0.53f, 0.53f, 0.53f, 0.45f); [SerializeField] bool showSeparator = true; [SerializeField] bool showRowShading = true; [SerializeField] Color separatorColor = new(0.19f, 0.19f, 0.19f, 0f); diff --git a/Alchemy/Assets/Alchemy/Editor/Hierarchy/Textures/tree_map_current.png b/Alchemy/Assets/Alchemy/Editor/Hierarchy/Textures/tree_map_current.png index 076d41a57a8e24389676a6619501840ee44018e2..f6902bc01c7ad428e054cc2f3c2c6bde3497d434 100644 GIT binary patch literal 1568 zcmbVMPl()97|#~A=$1u6S)_tIvKLED@{*a!%sd)*wv+AdfLWK_kzIQb-z0Blo;%4) zlWZruhjuNt;K_?nC_StfK?|bAn+JOl5u|KyrHA!YZ&L8=!7uYCOr^HkkmUXQeZTL| z`@ZkfwbkX>nUgb;B+WKf>~$Dx+4sV6_XeVV9Aeu_)$jOv*gW^gPpL>x_o6XVjFv_ zO?PkGt$Omp+vrS6fWT)7MXBElVv<_&fS15L+ty?>fF#?NyqGCOTh1D)i-;jp#fpou zfyz}?H;cte(w5jsEEy~vy5NU7Z4i&b1Od}h z8fv&j~+!g;qogY7@07C0HxsE5=;`_OZ zI9a*~Zj1u*M0DKT4VkviVzCpsZ0RDHIiGnGl6u5wBBG`cz41k@jZH>|pH~8fhctpXp@GX9wk1PwRL(t8@pNpqF;l3~G8L>BD@w&|RTRT5lxd};x5}n5mbZnw zlcm5|-us{O??xO-koKONCo9Y>cgPBl;Z}D?rL(~Dp=&r zjs?)+B4}kF-8~Y}2ET3Ci_P@r9}m8p-N!HAsa?5$`QhQlJ$v~R>(0-&Kltj>uhq|9 z`t$RXx85L|vqx8tb*G%E@Atoy&et|1<>1u*+~KRW6Wy7E>EiU^u^Uf0zCM@!a(n*T rZ=weB?duB%uYd90e-xcy{{8r)Thkxwf8G5l>*0;1Rr{N>A71$zoKxw( literal 124 zcmeAS@N?(olHy`uVBq!ia0vp^d_XL~!3HGNrubO_DQ8a?#}EzCpCjDG2^|3{STh6jXbBczdm$HG@{ROj~rnmut;3g9%)4i_OY-TY`aAxl1Wzg*6 V^qe6-e-_X<22WQ%mvv4FO#lQPAyxnY diff --git a/Alchemy/Assets/Alchemy/Editor/Hierarchy/Textures/tree_map_last.png b/Alchemy/Assets/Alchemy/Editor/Hierarchy/Textures/tree_map_last.png index 249a37a843e1cfc6e3ce41a63a10990ecdea72d9..f5b2d0e4fb001cf354a57ba72a18148b6ebb59a7 100644 GIT binary patch literal 1715 zcmbVN-HY5*6wemck1Y#=MN26fQUr@8xk+Y{$z{{d>}2f@n0475*tMW|b8}}V>?Ai$ zvYpv|8hz6T@yUnMhdvb)6#PIR`p~}lAVT|ErS;JVrT>6fPv#?TOWo2AlgZ7^@BDt} zoO{lhkJs1EEiRl`5Cmbdwd!ubyxQu--Me;O62riewyGZTk|yhgtNSV2 z++Sp(BlXF|3PiRT9ULe8-U*g`l|Yt&2^bGSO6! zOcByW%T_eAQmNJ66m_H{6={*kMt#q zN{K9Axd>rQ6Y@xO*4|5)y1_EOn^LxN5!^ggM3dlV%1F-BHs}4>L9NeR7Ij@g;_F*s z9PmMQ`hWp*NzNPzPOT!NDtz0Tjtv7>tT&K_5t=|f9)z8}gHTh}QCmmYuyM8e02E3l zAUSy~IH0)0(}+O8VMMx2P2#R3mTAOI-sdR@gLlTk{Z_NNp7KuEhZot#xn;4n(lj;O z1dkML?5^kGR-EM|rmW>U5+p|n!vO0B4SZzVvgKTa?Nr3d1;d@-R# zTRIXg>X8M~bUS?N6PeHsdJISpsnZE8d&)L8;1ai|Z6I8M`nVKaln z1S^*1=!A!I__7!#ZVIEd7k$QHEPvN>8|~rczixlCI6^PnsMr6zp8m0U%YF6}=f+Rp zzW>EPC+W#ogU|7nlYe#M@0S;@%va`b9=UX+H|NcLKe{TMuWt(SmD8h_ZXT;2?H%&^ zxAVWh_VcI5f4DmW+h4ZskC@dke&zKiV<|*lxp!^;!&}FGe6RRhX|1feUoU^~(ZBBR B8}k4F literal 118 zcmeAS@N?(olHy`uVBq!ia0vp^d_XL~!3HGNrubO_DO*n$#}EzCpCjDG2^|3{STh6jXbBczdm$HG@{ROiRb?7x5d(QUB^1>0fohICj4FA`1xYz!) Rd;~Oz!PC{xWt~$(69Am)BNhMv diff --git a/Alchemy/Assets/Alchemy/Editor/Hierarchy/Textures/tree_map_level.png b/Alchemy/Assets/Alchemy/Editor/Hierarchy/Textures/tree_map_level.png index fb17572057c86950d76bf4c21f99690763dc7b16..cd2faea2f7bf899eec90dd8fae2172bbce0df73a 100644 GIT binary patch literal 1555 zcmcIk%Wu?1826&4kDy2uMW~{ek-31t_IUP{9pRF&8^}s^h?12ET-sTCc6XGu$Ji6r ziBt*oR;ibskPrtDj{_1&s8ufqKuKX<%V)}&~#)%5aqOCGIkR<%t~2g*(T0R z8UlSU$3+`)e<uh!7K_!)Hb4%RzEv*9G2S ziaR<)tz_Ubye*s1Vv&}rM{$*6Jc7E?7oE-B(27BDi{K1ed>INU<1@wH3HCkOk#WGl zU=gq`x1zACquh=6F78?Y?`+!Sme!)htT0-Xk|M$ ze?A9o@J6#S-%79ky?uY?5&ry-N3;Lz{QKCfxJy-Vh3U1-oOSiT2bE}$h?a2Ri{7a$G`RM!KuK$!~ZM(U!)VO!@ HyC41oT}9;V literal 93 zcmeAS@N?(olHy`uVBq!ia0vp^d_XL~!3HGNrubO_DHTr_#}EzCpCjDG2^|9qj#)F;@2N)T8O;~*E3g;OC)iZdy`njxgN@xNApNSZ? diff --git a/Alchemy/Assets/Alchemy/Editor/Hierarchy/Textures/tree_map_line.png b/Alchemy/Assets/Alchemy/Editor/Hierarchy/Textures/tree_map_line.png index 7fddaa1dc453b2301f889c60c2d60100b19935b8..72b042b7b680dba7856cf891b13f02c60a1b2c48 100644 GIT binary patch literal 1562 zcmbVM&2QX96nCNqXi5(VR8<^c>ViZCw#T#1W_MK6O?N}G5)M(aQc^B-)}GxRW$kh8 zNq08_De5hM0GCpvoG15^vzn$It}oZtV60@{Yp=lnia2)@hJ*3)nN-sby_tPe+QmypHErgIXl$xY z?^Ei_&}4yZasCZr7+L7EgcOZYRlCZGKFZ%j#Daqga{_s!t<7m4MHd`(zyZ}KRRejf)-t?eKOVsD_8F*6;sRV^?GKnV9KOz z+2wNC!o(uP0ECeaBE|Yflpdcj)OhMAB3431C}U(zxvg9sEFHNJ#yM@2j>7~2v-&Ky zY!hcL4S|857 z=fRC}Kpu-u8-tizYdn?PiO(0$gPF%OZ(>?aI8!odNZFlS)at}!M2Lye2OA;^WG_9j zPk`5$;;s(2<`{Sm-iA$Rp+KGa5Ai(3cm(xiAX6%$q-#s3QGKymw97@X$h3#% zdLFGusbZ1O>or%0;Fv-L6m#Azm*$8;?2>H+1*c?`TP0>Nr(_3(l22N!IgzhPe>+Qo ziG1*a@}DIFN|1G5nkOsFEO+R#Na0oo%)GO}cq=Q|kssEhE)LK3754-V9V46OtqK--v*QtT zxCC0+{co&e&<3y6YYUD3rMowNJ$Mbjey#Go`v2=c-=ALEb9UeO?Z3g@pYOEZF)p9j zJ#zi6%AwBe~C2CiQC^+fBa|T h>aE@9XP7AX^3|^nT)6$--oIJ*t}m|CuAV-7;Q`Yj>ev7P literal 114 zcmeAS@N?(olHy`uVBq!ia0vp^d_XL~!3-n?z4mbcDb4_&5ZC|z{{xvovhIDqKaj;# z666=mApA+U=NXVE=IP=XQo)$KKsv#NL0~#3pTxz~Oil(7X$BpusP@@F6%3xPelF{r G5}E+weH^R+ diff --git a/Alchemy/ProjectSettings/AlchemySettings.json b/Alchemy/ProjectSettings/AlchemySettings.json index 2eaa9a4..c731d81 100644 --- a/Alchemy/ProjectSettings/AlchemySettings.json +++ b/Alchemy/ProjectSettings/AlchemySettings.json @@ -4,10 +4,10 @@ "showComponentIcons": true, "showTreeMap": true, "treeMapColor": { - "r": 1.0, - "g": 1.0, - "b": 1.0, - "a": 0.2199999988079071 + "r": 0.529411792755127, + "g": 0.529411792755127, + "b": 0.529411792755127, + "a": 0.45098039507865908 }, "showSeparator": true, "showRowShading": true,