Skip to content

Instantly share code, notes, and snippets.

@nathankleyn
Forked from iansym/jsonview-solarized.css
Last active September 25, 2017 18:08
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save nathankleyn/6682764 to your computer and use it in GitHub Desktop.
Save nathankleyn/6682764 to your computer and use it in GitHub Desktop.
A Solarized light version of the JSON View stylesheet by @iansym.
body {
background-color: #fdf6e3;
color: #657b83;
font-size: 16px;
white-space: pre;
font-family: "Source Code Pro", monospace;
}
.property {
font-weight: bold;
}
.type-null {
color: #2aa198;
}
.type-boolean {
color: #b58900;
}
.type-number {
color: #d33682;
}
.type-string {
color: #2aa198;
}
a {
color: #268bd2;
}
.callback-function {
color: #cb4b16;
}
.collapser:after {
content: "-";
color: #93a1a1;
font-weight: bold;
}
.collapsed > .collapser:after {
content: "+";
color: #93a1a1;
font-weight: bold;
}
.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: #eee8d5;
}
.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