Skip to content

Commit

Permalink
update rounded-corners to use css nomenclature: border-radius, add bo…
Browse files Browse the repository at this point in the history
…x-shadow snippet
  • Loading branch information
Todd Matthews committed Jun 25, 2010
1 parent 1299dcc commit 02ca224
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 7 deletions.
18 changes: 18 additions & 0 deletions Snippets/box-shadow.tmSnippet
@@ -0,0 +1,18 @@
<?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>content</key>
<string>-webkit-box-shadow= ${1:0} ${2:0} ${3:5px} ${4:#000}
-moz-box-shadow= $1 $2 $3 $4
-box-shadow= $1 $2 $3 $4</string>
<key>name</key>
<string>box-shadow</string>
<key>scope</key>
<string>source.sass</string>
<key>tabTrigger</key>
<string>bs</string>
<key>uuid</key>
<string>650F6FA1-F849-4CB0-BA0B-BCB05D0ACD07</string>
</dict>
</plist>
4 changes: 2 additions & 2 deletions Snippets/rounded-corners-bottom.tmSnippet
Expand Up @@ -8,11 +8,11 @@
-moz-border-radius-bottomleft: $2
-webkit-border-bottom-left-radius: $2</string>
<key>name</key>
<string>rounded-corners-bottom</string>
<string>border-radius-bottom</string>
<key>scope</key>
<string>source.sass</string>
<key>tabTrigger</key>
<string>rcb</string>
<string>brb</string>
<key>uuid</key>
<string>7A11F1F1-58AA-45BF-AED9-E46C952502D5</string>
</dict>
Expand Down
4 changes: 2 additions & 2 deletions Snippets/rounded-corners-top.tmSnippet
Expand Up @@ -8,11 +8,11 @@
-moz-border-radius-topleft: $2
-webkit-border-top-left-radius: $2</string>
<key>name</key>
<string>rounded-corners-top</string>
<string>border-radius-top</string>
<key>scope</key>
<string>source.sass</string>
<key>tabTrigger</key>
<string>rct</string>
<string>brt</string>
<key>uuid</key>
<string>C6EA43C1-B7BD-4D02-903D-F1DF144D7724</string>
</dict>
Expand Down
7 changes: 4 additions & 3 deletions Snippets/rounded-corners.tmSnippet
Expand Up @@ -4,13 +4,14 @@
<dict>
<key>content</key>
<string>-moz-border-radius: ${2:.5em}
-webkit-border-radius: $2</string>
-webkit-border-radius: $2
border-radius: $2</string>
<key>name</key>
<string>rounded-corners</string>
<string>border-radius</string>
<key>scope</key>
<string>source.sass</string>
<key>tabTrigger</key>
<string>rc</string>
<string>br</string>
<key>uuid</key>
<string>D6E82599-1911-46AE-9C2B-FDEE23423430</string>
</dict>
Expand Down
1 change: 1 addition & 0 deletions info.plist
Expand Up @@ -339,6 +339,7 @@
<string>EB315E03-5E51-46CC-8B46-127718516558</string>
<string>A9BD1379-762B-43CF-8385-2053B0CCB259</string>
<string>930EA01A-1D65-4336-AAF9-8636F0510BE2</string>
<string>650F6FA1-F849-4CB0-BA0B-BCB05D0ACD07</string>
<string>5EC2643D-F008-44B5-9142-BC8962911C4C</string>
<string>98B51551-6D1B-49DF-A113-F251383B614D</string>
<string>1E72DD9B-678B-4E2F-8BF3-5B37643889F9</string>
Expand Down

0 comments on commit 02ca224

Please sign in to comment.