daylerees/colour-schemes

Icon problems

azbatuk opened this issue · 7 comments

Hello,
I've been using Peel with Sublime Text 3, and been having icon problems (file and folder icons on the sidebar and also tab icons) since Spacegray updated to 1.3.1 a couple days ago.
Thanks.
scr

zuern commented

I have the same issue with Sublime Text 3. It seems to affect the code folding icons as well as the folder browser
screenshot_20161205_121009

Gr1N commented

+1 same issue

+1 same issue

Should to be fixed now.
There were some minor changes in Spacegray theme here SublimeText/Spacegray@a3cf933:

Before:

"layer0.texture": "Theme - Spacegray/Spacegray/close.png",

After:

"layer0.texture": "Theme - Spacegray/assets/close.png",

While not merged, you can temporary remove package and unpack fixed package in ~/.config/sublime-text-3/Packages/Dayle Rees Color Schemes.

I can now see the correct folder icon in the sidebar but still show the default folder icon next to it.
image

I've just figured it out. Simply put this snippet in theme configuration.

// sidebar icon folder closed
{
	"class": "icon_folder",
	"layer0.texture": "Theme - Spacegray/assets/folder-closed.png",
	"layer0.tint":[211, 100, 59],
	"content_margin": [9, 8]
},
// sidebar icon folder opened
{
	"class": "icon_folder",
	"parents": [{"class": "tree_row", "attributes": ["expanded"]}],
	"layer0.texture": "Theme - Spacegray/assets/folder-open.png",
	"layer0.tint":[211, 100, 59],
	"content_margin": [9, 8]
},
// sidbar arrows (down = group opend, right = group closed)
{
	"class": "disclosure_button_control",
    "content_margin": [0,0],	// set 8,8 if want to see the arrows
    "layer0.texture": "Theme - Spacegray/assets/fold-down.png",
    "layer0.tint": [171, 60, 19], // 02
    "layer0.opacity": 1,
    "layer0.inner_margin": 0
},
{
	"class": "disclosure_button_control",
	"attributes": ["expanded"],
	"layer0.texture": "Theme - Spacegray/assets/fold-right.png"
},

Result in this:

image

I have the same issue on mine now. How did you fix yours?

Screen Shot 2020-11-17 at 11 12 54 AM