buymeasoda / soda-theme

Dark and light custom UI themes for Sublime Text
https://buymeasoda.github.io/soda-theme/
4.33k stars 517 forks source link

Fixes #182 (Soda Dark 3, icons AND arrows) #183

Open Kronuz opened 10 years ago

Kronuz commented 10 years ago
bobrocke commented 10 years ago

This looks like just what I need! I hope it can be merged soon.

bobrocke commented 10 years ago

@Kronuz If I wanted to make this change myself in the meantime, are there any instruction for messing with theme files? Or would you be willing to email me your patched version?

buymeasoda commented 10 years ago

I'll take a look at this merge.

In the interim, Sublime Text has a very nice built in way to customize an existing theme for tweaks and adjustments, without having to mess with the installed theme.

Check out: https://github.com/buymeasoda/soda-theme/wiki/Theme-customisation

bobrocke commented 10 years ago

The customization link was helpful. But I'm still new at this.

I put

// Sidebar tree
{
    "class": "sidebar_tree",
    "row_padding": [0, 3]
},
// Sidebar group closed
{
    "class": "disclosure_button_control",
    "content_margin": [0, 8]
},
// Sidebar file icons
{
    "class": "icon_file_type",
    "content_margin": [0, 8]
},

in ~/Library/Application Support/Sublime Text 3/Packages/User/Soda Dark 3.sublime-theme and restarted Sublime Text 3. But nothing changed in the display.

Where did I go wrong?

buymeasoda commented 10 years ago

Have you got the entire rules block wrapped in [ ]?

[
    // your customisations
]

Also, if you open the Sublime console (CTRL + ~ on Mac) after you restart, you will see errors encountered by the app. Theme parsing rules output notices to this console to help debug.

I tried adding your rules with the brackets and it works, so that's probably the go.

bobrocke commented 10 years ago

Perfect! That was it. Thanks!

That also eliminated the arrows, leaving just the icons. What if I wanted the opposite; leave the arrows and eliminate the icons?

Nerian commented 10 years ago
What if I wanted the opposite; leave the arrows and eliminate the icons?

That's what I want :) How can we do that?

AbeEstrada commented 10 years ago

@bobrocke & @Nerian for the opposite you can use this:

[
    {
        "class": "icon_file_type",
        "content_margin": [0,0]
    },
    {
        "class": "icon_folder",
        "content_margin": [0,0]
    },
    {
        "class": "icon_folder_loading",
        "content_margin": [0,0]
    },
]
Nerian commented 10 years ago

Thanks!