2014-01-05 09:58:01 +00:00
|
|
|
title: $:/plugins/tiddlywiki/highlight/styles
|
2014-09-10 08:13:21 +00:00
|
|
|
tags: [[$:/tags/Stylesheet]]
|
2014-01-05 09:58:01 +00:00
|
|
|
|
2020-11-28 14:07:12 +00:00
|
|
|
.hljs {
|
|
|
|
display: block;
|
|
|
|
overflow-x: auto;
|
|
|
|
padding: 0.5em;
|
|
|
|
background: <<colour tiddler-editor-background>>;
|
|
|
|
color: <<colour foreground>>;
|
|
|
|
-webkit-text-size-adjust:none
|
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-comment,
|
|
|
|
.hljs-quote {
|
|
|
|
color: #93a1a1;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Solarized Green */
|
|
|
|
.hljs-keyword,
|
|
|
|
.hljs-selector-tag,
|
|
|
|
.hljs-addition {
|
|
|
|
color: #859900;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Solarized Cyan */
|
|
|
|
.hljs-number,
|
|
|
|
.hljs-string,
|
|
|
|
.hljs-meta .hljs-meta-string,
|
|
|
|
.hljs-literal,
|
|
|
|
.hljs-doctag,
|
|
|
|
.hljs-regexp {
|
|
|
|
color: #2aa198;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Solarized Blue */
|
|
|
|
.hljs-title,
|
|
|
|
.hljs-section,
|
|
|
|
.hljs-name,
|
|
|
|
.hljs-selector-id,
|
|
|
|
.hljs-selector-class {
|
|
|
|
color: #268bd2;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Solarized Yellow */
|
|
|
|
.hljs-attribute,
|
|
|
|
.hljs-attr,
|
|
|
|
.hljs-variable,
|
|
|
|
.hljs-template-variable,
|
|
|
|
.hljs-class .hljs-title,
|
|
|
|
.hljs-type {
|
|
|
|
color: #b58900;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Solarized Orange */
|
|
|
|
.hljs-symbol,
|
|
|
|
.hljs-bullet,
|
|
|
|
.hljs-subst,
|
|
|
|
.hljs-meta,
|
|
|
|
.hljs-meta .hljs-keyword,
|
|
|
|
.hljs-selector-attr,
|
|
|
|
.hljs-selector-pseudo,
|
|
|
|
.hljs-link {
|
|
|
|
color: #cb4b16;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Solarized Red */
|
|
|
|
.hljs-built_in,
|
|
|
|
.hljs-deletion {
|
|
|
|
color: #dc322f;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-formula {
|
|
|
|
background: #eee8d5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-emphasis {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-strong {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|