mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-28 04:19:56 +00:00
903f7db0b2
split the latter half of highlight.pack.js into a separate file which registers all the languages and exports hljs. this is for nodejs compatibility and mimics the way the highlightjs module works in nodejs.
99 lines
1.7 KiB
Plaintext
99 lines
1.7 KiB
Plaintext
title: $:/plugins/tiddlywiki/highlight/styles
|
|
tags: [[$:/tags/Stylesheet]]
|
|
|
|
|
|
/* Tomorrow Night Theme */
|
|
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
|
|
/* Original theme - https://github.com/chriskempson/tomorrow-theme */
|
|
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
|
|
|
|
/* Tomorrow Comment */
|
|
.hljs-comment {
|
|
color: #969896;
|
|
}
|
|
|
|
/* Tomorrow Red */
|
|
.hljs-variable,
|
|
.hljs-attribute,
|
|
.hljs-tag,
|
|
.hljs-regexp,
|
|
.ruby .hljs-constant,
|
|
.xml .hljs-tag .hljs-title,
|
|
.xml .hljs-pi,
|
|
.xml .hljs-doctype,
|
|
.html .hljs-doctype,
|
|
.css .hljs-id,
|
|
.css .hljs-class,
|
|
.css .hljs-pseudo {
|
|
color: #cc6666;
|
|
}
|
|
|
|
/* Tomorrow Orange */
|
|
.hljs-number,
|
|
.hljs-preprocessor,
|
|
.hljs-pragma,
|
|
.hljs-built_in,
|
|
.hljs-literal,
|
|
.hljs-params,
|
|
.hljs-constant {
|
|
color: #de935f;
|
|
}
|
|
|
|
/* Tomorrow Yellow */
|
|
.ruby .hljs-class .hljs-title,
|
|
.css .hljs-rules .hljs-attribute {
|
|
color: #f0c674;
|
|
}
|
|
|
|
/* Tomorrow Green */
|
|
.hljs-string,
|
|
.hljs-value,
|
|
.hljs-inheritance,
|
|
.hljs-header,
|
|
.ruby .hljs-symbol,
|
|
.xml .hljs-cdata {
|
|
color: #b5bd68;
|
|
}
|
|
|
|
/* Tomorrow Aqua */
|
|
.hljs-title,
|
|
.css .hljs-hexcolor {
|
|
color: #8abeb7;
|
|
}
|
|
|
|
/* Tomorrow Blue */
|
|
.hljs-function,
|
|
.python .hljs-decorator,
|
|
.python .hljs-title,
|
|
.ruby .hljs-function .hljs-title,
|
|
.ruby .hljs-title .hljs-keyword,
|
|
.perl .hljs-sub,
|
|
.javascript .hljs-title,
|
|
.coffeescript .hljs-title {
|
|
color: #81a2be;
|
|
}
|
|
|
|
/* Tomorrow Purple */
|
|
.hljs-keyword,
|
|
.javascript .hljs-function {
|
|
color: #b294bb;
|
|
}
|
|
|
|
.hljs {
|
|
display: block;
|
|
overflow-x: auto;
|
|
background: #1d1f21;
|
|
color: #c5c8c6;
|
|
padding: 0.5em;
|
|
-webkit-text-size-adjust: none;
|
|
}
|
|
|
|
.coffeescript .javascript,
|
|
.javascript .xml,
|
|
.tex .hljs-formula,
|
|
.xml .javascript,
|
|
.xml .vbscript,
|
|
.xml .css,
|
|
.xml .hljs-cdata {
|
|
opacity: 0.5;
|
|
} |