Giter VIP home page Giter VIP logo

themr's Introduction

About

![Gitter](https://badges.gitter.im/Join Chat.svg)

Themr allows you to quickly and easily cycle forward, backward, or randomly through your available UI themes using the command palette or keyboard shortcuts.

Features

  • Full compatibility with Sublime Text 2 and 3.
  • Allows themes to be favorited for even faster access.
  • Automatically loads all available .sublime-theme files, including those found inside .sublime-package files.
  • Configure all customizable theme settings without checking the theme readme or manually scanning the theme file. [ST3 ONLY]

Installation

Install Themr through Package Control or download and extract it into your Sublime Text Packages folder.

Contributors

Toggle Theme Settings by Eibbor

Usage

Themr: List themes displays all the available themes in alphabetical order.

  • Default binding: Ctrl+F5 (Windows/Linux) Cmd+F5 (OSX)

Themr: Next theme switches immediately to the alphabetically next theme.

  • Default binding: Ctrl+F7 (Windows/Linux) Cmd+F7 (OSX)

Themr: Previous theme switches immediately to the alphabetically previous theme.

  • Default binding: Ctrl+F8 (Windows/Linux) Cmd+F8 (OSX)

Themr: Random theme switches immediately to a random theme that you have installed.

  • Default binding: Ctrl+F10 (Windows/Linux) Cmd+F10 (OSX)

Themr: Toggle Theme Settings displays a list of toggleable settings supported by your current theme.

Favorites

Themr: Add current theme to favorites and Themr: Remove current theme from favorites add and remove the currently selected theme to your favorites list.

  • You can also edit your favorites list manually through Preferences > Package Settings > Themr.

Themr: List favorite themes displays your favorite themes in alphabetical order.

  • Default binding: Ctrl+Shift+F5 (Windows/Linux) Cmd+Shift+F5 (OSX)

Themr: Next favorite theme switches immediately to the alphabetically next theme in your favorites.

  • Default binding: Ctrl+Shift+F7 (Windows/Linux) Cmd+Shift+F7 (OSX)

Themr: Previous favorite theme switches immediately to the alphabetically previous theme in your favorites.

  • Default binding: Ctrl+Shift+F8 (Windows/Linux) Cmd+Shift+F8 (OSX)

Themr: Random favorite theme switches immediately to a random theme in your favorites.

  • Default binding: Ctrl+Shift+F10 (Windows/Linux) Cmd+Shift+F10 (OSX)

Other Notes

When changing between themes, Sublime Text may need be restarted to fully clear the old theme settings and apply the new theme settings. Switching themes within the same family (e.g. Soda Light <-> Soda Dark) usually doesn't cause any issues.

themr's People

Contributors

benweier avatar eibbors avatar gitter-badger avatar int3h avatar philoserf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

themr's Issues

Themr Won't Forget Theme Settings

I can't figure out how to reset Themr's watched theme settings. Whenever I remove a setting from Preferences.sublime-settings and then change the theme, the setting comes back. I tried using the themr_watch_settings flag, but it does not seem to change the behavior whether true or false.

Ability to Change Color Scheme

Thanks for this great pugin! One of the things in sublime that drives me crazy is the dropdown menu for selecting color schemes. I'm definitely a slave to the command palette. Would you consider adding color scheme selection to themr?

Sometimes it doesn't show up.

sometimes the plugin doesn't show up in the quick panel and i have to either disable then enable it or uninstall then reinstall again ,don't know why that happens ?!!

Didn't work

I really liked the idea of switching between color schemes quickly to test them all out. =[

[Feature request] Keep theme options palette open after toggle

Hi,
I have no idea if the API allows this (searched a bit, but it's a little above my head I guess), but it'd be super handy to be able to quickly toggle theme options from the command palette without having to open the palette and re-navigate each time an option is toggled. That is, having a persistent command palette in the theme options menu.

Thanks to helpful advice on the Discord chat, I've been able to locate a similar functionality in the PackageResourceViewer package. I'm adding it here because I have to get back to my day job, and making sense of this code is still a bit above my head, but I hope to come back to it and give it a shot when time permits. That is, unless it is kindly implemented by a passing developer who finds this a useful addition, in which case I hope the prv reference helps.

Current usage of `settings.add_on_change` is errorneous

settings.add_on_change(handle, callback) registers a callback to the corresponding settings object that will be called whenever the settings are reloaded (even if there are no changes in any value). the handle is not the settings to listen on but a handle that can be used with settings.clear_on_change(handle) later, which is missing as well. ST won't automatically clear settings callbacks when a plugin is unloaded so that even after disabling a package on the fly, which should surely be possible, the handler will still be called. It is your duty to unregister settings handlers when a package is unloaded.

Feel free to ask if something is not clear. Here's how you could do it.

add theme option settings automatically.

thanx so much for the Themr: Toggle Theme Settings ,its a true time saver ,my only prob is the plugin doesn't add the theme option automatically to the user settings file

  • eg, the theme have a setting call ("mouse_wheel_switches_tabs")
    now unless i add that setting manually to the user settings file the plugin gives this error
Traceback (most recent call last):
  File "/Users/Novo/Library/Application Support/Sublime Text 3/Packages/Themr/themr.py", line 234, in on_done
    self.preferences.set(the_theme_settings[index][0], not the_theme_settings[index][1])
AttributeError: 'ThemrToggleSettingsCommand' object has no attribute 'preferences'

Colour Scheme Switcher

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

Themes not listed - only Default theme

When I press Ctrl-F5 neither the built-in themes nor my own custom theme is listed - I only see the Default theme (which does nothing when I click on it). How come?

I'm using ST3 build 3126 in Windows 10.

Themr no longer in Package Control repositories

I installed sublime on a new machine, and discovered that Themr is no longer in the package control repositories. This is not a big deal for me as I know how to install it manually, however, the readme on the repository still instructs you to use package control. The Package Control instructions should either be removed or notated to show that they are not currently working.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.