Skip to content

Instantly share code, notes, and snippets.

@michsch
Created January 25, 2019 14:28
Show Gist options
  • Save michsch/83cee523aec0d89c344b189f05f27c1c to your computer and use it in GitHub Desktop.
Save michsch/83cee523aec0d89c344b189f05f27c1c to your computer and use it in GitHub Desktop.
JSONview Themes
body {
white-space: pre;
font-family: monospace;
}
.property {
font-weight: bold;
}
.type-null {
color: gray;
}
.type-boolean {
color: firebrick;
}
.type-number {
color: blue;
}
.type-string {
color: green;
}
.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(235, 238, 249, 1);
}
.collapser {
padding-right: 6px;
padding-left: 6px;
}
body {
font-size: 93.75%; /* 15px */
white-space: pre;
font-family: "Dank Mono", "Source Code Pro", Monaco, monospace;
color: #eee8d5; /* Base2 */
background-color: #073642; /* Base02 */
}
.property {
line-height: 1.46667; /* 22px */
font-weight: bold;
color: #b58900; /* yellow */
}
.type-null {
color: #93a1a1; /* Base1 */
}
.type-boolean {
color: #cb4b16; /* orange */
}
.type-number {
color: #268bd2; /* blue */
}
.type-string {
color: #2aa198; !important /* cyan */
}
.type-string a,
.type-string + a {
color: #6c71c4; /* violet */
}
.callback-function {
color: #93a1a1; /* Base1 */
}
.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: #002b36; /* Base03 */
}
.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