Skip to content

Instantly share code, notes, and snippets.

@kentliau
Last active July 6, 2019 21:31
Show Gist options
  • Save kentliau/5d763b642668943b72c3 to your computer and use it in GitHub Desktop.
Save kentliau/5d763b642668943b72c3 to your computer and use it in GitHub Desktop.
JSONView dark theme (Google Chrome Extension)
body {
white-space: pre;
font-family: 'Ubuntu Mono';
font-size: 16px;
line-height:20px;
color: white;
background-color: #2B2A27;
}
.property {
font-weight: bold;
}
.type-null {
color: rgb(255,0,0);
}
.type-boolean {
color: orange;
}
.type-number {
color: rgba(220,100,255,1);
}
.type-string {
color: rgba(100,240,100,1);
}
a {
color: rgba(0,200,255,1);
}
.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(255, 255, 255, .30);
}
.collapser {
padding-right: 6px;
padding-left: 6px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment