daylerees / colour-schemes

Colour schemes for a variety of editors created by Dayle Rees.
http://daylerees.github.io
Other
9.32k stars 1.62k forks source link

Icon problems #206

Open azbatuk opened 7 years ago

azbatuk commented 7 years ago

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 7 years ago

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 7 years ago

+1 same issue

gpressutto5 commented 7 years ago

+1 same issue

RealJTG commented 7 years ago

Should to be fixed now. There were some minor changes in Spacegray theme here https://github.com/kkga/spacegray/commit/a3cf933585ac8fbb67e02c350d9ee614642c17af:

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.

aristotele commented 5 years ago

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

aristotele commented 5 years ago

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

icemancast commented 3 years ago

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

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