Skip to content

Instantly share code, notes, and snippets.

@kyubuns
Created April 19, 2020 15:44
Show Gist options
  • Save kyubuns/41ac79a4bfe6f258c5e3f5cf392f5191 to your computer and use it in GitHub Desktop.
Save kyubuns/41ac79a4bfe6f258c5e3f5cf392f5191 to your computer and use it in GitHub Desktop.
prism.js github theme
code,
code[class*='language-'],
pre[class*='language-'] {
color: #24292e;
text-align: left;
white-space: pre;
word-spacing: normal;
tab-size: 4;
hyphens: none;
}
pre[class*='language-'] {
overflow: auto;
margin: 1em 0;
padding: 1.2em;
border-radius: 3px;
font-size: 85%;
}
pre[class*="language-"] {
padding: 1em;
margin: .5em 0;
overflow: auto;
border: 1px solid #dddddd;
background-color: white;
}
.token.selector, .token.attr-name, .token.attr-value .punctuation:first-child, .token.keyword, .token.regex, .token.important, .token.operator {
color: #d73a49;
}
.token.class-name, .token.namespace {
color: #6f42c1;
}
.token.comment, .token.prolog, .token.doctype, .token.cdata {
color: #6a737d;
}
.token.function {
color: #6f42c1;
}
.token.string, .token.atrule, .token.attr-value {
color: #032f62;
}
.token.boolean, .token.number {
color: #005cc5;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment