Skip to content

Commit a36c3ce

Browse files
julienamsellemEvergreen
authored andcommitted
[VFX] Fixed star and folder icons had wrong colors
1 parent c512660 commit a36c3ce

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

Packages/com.unity.visualeffectgraph/Editor/FilterPopup/VFXFilterWindow.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
using Unity.UI.Builder;
88
using UnityEditor.UIElements;
99
using UnityEngine;
10-
using UnityEngine.Rendering;
1110
using UnityEngine.UIElements;
1211

1312
namespace UnityEditor.VFX.UI

Packages/com.unity.visualeffectgraph/Editor/UIResources/uss/VFXFilterWindow.uss

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -297,18 +297,16 @@ Label {
297297
background-image: url("project:///Packages/com.unity.visualeffectgraph/Editor/UIResources/VFX/Folder.png");
298298
}
299299

300-
.dark Label.category {
300+
.dark .unity-collection-view__item .treenode Label.category {
301301
-unity-background-image-tint-color: #C2C2C2;
302302
}
303303

304-
.favorite Label.category {
305-
background-position-x: left;
306-
background-size: contain;
304+
.unity-collection-view__item .treenode.favorite Label.category {
307305
-unity-background-image-tint-color: white;
308306
background-image: resource("Icons/Favorite_colored.png");
309307
}
310308

311-
.dark .favorite Label.category {
309+
.dark .unity-collection-view__item .treenode.favorite Label.category {
312310
background-image: resource("Icons/d_Favorite_colored.png");
313311
}
314312

0 commit comments

Comments
 (0)