Skip to content

Commit f274087

Browse files
authored
Merge pull request #2 from anonyco/master
Many Fixes, Features, Performance, And Fewer Lines
2 parents 44fb045 + 7c76d95 commit f274087

File tree

2 files changed

+174
-198
lines changed

2 files changed

+174
-198
lines changed

src/json-viewer.css

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,25 @@
1515
display: none;
1616
}
1717

18-
.json-viewer ul li .type-string,
19-
.json-viewer ul li .type-date {
18+
.json-viewer .type-string {
2019
color: #0B7500;
2120
}
2221

23-
.json-viewer ul li .type-boolean {
22+
.json-viewer .type-date {
23+
color: #CB7500;
24+
}
25+
26+
.json-viewer .type-boolean {
2427
color: #1A01CC;
2528
font-weight: bold;
2629
}
2730

28-
.json-viewer ul li .type-number {
31+
.json-viewer .type-number {
2932
color: #1A01CC;
3033
}
3134

32-
.json-viewer ul li .type-null {
33-
color: red;
35+
.json-viewer .type-null, .json-viewer .type-undefined {
36+
color: #90a;
3437
}
3538

3639
.json-viewer a.list-link {

0 commit comments

Comments
 (0)