Skip to content

Instantly share code, notes, and snippets.

@g-a-v-i-n
Created January 24, 2020 23:06
Show Gist options
  • Save g-a-v-i-n/400b85c0c934c32c628dedcd19a8cae0 to your computer and use it in GitHub Desktop.
Save g-a-v-i-n/400b85c0c934c32c628dedcd19a8cae0 to your computer and use it in GitHub Desktop.
:root {
--dark-gray: #555555;
--gray: #7F7F7F;
--medium-gray: #CCCCCC;
--light-gray: rgba(0,0,0,0.08);
}
html, body {
padding: 0;
margin: 0;
}
* {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
monospace;
text-decoration: none;
}
.App {
width:100vw;
height:100vh;
display: flex;
justify-content: center;
padding-top: 4rem;
}
.CodeMirror {
padding: 16px;
height: 100vh !important;
max-width: 700px;
width: 700px !important;
cursor: text;
font-size: 12px;
line-height: 20px;
}
.CodeMirror-selected { background:#BAE3FE !important; }
.CodeMirror pre {
/* padding-top: 4px !important;
padding-bottom: 4px !important; */
/* height: 16px; */
}
/* .CodeMirror-line {
margin-top: 4px !important;
margin-bottom: 4px !important;
} */
.cm-s-tlon span.cm-meta { color: var(--gray); }
.cm-s-tlon span.cm-number { color: var(--gray); }
.cm-s-tlon span.cm-keyword { line-height: 1em; font-weight: bold; color: var(--gray); }
.cm-s-tlon span.cm-atom { font-weight: bold; color: var(--gray); }
.cm-s-tlon span.cm-def { color: black; }
.cm-s-tlon span.cm-variable { color: black; }
.cm-s-tlon span.cm-variable-2 { color: black; }
.cm-s-tlon span.cm-variable-3, .cm-s-tlon span.cm-type { color: black; }
.cm-s-tlon span.cm-property { color: black; }
.cm-s-tlon span.cm-operator { color: black; }
.cm-s-tlon span.cm-comment { color: black; background-color: var(--light-gray); padding:2px; border-radius: 2px;}
.cm-s-tlon span.cm-string { color: var(--dark-gray); }
.cm-s-tlon span.cm-string-2 { color: var(--gray); }
.cm-s-tlon span.cm-qualifier { color: #555; }
.cm-s-tlon span.cm-error { color: #FF0000; }
.cm-s-tlon span.cm-attribute { color: var(--gray); }
.cm-s-tlon span.cm-tag { color: var(--gray); }
.cm-s-tlon span.cm-link { color: var(--dark-gray); text-decoration: none;}
.cm-s-tlon .CodeMirror-activeline-background { background: var(--gray); }
.cm-s-tlon .CodeMirror-cursor {
border-left: 2px solid #3687FF;
}
.cm-s-tlon span.cm-builtin { color: var(--gray); }
.cm-s-tlon span.cm-bracket { color: var(--gray); }
/* .cm-s-tlon { font-family: Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;} */
.cm-s-tlon .CodeMirror-matchingbracket { outline:1px solid grey; color:black !important; }
.CodeMirror-hints.tlon {
/* font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; */
color: #616569;
background-color: #ebf3fd !important;
}
.CodeMirror-hints.tlon .CodeMirror-hint-active {
background-color: #a2b8c9 !important;
color: #5c6065 !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment