Giter Club home page Giter Club logo

themetweaker's Introduction

Donate via PayPal Discord Build Package Control Downloads License

ThemeTweaker

Change your Sublime tmTheme files by applying different color filters on the fly.

hue

ThemeTweaker came out as a side project while I was working on ExportHtml. I was dealing with replicating the tmTheme in an HTML output, but later wanted to be able to modify the tmTheme with filters such as: rotating the hue, adjusting the contrast, increasing/deceasing the brightness, etc. Some of the filters are useless, but they were fun to throw together. I have been using it for a while, but recently decided to throw it together in its own package. It can be used as a stand alone plugin for tweaking your themes, or it can be leveraged by other plugins for modifying color scheme (tmTheme) files.

Features

ThemeTweaker has a number of commands that allow you to do the following:

  • Increase/Decrease brightness.
  • Increase/Decrease saturation.
  • Rotate the hues of the theme.
  • Colorize the theme (make all of the colors different shades of one color).
  • Convert the theme to grayscale.
  • Apply a Sepia filter.
  • Invert the color scheme.
  • Cause foreground scopes to glow (keywords etc. except for the main foreground color; maybe that will change).
  • With filters that make sense, allow limiting the filter to background or foreground scopes.
  • Create shortcuts to adjust the color scheme only when in ThemeMode.
  • Allow undo and redo of filters while in ThemeMode.
  • A command to revert all filters in one shot and return to original theme.
  • Does not modify the original theme directly, but creates a copy.
  • Live update when applying filters.

Documentation

http://facelessuser.github.io/ThemeTweaker/

License

The MIT License (MIT)

Copyright (c) 2013 - 2021 Isaac Muse

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

themetweaker's People

Contributors

facelessuser 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

Watchers

 avatar  avatar  avatar

themetweaker's Issues

Trouble getting started

I have trouble getting started. I would like to try this tool, but I can not get started?
What do I have to do to get started?

I start with running: Theme Tweaker: Toggle Tweak Mode

and than what do I do?

platform: OSX 10.10
Build 3083

I can't seem to get this working with the *.sublime-color-scheme syntax...

What is the issue / request?

Hello, I just installed this and I can't wait to get it working to help with a plugin I'm creating. I see that you recently added support for the new *.sublime-color-scheme syntax (which is awesome), but unfortunately I can't seem to get it working.

Steps I have taken:

  1. I created commands (and key bindings) for the ThemeTweaker filters.

  2. Run a filter either from a key binding or command.

  3. Filters is successfully applied on *.tmTheme files.

  4. But not on *.sublime-color-scheme files. This is what happens:

    1. The new ThemTweaker theme gets created.
    2. The command acts like it runs successfully.
    3. But no filter gets applied.
    4. It fails on both default color schemes (such as Monokai.sublime-color-scheme) and my own custom scheme.
  5. The only thing I can see in the console is:

    "ThemeTweaker: Theme has not been tweaked!"
    

Support Info:

- ST ver.: 3156
- Platform: osx
- Arch: x64
- Plugin ver.: 1.8.0
- Install via PC: True
- mdpopups ver.: 3.3.0
- markdown ver.: 2.6.9
- pygments ver.: 2.1a0
- jinja2 ver.: 2.8

Please let me know what else I can send you that might help, I'm not sure where else I can gather any further details at the moment.

Thank you!!

Do not create copies of untweaked themes

Very nice plugin! I wanted to create this for long time.Though it would be nice to create copies in User/ThemeTweaker only of the themes one actually tweaks, otherwise you can not distinguish if you changed something in a theme or you just opened it and ThemeTweaker made a copy.

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.