Skip to content

naotaka/CotEditorThemeConverter

Repository files navigation

CotEditorThemeConverter

Command line tool to convert theme files for CotEditor 2, the open-sourced light-weight text editor for Mac OS X.

Converted themes example

animation

You can also download converted themes from CotEditor-themes.

Installation

Binary use

  1. Download pre-compiled binary from releases.
  2. Unpack the downloaded archive.
  3. Copy the unpacked CotEditorThemeConverter file to your search path.

REPL use

Simply clone this repository.

Usage

After conversion, you can see converted themes in newly created Converted Themes folder on your desktop.

Binary use

$ CotEditorThemeConverter <xcode-theme>

Use with Xcode 6 on Mac OS X 10.9

$ /Applications/Xcode/Contents/Developer/usr/bin/xcrun swift -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -target x86_64-apple-macosx10.9 </path/to/CotEditorThemeConverter/main.swift> <xcode-theme>

License

MIT license. See the LICENSE file for more info.