aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorsmihica <smihica@gmail.com>2013-05-18 17:56:33 +0900
committersmihica <smihica@gmail.com>2013-05-18 17:56:33 +0900
commit4713a355010ff4a51e53470c2e8c101bbdaf177b (patch)
tree0f60d5a84577cd32e71e5abdd5faee78ef50d3e0 /conf
parent64a3813fd87bfe552a28a509d44ee77b3b485a09 (diff)
downloademmet-mode-4713a355010ff4a51e53470c2e8c101bbdaf177b.tar.lz
emmet-mode-4713a355010ff4a51e53470c2e8c101bbdaf177b.tar.xz
emmet-mode-4713a355010ff4a51e53470c2e8c101bbdaf177b.zip
Some trivial improvements.
Diffstat (limited to 'conf')
-rw-r--r--conf/preferences.json11
-rw-r--r--conf/snippets.json16
2 files changed, 19 insertions, 8 deletions
diff --git a/conf/preferences.json b/conf/preferences.json
index 8c6444b..8062b9f 100644
--- a/conf/preferences.json
+++ b/conf/preferences.json
@@ -352,10 +352,21 @@
"t":"transparent"
},
"unitAliases": {
+ "-": "px",
"e": "em",
"p": "%",
"x": "ex",
"r": "rem"
+ },
+ "color": {
+ "shortenIfPossible": true,
+ "case": "auto",
+ "trailingAliases": {
+ "s": "solid",
+ "t": "dotted",
+ "n": "none",
+ "h": "hidden"
+ }
}
}
} \ No newline at end of file
diff --git a/conf/snippets.json b/conf/snippets.json
index 555a00f..4aadc00 100644
--- a/conf/snippets.json
+++ b/conf/snippets.json
@@ -181,7 +181,7 @@
"olo": "outline-offset:|;",
"olw": "outline-width:|;",
"ols": "outline-style:|;",
- "olc": "outline-color:#${1:000};",
+ "olc": "outline-color:${1:#000};",
"olc:i": "outline-color:invert;",
"bd": "border:|;",
"bd+": "border:${1:1px} ${2:solid} ${3:#000};",
@@ -191,7 +191,7 @@
"bdcl": "border-collapse:|;",
"bdcl:c": "border-collapse:collapse;",
"bdcl:s": "border-collapse:separate;",
- "bdc": "border-color:#${1:000};",
+ "bdc": "border-color:${1:#000};",
"bdc:t": "border-color:transparent;",
"bdi": "border-image:url(|);",
"bdi:n": "border-image:none;",
@@ -254,7 +254,7 @@
"bdt:n": "border-top:none;",
"bdts": "border-top-style:|;",
"bdts:n": "border-top-style:none;",
- "bdtc": "border-top-color:#${1:000};",
+ "bdtc": "border-top-color:${1:#000};",
"bdtc:t": "border-top-color:transparent;",
"bdr": "border-right:|;",
"br": "border-right:|;",
@@ -262,7 +262,7 @@
"bdr:n": "border-right:none;",
"bdrst": "border-right-style:|;",
"bdrst:n": "border-right-style:none;",
- "bdrc": "border-right-color:#${1:000};",
+ "bdrc": "border-right-color:${1:#000};",
"bdrc:t": "border-right-color:transparent;",
"bdb": "border-bottom:|;",
"bb": "border-bottom:|;",
@@ -270,7 +270,7 @@
"bdb:n": "border-bottom:none;",
"bdbs": "border-bottom-style:|;",
"bdbs:n": "border-bottom-style:none;",
- "bdbc": "border-bottom-color:#${1:000};",
+ "bdbc": "border-bottom-color:${1:#000};",
"bdbc:t": "border-bottom-color:transparent;",
"bdl": "border-left:|;",
"bl": "border-left:|;",
@@ -278,7 +278,7 @@
"bdl:n": "border-left:none;",
"bdls": "border-left-style:|;",
"bdls:n": "border-left-style:none;",
- "bdlc": "border-left-color:#${1:000};",
+ "bdlc": "border-left-color:${1:#000};",
"bdlc:t": "border-left-color:transparent;",
"bdrs": "border-radius:|;",
"bdtrrs": "border-top-right-radius:|;",
@@ -289,7 +289,7 @@
"bg+": "background:${1:#fff} url(${2}) ${3:0} ${4:0} ${5:no-repeat};",
"bg:n": "background:none;",
"bg:ie": "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='${1:x}.png',sizingMethod='${2:crop}');",
- "bgc": "background-color:#${1:fff};",
+ "bgc": "background-color:${1:#fff};",
"bgc:t": "background-color:transparent;",
"bgi": "background-image:url(|);",
"bgi:n": "background-image:none;",
@@ -322,7 +322,7 @@
"bgsz:a": "background-size:auto;",
"bgsz:ct": "background-size:contain;",
"bgsz:cv": "background-size:cover;",
- "c": "color:#${1:000};",
+ "c": "color:${1:#000};",
"c:r": "color:rgb(${1:0}, ${2:0}, ${3:0});",
"c:ra": "color:rgba(${1:0}, ${2:0}, ${3:0}, .${4:5});",
"cm": "/* |${child} */",