Skip to content

Instantly share code, notes, and snippets.

@slant
Created December 8, 2012 01:54
Show Gist options
  • Save slant/4238152 to your computer and use it in GitHub Desktop.
Save slant/4238152 to your computer and use it in GitHub Desktop.
Custom Twilight theme for JSONView
body {
white-space: pre;
font-family: monospace;
background: #1D1D1D;
color: #FFFFFF;
}
body li, body div {
border: 1px solid transparent;
}
.property {
font-weight: normal;
}
.type-null {
color: #CF6A4C;
}
.type-boolean {
color: #CF6A4C;
}
.type-number {
color: #CF6A4C;
}
.type-string, a {
color: #8F9D6A;
text-decoration: none;
}
.callback-function {
color: gray;
}
.collapser:after {
content: "-";
}
.collapsed > .collapser:after {
content: "+";
}
.ellipsis:after {
content: " … ";
}
.collapsible {
margin-left: 2em;
}
.hoverable {
padding-top: 1px;
padding-bottom: 1px;
padding-left: 2px;
padding-right: 2px;
border-radius: 2px;
}
.hovered {
background-color: rgba(45, 45, 45, 1);
border: 1px solid #A0A0A0;
}
.collapser {
padding-right: 10px;
padding-left: 6px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment