Skip to content

Instantly share code, notes, and snippets.

@mate-h
Last active February 14, 2024 06:40
Show Gist options
  • Save mate-h/2b4728c3d60cd6cdbe6e142e430259a7 to your computer and use it in GitHub Desktop.
Save mate-h/2b4728c3d60cd6cdbe6e142e430259a7 to your computer and use it in GitHub Desktop.
JsonVue Custom One Pro Dark theme styles
:root {
--gray-900: #23272E;
--gray-800: #1E2227;
--gray-100: #ABB2BF;
--red: #E06B75;
--green: #98C379;
--orange: #D19A66;
--cyan: #56B6C2;
--magenta: #C678DD;
--blue: #61AFEE;
}
body {
white-space: pre-wrap;
word-break: break-word;
font-family: 'SF Mono', monospace;
font-size: 13px;
}
.callback-function {
color: var(--gray-100);
}
.collapser::after {
content: "-";
}
.collapsed>.collapser::after {
content: "+";
}
.ellipsis::after {
content: " … ";
}
.collapsible {
margin-left: 2em;
}
.collapsible .collapsible::before {
border-width: 0;
border-left: rgba(255,255,255,0.12) .1em dashed;
content: " ";
max-width: .1em;
position: absolute;
height: calc(100% - 3.4em);
left: .4em;
top: 1.8em;
}
.hoverable {
padding: .1em;
transition: background-color .2s ease-out 0s;
}
.hovered {
background-color: rgba(255, 255, 255, 0.06);
transition-delay: .2s;
transition-duration: 70ms;
}
.collapser {
position: absolute;
top: .1em;
left: -1.4em;
cursor: default;
user-select: none;
padding-right: .5em;
padding-left: .5em;
}
.selected {
outline-style: solid;
outline-width: .1em;
outline-style: dotted;
}
body {
background-color: var(--gray-900);
color: var(--gray-100);
}
.type-null {
color: var(--orange);
}
.type-boolean {
color: var(--orange);
}
.type-number {
color: var(--orange);
}
.type-string {
color: var(--green);
}
a {
color: var(--blue);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment