Skip to content

Commit

Permalink
Merge branch 'master' into sm-screenshot-scheme
Browse files Browse the repository at this point in the history
# Conflicts:
#	styles/languages/json.less
  • Loading branch information
simurai committed May 23, 2015
2 parents 8c950f9 + d50b98e commit 8e8db41
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 5 deletions.
16 changes: 14 additions & 2 deletions spec/json.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,19 @@
},
{
"title": "oranges",
"count": [17500, null],
"description": {"text": "...", "sensitive": false}
"count": [17500, null, "String"],
"description": {"text": "She said, \"Hello\"", "sensitive": false}
},
{
"deeply_nested": {
"key": {
"key": {
"key": {
"array": [1, "two", null],
"string": "hello"
}
}
}
}
}
]
1 change: 1 addition & 0 deletions spec/properties.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
user=root
schedule=* * 3 * * *
retries=4
dotted.property=true
15 changes: 15 additions & 0 deletions spec/yaml.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
root:
unquoted_string: lorem ipsem
quotwed_string: "lorem ipsum"
integer: 123
float: 3.14
boolean: true
null: null
list:
- one
- two
- three
map_list:
- one: 1
- two: "two"
- three: 3.0
10 changes: 10 additions & 0 deletions styles/languages/java.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,13 @@
}
}
}

.source.java-properties {
.meta.key-pair {
color: @red;

& > .punctuation {
color: @syntax-text-color;
}
}
}
15 changes: 12 additions & 3 deletions styles/languages/json.less
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
.source.json {
.meta.structure.dictionary.json {
& > .string.quoted.json, .punctuation.string {
color: @hue-5;
& > .string.quoted.json {
& > .punctuation.string {
color: @red;
}
color: @red;
}
}

.meta.structure.dictionary.json, .meta.structure.array.json {
& > .value.json > .string.quoted.json,
& > .value.json > .string.quoted.json > .punctuation {
color: @hue-4;
color: @green;
}

& > .constant.language.json {
color: @cyan;
}
}
}

0 comments on commit 8e8db41

Please sign in to comment.