Update and customize prism

This commit is contained in:
panr 2019-01-06 11:44:38 +01:00
parent 2ff92d6fdf
commit 4a173c6320
5 changed files with 7 additions and 8 deletions

View file

@ -8,7 +8,6 @@ https://prismjs.com/download.html#themes=prism-tomorrow&languages=markup+css+cli
code[class*="language-"],
pre[class*="language-"] {
color: #a9a9b3;
background: none;
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
text-align: left;
@ -39,6 +38,7 @@ pre[class*="language-"] {
:not(pre) > code[class*="language-"],
pre[class*="language-"] {
background: #212020 !important;
color: inherit !important;
border-radius: 8px;
}
@ -54,7 +54,7 @@ pre[class*="language-"] {
.token.prolog,
.token.doctype,
.token.cdata {
color: var(--light-color-secondary);
color: rgba(255, 255, 255, .4);
}
.token.punctuation {