Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Changed the git clone address to the current one #1

Merged
merged 1 commit into from

2 participants

@KasperTidemann

A simple change of the git clone address from [..]SASS.git to the current address.

@renestalder renestalder merged commit c8ac7a2 into whatwedo:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 19, 2012
  1. @KasperTidemann
This page is out of date. Refresh to see the latest.
Showing with 41 additions and 1 deletion.
  1. +40 −0 Commands/Insert ColorGǪ.tmCommand
  2. +1 −1  README.markdown
View
40 Commands/Insert ColorGǪ.tmCommand
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>beforeRunningCommand</key>
+ <string>nop</string>
+ <key>bundleUUID</key>
+ <string>4675F24E-6227-11D9-BFB1-000D93589AF6</string>
+ <key>command</key>
+ <string>#!/usr/bin/env ruby
+
+prefix, def_col = '#', ''
+if STDIN.read =~ /(#?)([0-9A-Fa-f]{6})/ then
+ prefix = $1
+ rgb = $2.scan(/../).map { |i| i.hex * 257 }
+ def_col = ' default color {' + rgb.join(",") + '}'
+end
+
+col = `osascript 2&gt;/dev/null -e 'tell app "TextMate" to choose color#{def_col}'`
+exit 200 if col == ""
+
+col = col.split(",").map { |i| i.to_i / 257 }
+printf '%s%02X%02X%02X', prefix, *col
+</string>
+ <key>fallbackInput</key>
+ <string>word</string>
+ <key>input</key>
+ <string>selection</string>
+ <key>keyEquivalent</key>
+ <string>@C</string>
+ <key>name</key>
+ <string>Insert Color…</string>
+ <key>output</key>
+ <string>replaceSelectedText</string>
+ <key>scope</key>
+ <string>source.sass</string>
+ <key>uuid</key>
+ <string>15DB6DEF-1236-4781-AC58-D5D7B8A76727</string>
+</dict>
+</plist>
View
2  README.markdown
@@ -19,7 +19,7 @@ INSTALLATION
1. Open terminal / git bash and browse to the Sublime Text Packages Folder (OSX: cd ~/Library/Application Support/Sublime Text 2/Packages || WIN: C:\Users\<username>\AppData\Roaming\Sublime Text 2\Packages)
-2. git clone git://github.com/WhatWeDo/SASS.git SASS
+2. git clone git://github.com/WhatWeDo/Sublime-Text-2-SASS-Package.git SASS
### Manually
Something went wrong with that request. Please try again.