mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 10:07:19 +00:00
83 lines
1.2 KiB
Plaintext
83 lines
1.2 KiB
Plaintext
|
title: $:/plugins/tiddlywiki/highlight-legacy/styles
|
||
|
tags: [[$:/tags/Stylesheet]]
|
||
|
|
||
|
.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;
|
||
|
}
|