benweier / Themr

A UI theme selector for Sublime Text.
MIT License
113 stars 13 forks source link

Colour Scheme Switcher #12

Closed krisanalfa closed 9 years ago

krisanalfa commented 9 years ago

This package is great. But, I only able to change the theme, not with the colour scheme. Would you mind to add new feature so I can switch the colour scheme too while I switch the theme?

screen shot 2015-10-05 at 1 17 53 pm
benweier commented 9 years ago

Hi @krisanalfa You can change your colour scheme with my complimentary plugin Schemr (also available through Package Control)

krisanalfa commented 9 years ago

Hi @benweier, thanks for your fast response. I tried your package and it works like a charm. It solves my problem. But, IMHO, it will be great if you merge these two packages. So we can combine our theme + scheme into one "favourite display", and of course we can switch over them easily.

EDIT: Can you tell me how to bind a new sublime key-binding to do these following command:

If I implement this method, I think I can solve my problem. Cheers.

benweier commented 9 years ago

Unfortunately I don't have any plans to combine the functionality of the two plugins. From the very beginning I did this intentionally to give users the choice of modular complimentary features they will use, instead of a single monolithic plugin that isn't fully utilised.

I suggest trying my older Present Command plugin that will "batch" settings together into a single command. It does require some manual editing to get set up since I'm not actively developing it. While it hasn't been updated recently it still works in ST2 and ST3, and I will respond and fix issues if they come up.

krisanalfa commented 9 years ago

Hi, thanks man, you're my hero. I can do this, now:

[
    { "keys": ["super+shift+d"], "command": "preset_command_by_name", "args": { "name": "Dark" } },
    { "keys": ["super+shift+l"], "command": "preset_command_by_name", "args": { "name": "Light" } }
]

And this is my preset:

{
    "presets": [
        {
            "name": "Dark",
            "description": "Join the dark side",
            "settings":
            {
                "theme": "Material-Theme-Darker.sublime-theme",
                "color_scheme": "Packages/Material Theme/schemes/Material-Theme-Darker.tmTheme"
            }
        },
        {
            "name": "Light",
            "description": "Into the light, I command thee!",
            "settings":
            {
                "theme": "Material-Theme-Lighter.sublime-theme",
                "color_scheme": "Packages/Material Theme/schemes/Material-Theme-Lighter.tmTheme"
            }
        }
    ]
}