Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Initial commit of themes and a basic readme.

  • Loading branch information...
commit fc8294141f6b4a145af890ed6ed5e61c30b86d16 0 parents
@jbrennan authored
98 Humane.dvtcolortheme
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>DVTConsoleDebuggerInputTextColor</key>
+ <string>0 0 0 1</string>
+ <key>DVTConsoleDebuggerInputTextFont</key>
+ <string>Menlo-Bold - 11.0</string>
+ <key>DVTConsoleDebuggerOutputTextColor</key>
+ <string>0 0 0 1</string>
+ <key>DVTConsoleDebuggerOutputTextFont</key>
+ <string>Menlo-Regular - 11.0</string>
+ <key>DVTConsoleDebuggerPromptTextColor</key>
+ <string>0 0 0 1</string>
+ <key>DVTConsoleDebuggerPromptTextFont</key>
+ <string>Menlo-Bold - 11.0</string>
+ <key>DVTConsoleExectuableInputTextColor</key>
+ <string>0 0 0 1</string>
+ <key>DVTConsoleExectuableInputTextFont</key>
+ <string>Menlo-Regular - 11.0</string>
+ <key>DVTConsoleExectuableOutputTextColor</key>
+ <string>0 0 0 1</string>
+ <key>DVTConsoleExectuableOutputTextFont</key>
+ <string>Menlo-Bold - 11.0</string>
+ <key>DVTConsoleTextBackgroundColor</key>
+ <string>0.89 0.835 0.757 1</string>
+ <key>DVTConsoleTextInsertionPointColor</key>
+ <string>0 0 0 1</string>
+ <key>DVTConsoleTextSelectionColor</key>
+ <string>0.671 0.805 0.989 1</string>
+ <key>DVTDebuggerInstructionPointerColor</key>
+ <string>0.705792 0.8 0.544 1</string>
+ <key>DVTSourceTextBackground</key>
+ <string>0.89 0.835 0.757 1</string>
+ <key>DVTSourceTextBlockDimBackgroundColor</key>
+ <string>0.89 0.835 0.757 1</string>
+ <key>DVTSourceTextInsertionPointColor</key>
+ <string>0 0 0 1</string>
+ <key>DVTSourceTextInvisiblesColor</key>
+ <string>0.89 0.835 0.757 1</string>
+ <key>DVTSourceTextSelectionColor</key>
+ <string>0.671 0.805 0.989 1</string>
+ <key>DVTSourceTextSyntaxColors</key>
+ <dict>
+ <key>xcode.syntax.attribute</key>
+ <string>0.188 0.373 0.396 1</string>
+ <key>xcode.syntax.character</key>
+ <string>0.145 0.573 0.255 1</string>
+ <key>xcode.syntax.comment</key>
+ <string>0.576 0.478 0.259 1</string>
+ <key>xcode.syntax.comment.doc</key>
+ <string>0.576 0.478 0.259 1</string>
+ <key>xcode.syntax.comment.doc.keyword</key>
+ <string>0.576 0.478 0.259 1</string>
+ <key>xcode.syntax.identifier.class</key>
+ <string>0.188 0.373 0.396 1</string>
+ <key>xcode.syntax.identifier.class.system</key>
+ <string>0.251 0 0.502 1</string>
+ <key>xcode.syntax.identifier.constant</key>
+ <string>0.188 0.373 0.396 1</string>
+ <key>xcode.syntax.identifier.constant.system</key>
+ <string>0.251 0 0.502 1</string>
+ <key>xcode.syntax.identifier.function</key>
+ <string>0.188 0.373 0.396 1</string>
+ <key>xcode.syntax.identifier.function.system</key>
+ <string>0.381 0.195 0.64 1</string>
+ <key>xcode.syntax.identifier.macro</key>
+ <string>0.576 0.478 0.259 1</string>
+ <key>xcode.syntax.identifier.macro.system</key>
+ <string>0.391 0.22 0.125 1</string>
+ <key>xcode.syntax.identifier.type</key>
+ <string>0.188 0.373 0.396 1</string>
+ <key>xcode.syntax.identifier.type.system</key>
+ <string>0.251 0 0.502 1</string>
+ <key>xcode.syntax.identifier.variable</key>
+ <string>0.188 0.373 0.396 1</string>
+ <key>xcode.syntax.identifier.variable.system</key>
+ <string>0.188 0.373 0.396 1</string>
+ <key>xcode.syntax.keyword</key>
+ <string>0.251 0 0.502 1</string>
+ <key>xcode.syntax.number</key>
+ <string>0.145 0.573 0.255 1</string>
+ <key>xcode.syntax.plain</key>
+ <string>0 0 0 1</string>
+ <key>xcode.syntax.preprocessor</key>
+ <string>0.391 0.22 0.125 1</string>
+ <key>xcode.syntax.string</key>
+ <string>0.149 0.262 0.839 1</string>
+ <key>xcode.syntax.url</key>
+ <string>0.145 0.573 0.255 1</string>
+ </dict>
+ <key>DVTSourceTextSyntaxFonts</key>
+ <dict>
+ <key>xcode.syntax.plain</key>
+ <string>Menlo-Regular - 12.0</string>
+ </dict>
+</dict>
+</plist>
35 Readme.md
@@ -0,0 +1,35 @@
+Xcode 4 Themes
+==============
+
+This repository contains 3 themes I've found useful when working with Xcode 4, in addition to a Ruby script I've discovered to help convert Xcode 3 themes into the format required by Xcode 4.
+
+The themes
+----------
+
+* Solarized Light & Dark: Both themes are based off the amazing work for the original [Vim Solarized theme] [solar]. Github user varikin took the Solarized palette and made the [Solarize Dark theme] [varikin] for Xcode 4. I forked his repository and added the Solarize Light theme as well. I'm including both in this repository, but both have been pushed back upstream to his repo.
+
+* Humane (modified): This theme was originally made for Xcode 4 by [Damien Guard] [humane]. I've made some modifications to it (including a switch to Menlo 12 pt. instead of Panic Sans 11 pt., though the two typefaces are nearly identical).
+
+
+Installation
+------------
+
+ mkdir -p ~/Library/Developer/Xcode/UserData/FontAndColorThemes/
+ cp *.dvtcolortheme ~/Library/Developer/Xcode/UserData/FontAndColorThemes/
+
+
+Converting Xcode 3 themes
+-----------------
+The Ruby script (which is public domain) was found [here] [script] and is being included for convenience. To use it, do the following:
+
+1. Install the plist gem with `sudo gem install plist`
+2. Run the script with `./dvtcolorconvert.rb ~/Library/Application Support/Xcode/Color Themes/yourXcode3Theme.xccolortheme` (this directory won't exist unless you've made custom themes for Xcode 3, which could be as simple as duplicating an existing theme).
+3. The converted theme will be in the same directory as the original.
+4. As with installing the other themes, simply copy the converted theme to `~/Library/Developer/Xcode/UserData/FontAndColorThemes/`.
+5. Restart Xcode 4.
+
+
+ [script]: http://digitalflapjack.com/blog/2011/jan/24/xcodedpthemes/
+ [humane]: http://damieng.com/blog/2008/02/08/humane-theme-for-textmate-and-xcode
+ [solar]: http://ethanschoonover.com/solarized
+ [varikin]: https://github.com/varikin/solarized/tree/master/xcode4-colors-solarized
104 Solarize Dark.dvtcolortheme
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>DVTConsoleDebuggerInputTextColor</key>
+ <string>0 0 0 1</string>
+ <key>DVTConsoleDebuggerInputTextFont</key>
+ <string>Menlo-Bold - 11.0</string>
+ <key>DVTConsoleDebuggerOutputTextColor</key>
+ <string>0 0 0 1</string>
+ <key>DVTConsoleDebuggerOutputTextFont</key>
+ <string>Menlo-Regular - 11.0</string>
+ <key>DVTConsoleDebuggerPromptTextColor</key>
+ <string>0 0 0 1</string>
+ <key>DVTConsoleDebuggerPromptTextFont</key>
+ <string>Menlo-Bold - 11.0</string>
+ <key>DVTConsoleExectuableInputTextColor</key>
+ <string>0 0 0 1</string>
+ <key>DVTConsoleExectuableInputTextFont</key>
+ <string>Menlo-Regular - 11.0</string>
+ <key>DVTConsoleExectuableOutputTextColor</key>
+ <string>0 0 0 1</string>
+ <key>DVTConsoleExectuableOutputTextFont</key>
+ <string>Menlo-Bold - 11.0</string>
+ <key>DVTConsoleTextBackgroundColor</key>
+ <string>1 1 1 1</string>
+ <key>DVTConsoleTextInsertionPointColor</key>
+ <string>0 0 0 1</string>
+ <key>DVTConsoleTextSelectionColor</key>
+ <string>0.96721 0.781227 0.459851 1</string>
+ <key>DVTDebuggerInstructionPointerColor</key>
+ <string>0.705792 0.8 0.544 1</string>
+ <key>DVTSourceTextBackground</key>
+ <string>0.0159244 0.126521 0.159696 1</string>
+ <key>DVTSourceTextBlockDimBackgroundColor</key>
+ <string>0.5 0.5 0.5 1</string>
+ <key>DVTSourceTextInsertionPointColor</key>
+ <string>0.505992 0.564858 0.563637 1</string>
+ <key>DVTSourceTextInvisiblesColor</key>
+ <string>0.5 0.5 0.5 1</string>
+ <key>DVTSourceTextSelectionColor</key>
+ <string>0.0393807 0.160116 0.198333 1</string>
+ <key>DVTSourceTextSyntaxColors</key>
+ <dict>
+ <key>xcode.syntax.attribute</key>
+ <string>0.347924 0.351372 0.717917 1</string>
+ <key>xcode.syntax.character</key>
+ <string>0.146795 0.570824 0.525023 1</string>
+ <key>xcode.syntax.comment</key>
+ <string>0.27672 0.35666 0.382985 1</string>
+ <key>xcode.syntax.comment.doc</key>
+ <string>0.27672 0.35666 0.382985 1</string>
+ <key>xcode.syntax.comment.doc.keyword</key>
+ <string>0.27672 0.35666 0.382985 1</string>
+ <key>xcode.syntax.identifier.class</key>
+ <string>0.647465 0.467514 0.0234848 1</string>
+ <key>xcode.syntax.identifier.class.system</key>
+ <string>0.449775 0.541155 0.0202088 1</string>
+ <key>xcode.syntax.identifier.constant</key>
+ <string>0.146795 0.570824 0.525023 1</string>
+ <key>xcode.syntax.identifier.constant.system</key>
+ <string>0.146795 0.570824 0.525023 1</string>
+ <key>xcode.syntax.identifier.function</key>
+ <string>0.146795 0.570824 0.525023 1</string>
+ <key>xcode.syntax.identifier.function.system</key>
+ <string>0.449775 0.541155 0.0202088 1</string>
+ <key>xcode.syntax.identifier.macro</key>
+ <string>0.741763 0.213253 0.0735304 1</string>
+ <key>xcode.syntax.identifier.macro.system</key>
+ <string>0.741763 0.213253 0.0735304 1</string>
+ <key>xcode.syntax.identifier.type</key>
+ <string>0.647465 0.467514 0.0234848 1</string>
+ <key>xcode.syntax.identifier.type.system</key>
+ <string>0.449775 0.541155 0.0202088 1</string>
+ <key>xcode.syntax.identifier.variable</key>
+ <string>0.127549 0.462659 0.782314 1</string>
+ <key>xcode.syntax.identifier.variable.system</key>
+ <string>0.347924 0.351372 0.717917 1</string>
+ <key>xcode.syntax.keyword</key>
+ <string>0.449775 0.541155 0.0202088 1</string>
+ <key>xcode.syntax.number</key>
+ <string>0.146795 0.570824 0.525023 1</string>
+ <key>xcode.syntax.plain</key>
+ <string>0.44058 0.509629 0.516858 1</string>
+ <key>xcode.syntax.preprocessor</key>
+ <string>0.741763 0.213253 0.0735304 1</string>
+ <key>xcode.syntax.string</key>
+ <string>0.146795 0.570824 0.525023 1</string>
+ <key>xcode.syntax.url</key>
+ <string>0.347924 0.351372 0.717917 1</string>
+ </dict>
+ <key>DVTSourceTextSyntaxFonts</key>
+ <dict>
+ <key>xcode.syntax.comment</key>
+ <string>Menlo-Italic - 12.0</string>
+ <key>xcode.syntax.comment.doc</key>
+ <string>Menlo-Italic - 12.0</string>
+ <key>xcode.syntax.comment.doc.keyword</key>
+ <string>Menlo-Italic - 12.0</string>
+ <key>xcode.syntax.plain</key>
+ <string>Menlo-Regular - 12.0</string>
+ </dict>
+</dict>
+</plist>
104 Solarize Light.dvtcolortheme
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>DVTConsoleDebuggerInputTextColor</key>
+ <string>0 0 0 1</string>
+ <key>DVTConsoleDebuggerInputTextFont</key>
+ <string>Menlo-Bold - 11.0</string>
+ <key>DVTConsoleDebuggerOutputTextColor</key>
+ <string>0 0 0 1</string>
+ <key>DVTConsoleDebuggerOutputTextFont</key>
+ <string>Menlo-Regular - 11.0</string>
+ <key>DVTConsoleDebuggerPromptTextColor</key>
+ <string>0 0 0 1</string>
+ <key>DVTConsoleDebuggerPromptTextFont</key>
+ <string>Menlo-Bold - 11.0</string>
+ <key>DVTConsoleExectuableInputTextColor</key>
+ <string>0 0 0 1</string>
+ <key>DVTConsoleExectuableInputTextFont</key>
+ <string>Menlo-Regular - 11.0</string>
+ <key>DVTConsoleExectuableOutputTextColor</key>
+ <string>0 0 0 1</string>
+ <key>DVTConsoleExectuableOutputTextFont</key>
+ <string>Menlo-Bold - 11.0</string>
+ <key>DVTConsoleTextBackgroundColor</key>
+ <string>1 1 1 1</string>
+ <key>DVTConsoleTextInsertionPointColor</key>
+ <string>0 0 0 1</string>
+ <key>DVTConsoleTextSelectionColor</key>
+ <string>0.96721 0.781227 0.459851 1</string>
+ <key>DVTDebuggerInstructionPointerColor</key>
+ <string>0.705792 0.8 0.544 1</string>
+ <key>DVTSourceTextBackground</key>
+ <string>0.989434 0.957944 0.86406 1</string>
+ <key>DVTSourceTextBlockDimBackgroundColor</key>
+ <string>0.5 0.5 0.5 1</string>
+ <key>DVTSourceTextInsertionPointColor</key>
+ <string>0.505992 0.564858 0.563637 1</string>
+ <key>DVTSourceTextInvisiblesColor</key>
+ <string>0.5 0.5 0.5 1</string>
+ <key>DVTSourceTextSelectionColor</key>
+ <string>0.916111 0.890012 0.797811 1</string>
+ <key>DVTSourceTextSyntaxColors</key>
+ <dict>
+ <key>xcode.syntax.attribute</key>
+ <string>0.347924 0.351372 0.717917 1</string>
+ <key>xcode.syntax.character</key>
+ <string>0.146795 0.570824 0.525023 1</string>
+ <key>xcode.syntax.comment</key>
+ <string>0.27672 0.35666 0.382985 1</string>
+ <key>xcode.syntax.comment.doc</key>
+ <string>0.27672 0.35666 0.382985 1</string>
+ <key>xcode.syntax.comment.doc.keyword</key>
+ <string>0.27672 0.35666 0.382985 1</string>
+ <key>xcode.syntax.identifier.class</key>
+ <string>0.647465 0.467514 0.0234848 1</string>
+ <key>xcode.syntax.identifier.class.system</key>
+ <string>0.449775 0.541155 0.0202088 1</string>
+ <key>xcode.syntax.identifier.constant</key>
+ <string>0.146795 0.570824 0.525023 1</string>
+ <key>xcode.syntax.identifier.constant.system</key>
+ <string>0.146795 0.570824 0.525023 1</string>
+ <key>xcode.syntax.identifier.function</key>
+ <string>0.146795 0.570824 0.525023 1</string>
+ <key>xcode.syntax.identifier.function.system</key>
+ <string>0.449775 0.541155 0.0202088 1</string>
+ <key>xcode.syntax.identifier.macro</key>
+ <string>0.741763 0.213253 0.0735304 1</string>
+ <key>xcode.syntax.identifier.macro.system</key>
+ <string>0.741763 0.213253 0.0735304 1</string>
+ <key>xcode.syntax.identifier.type</key>
+ <string>0.647465 0.467514 0.0234848 1</string>
+ <key>xcode.syntax.identifier.type.system</key>
+ <string>0.449775 0.541155 0.0202088 1</string>
+ <key>xcode.syntax.identifier.variable</key>
+ <string>0.127549 0.462659 0.782314 1</string>
+ <key>xcode.syntax.identifier.variable.system</key>
+ <string>0.347924 0.351372 0.717917 1</string>
+ <key>xcode.syntax.keyword</key>
+ <string>0.449775 0.541155 0.0202088 1</string>
+ <key>xcode.syntax.number</key>
+ <string>0.146795 0.570824 0.525023 1</string>
+ <key>xcode.syntax.plain</key>
+ <string>0.44058 0.509629 0.516858 1</string>
+ <key>xcode.syntax.preprocessor</key>
+ <string>0.741763 0.213253 0.0735304 1</string>
+ <key>xcode.syntax.string</key>
+ <string>0.146795 0.570824 0.525023 1</string>
+ <key>xcode.syntax.url</key>
+ <string>0.347924 0.351372 0.717917 1</string>
+ </dict>
+ <key>DVTSourceTextSyntaxFonts</key>
+ <dict>
+ <key>xcode.syntax.comment</key>
+ <string>Menlo-Italic - 12.0</string>
+ <key>xcode.syntax.comment.doc</key>
+ <string>Menlo-Italic - 12.0</string>
+ <key>xcode.syntax.comment.doc.keyword</key>
+ <string>Menlo-Italic - 12.0</string>
+ <key>xcode.syntax.plain</key>
+ <string>Menlo-Regular - 12.0</string>
+ </dict>
+</dict>
+</plist>
72 dvtcolorconvert.rb
@@ -0,0 +1,72 @@
+#!/usr/bin/env ruby
+# This script converts xccolorthemes to dtvcolorthemes for porting xcode 3.x themes to xcode 4.x
+# created by ashley towns <ashleyis@me.com>
+# Public domain.
+# ./dvtcolorconvert <inputfile>
+# spits out a .dtvcolortheme file
+
+require 'rubygems'
+require 'plist'
+raise "Error: need a source file #{__FILE__} [file.xccolortheme]" if ARGV.length == 0
+
+def alpha inc, alpha=1
+ "#{inc} #{alpha}"
+end
+def convert infile
+ hash = Plist::parse_xml infile
+ out_hash = {}
+ out_hash[:DVTSourceTextSyntaxFonts] = {}
+ out_hash[:DVTSourceTextSyntaxColors] = {}
+ hash.each do |name, node|
+ node.each do |child_name, child|
+ puts "[on] node:#{name} child:#{child_name}(#{child})"
+ if name == "Colors"
+ case child_name
+ when /Background/
+ out_hash[:DVTSourceTextBackground] = alpha child
+ out_hash[:DVTConsoleTextBackgroundColor] = alpha child
+ out_hash[:DVTSourceTextInvisiblesColor] = alpha child
+ out_hash[:DVTSourceTextBlockDimBackgroundColor] = alpha child
+ when /InsertionPoint/
+ out_hash[:DVTSourceTextInsertionPointColor] = alpha child
+ out_hash[:DVTConsoleTextInsertionPointColor] = alpha child
+ out_hash[:DVTDebuggerInsutrctionPointerColor] = alpha child
+ out_hash[:DVTConsoleDebuggerInputTextColor] = alpha child
+ out_hash[:DVTConsoleDebuggerOutputTextColor] = alpha child
+ out_hash[:DVTConsoleExectuableInputTextColor] = alpha child
+ out_hash[:DVTConsoleExecutableOutputTextColor] = alpha child
+ when /Selection/
+ out_hash[:DVTSourceTextSelectionColor] = alpha child
+ out_hash[:DVTConsoleTextSelectionColor] = alpha child
+ out_hash[:DVTDebuggerPromptTextColor] = alpha child
+ else
+ out_hash[:DVTSourceTextSyntaxColors][child_name] = alpha child
+ end
+ elsif name == "Fonts"
+ case child_name
+ when /xcode.syntax.plain/
+ child = "Inconsolata - 14pt"
+ out_hash[:DVTConsoleDebuggerInputTextFont] = child
+ out_hash[:DVTConsoleDebuggerOutputTextFont] = child
+ out_hash[:DVTConsoleDebuggerPromptTextFont] = child
+ out_hash[:DVTConsoleExecutableInputTextFont] = child
+ out_hash[:DVTConsoleExecutableOutputTextFont] = child
+ out_hash[:DVTSourceTextSyntaxFonts]['xcode.syntax.plain'] = child
+ else
+ out_hash[:DVTSourceTextSyntaxFonts][child_name] = "Inconsolata - 14pt" #child
+ end
+ else
+ raise "I don't know what #{name} is."
+ end
+ end
+ end
+ puts "Saving #{infile.gsub(/xccolortheme/,'dvtcolortheme')}"
+ fp = File.open(infile.gsub(/xccolortheme/,'dvtcolortheme'),'w')
+ fp.write out_hash.to_plist
+ fp.close
+end
+
+convert ARGV[0]
+#Dir['*.xccolortheme'].each do |file|
+# convert file
+#end
Please sign in to comment.
Something went wrong with that request. Please try again.