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
|
|
|
|
2022-02-21 15:35:13 +00:00
|
|
|
pre.hljs {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre code.hljs {
|
2020-11-28 14:07:12 +00:00
|
|
|
padding: 0.5em;
|
2022-02-21 15:35:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.hljs {
|
2020-11-28 14:07:12 +00:00
|
|
|
background: <<colour tiddler-editor-background>>;
|
|
|
|
color: <<colour foreground>>;
|
2022-02-21 15:35:13 +00:00
|
|
|
-webkit-text-size-adjust:none;
|
2020-11-28 14:07:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-comment,
|
|
|
|
.hljs-quote {
|
|
|
|
color: #93a1a1;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Solarized Green */
|
|
|
|
.hljs-keyword,
|
|
|
|
.hljs-selector-tag,
|
|
|
|
.hljs-addition {
|
|
|
|
color: #859900;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Solarized Cyan */
|
|
|
|
.hljs-number,
|
|
|
|
.hljs-string,
|
2022-02-21 15:35:13 +00:00
|
|
|
.hljs-meta .hljs-string,
|
2020-11-28 14:07:12 +00:00
|
|
|
.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;
|
|
|
|
}
|