ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Solarized Toggle

by damccull ALL

A very simple plugin that lets you toggle between color schemes.

Details

Installs

  • Total 15K
  • Win 7K
  • Mac 5K
  • Linux 3K
Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12
Windows 0 1 2 0 0 1 0 2 0 0 0 0 0 1 1 1 4 0 0 0 1 0 0 1 0 1 0 0 3 0 1 1 2 0 3 1 2 0 1 3 1 1 0 0 0 1
Mac 0 0 0 0 1 0 0 0 0 0 0 2 0 0 0 0 1 2 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 1
Linux 0 0 0 0 0 0 0 0 1 0 0 0 2 0 2 0 1 0 3 1 1 1 1 1 1 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 2 0 0 2 0

Readme

Source
raw.​githubusercontent.​com

No Longer Under Active Development

Solarized Toggle

Introduction

Solarized Toggle is a very simple plugin originally written to allow users of Sublime Text 2 and Sublime Text 3 to easily switch between light and dark versions of the Solarized color scheme.

Now any color scheme included with Sublime Text or installed separately can be used with a change to the plugin's settings file. The font settings can also be toggled between the differnt modes. You can also choose to use the built in theme switcher to toggle between two different themes at the same time.

Why use this plugin? Instead of having to manually click Preferences->Color Scheme->Some Colors, you can simply press F12 (CMD+F12 on OSX, Control+F12 on Linux) in order to toggle between two themes. If you enable the theme switcher, you can also easily toggle between themes that compliment your color schemes.

New features in this version

Contribute to this code:

  • Fork the project, write a patch, submit a pull request.
  • Reporting issues or request features in the Issues tab.

Installation

This plugin can be installed by using the Package Control plugin, or manually.

Package Control (preferred)

  1. Install the Package Control plugin if you haven't already.
  2. Simply press CTRL-SHIFT-P from inside Sublime Text, then type PCI, and press enter. This will open the package installation browser.
  3. Type 'Solarized Toggle' then press enter.

Manual Installation

  1. Download the current version of the plugin.

Sublime Text 2

  1. In Sublime Text 2, click Preferences->Browse Packages.
  2. Unzip the file you downloaded into that directory.
  3. Rename the folder you just unzipped to 'Solarized Toggle'.

Sublime Text 3

  1. In Sublime Text 3, click Preferences->Browse Packages.
  2. Go up one level, then open the Installed Packages folder.
  3. Copy the zip file you downloaded here, and rename it to 'Solarized Toggle.sublime-package'.

Congratulations. The plugin is now installed. Test it by pressing F12 a few times.

Notes

  • This plugin will overwrite the following settings in your Preferences.sublime-settings (USER) file:
    • color_scheme
    • font_face, font_size, font_options, (if font switching is enabled)
    • theme (if theme switching is enabled)
  • Prior to Sublime Text 3 build 3114, there is an issue with the theme switcher for both Sublime Text 2 and 3 where the window sometimes does not update the entire theme, leaving some artifacts of the previous theme behind. This is a limitation of Sublime Text itself. To fix the issue, simply resize or minimize/restore your window. This will cause the window to redraw itself with the new theme. Upgrading to a version starting with Sublime Text 3 build 3114 will also fix this problem.