Last active
October 18, 2024 17:32
-
-
Save mate-h/2b4728c3d60cd6cdbe6e142e430259a7 to your computer and use it in GitHub Desktop.
JsonVue Custom One Pro Dark theme styles
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
: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); | |
} |
Author
mate-h
commented
Oct 18, 2024
- Install JSONVue from https://chromewebstore.google.com/detail/jsonvue/chklaanhfefbnpoihckbnefhakgolnmc
- Go to extension settings by clicking "Options"
- Click the "Open" button next to "Open the style editor" and paste this gist.
Install SF Mono ligaturized from https://github.com/kube/sf-mono-ligaturized
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment