{"id":5879,"date":"2024-07-05T00:47:02","date_gmt":"2024-07-04T21:47:02","guid":{"rendered":"https:\/\/unitycoder.com\/blog\/?p=5879"},"modified":"2024-07-05T00:52:10","modified_gmt":"2024-07-04T21:52:10","slug":"unityhub-make-hub-application-background-translucent","status":"publish","type":"post","link":"https:\/\/unitycoder.com\/blog\/2024\/07\/05\/unityhub-make-hub-application-background-translucent\/","title":{"rendered":"UnityHub: Make Hub application background Translucent"},"content":{"rendered":"\n<p>You can modify UnityHub to enable Translucent Background!<br>*Note Win10, you need to have transparent color enabled in settings: <a href=\"https:\/\/www.partitionwizard.com\/partitionmagic\/transparent-taskbar-win-10.html\">https:\/\/www.partitionwizard.com\/partitionmagic\/transparent-taskbar-win-10.html<\/a><\/p>\n\n\n\n<p><strong>Steps:<\/strong><br>&#8211; Follow initial steps to unpack asar <a href=\"https:\/\/github.com\/unitycoder\/UnityHubModding\">https:\/\/github.com\/unitycoder\/UnityHubModding<\/a><br>&#8211; edit app\/build\/renderer\/index.html, add line: html, body, #app {background-color: rgba(0.7, 0.7, 0.7, 0.2) !important;}<br>&#8211; edit app\/build\/main\/windowManager\/baseWindow.js<br>\/\/ find line<br>const backgroundColor = this.getThemeBackgroundColor();<br>\/\/ replace with these 3 lines<br>let backgroundColor = this.getThemeBackgroundColor();<br>backgroundColor+= &#8217;20&#8217;;<br>&#8211; Done!<\/p>\n\n\n\n<p>Screenshot with windows desktop background showing through Hub:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2024\/07\/image-2.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"995\" data-attachment-id=\"5882\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2024\/07\/05\/unityhub-make-hub-application-background-translucent\/image-2-13\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2024\/07\/image-2.png?fit=1024%2C995&amp;ssl=1\" data-orig-size=\"1024,995\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-2\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2024\/07\/image-2.png?fit=1024%2C995&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2024\/07\/image-2.png?resize=1024%2C995&#038;ssl=1\" alt=\"\" class=\"wp-image-5882\" srcset=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2024\/07\/image-2.png?w=1024&amp;ssl=1 1024w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2024\/07\/image-2.png?resize=300%2C292&amp;ssl=1 300w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2024\/07\/image-2.png?resize=768%2C746&amp;ssl=1 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/a><\/figure>\n\n\n\n<p>Link to github:<br><a href=\"https:\/\/github.com\/unitycoder\/UnityHubModding?tab=readme-ov-file#make-hub-background-translucent\">https:\/\/github.com\/unitycoder\/UnityHubModding?tab=readme-ov-file#make-hub-background-translucent<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can modify UnityHub to enable Translucent Background!*Note Win10, you need to have transparent color enabled in settings: https:\/\/www.partitionwizard.com\/partitionmagic\/transparent-taskbar-win-10.html Steps:&#8211; Follow initial steps to unpack asar https:\/\/github.com\/unitycoder\/UnityHubModding&#8211; edit app\/build\/renderer\/index.html, add line: html, body, #app {background-color: rgba(0.7, 0.7, 0.7, 0.2) !important;}&#8211; edit app\/build\/main\/windowManager\/baseWindow.js\/\/ find lineconst backgroundColor [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5882,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1,1267],"tags":[1236,1277,1268],"class_list":["post-5879","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","category-unityhub","tag-hub","tag-modding","tag-unityhub"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2024\/07\/image-2.png?fit=1024%2C995&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p1KTaT-1wP","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/5879","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/comments?post=5879"}],"version-history":[{"count":2,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/5879\/revisions"}],"predecessor-version":[{"id":5884,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/5879\/revisions\/5884"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media\/5882"}],"wp:attachment":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media?parent=5879"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/categories?post=5879"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/tags?post=5879"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}