This commit includes the addition of a new toolbox icon in both .ico and .png formats, updating the resource file to reference the new icon. In addition, numerous highlight.js files and styles have been integrated into the project, enhancing syntax highlighting capabilities. Existing file references in 'out_embed/all.hpp' have been updated accordingly.Add new highlighting styles and GitHub CSS to project Introduced two new image styles, "brown-papersq" and "pojoaque", for highlighting. Additionally, embedded GitHub's CSS files as header files in the `saucer::embedded` namespace to enhance syntax highlighting features. These changes aim to improve the visual styling and customization options for code presentation.
114 lines
2.3 KiB
CSS
114 lines
2.3 KiB
CSS
pre code.hljs {
|
|
display: block;
|
|
overflow-x: auto;
|
|
padding: 1em
|
|
}
|
|
code.hljs {
|
|
padding: 3px 5px
|
|
}
|
|
/*!
|
|
Theme: Tokyo-night-Dark
|
|
origin: https://github.com/enkia/tokyo-night-vscode-theme
|
|
Description: Original highlight.js style
|
|
Author: (c) Henri Vandersleyen <hvandersleyen@gmail.com>
|
|
License: see project LICENSE
|
|
Touched: 2022
|
|
*/
|
|
/* Comment */
|
|
.hljs-meta,
|
|
.hljs-comment {
|
|
color: #565f89
|
|
}
|
|
/* Red */
|
|
/*INFO: This keyword, HTML elements, Regex group symbol, CSS units, Terminal Red */
|
|
.hljs-tag,
|
|
.hljs-doctag,
|
|
.hljs-selector-id,
|
|
.hljs-selector-class,
|
|
.hljs-regexp,
|
|
.hljs-template-tag,
|
|
.hljs-selector-pseudo,
|
|
.hljs-selector-attr,
|
|
.hljs-variable.language_,
|
|
.hljs-deletion {
|
|
color: #f7768e
|
|
}
|
|
/*Orange */
|
|
/*INFO: Number and Boolean constants, Language support constants */
|
|
.hljs-variable,
|
|
.hljs-template-variable,
|
|
.hljs-number,
|
|
.hljs-literal,
|
|
.hljs-type,
|
|
.hljs-params,
|
|
.hljs-link {
|
|
color: #ff9e64
|
|
}
|
|
/* Yellow */
|
|
/* INFO: Function parameters, Regex character sets, Terminal Yellow */
|
|
.hljs-built_in,
|
|
.hljs-attribute {
|
|
color: #e0af68
|
|
}
|
|
/* cyan */
|
|
/* INFO: Language support functions, CSS HTML elements */
|
|
.hljs-selector-tag {
|
|
color: #2ac3de
|
|
}
|
|
/* light blue */
|
|
/* INFO: Object properties, Regex quantifiers and flags, Markdown headings, Terminal Cyan, Markdown code, Import/export keywords */
|
|
.hljs-keyword,
|
|
.hljs-title.function_,
|
|
.hljs-title,
|
|
.hljs-title.class_,
|
|
.hljs-title.class_.inherited__,
|
|
.hljs-subst,
|
|
.hljs-property {
|
|
color: #7dcfff
|
|
}
|
|
/*Green*/
|
|
/* INFO: Object literal keys, Markdown links, Terminal Green */
|
|
.hljs-selector-tag {
|
|
color: #73daca
|
|
}
|
|
/*Green(er) */
|
|
/* INFO: Strings, CSS class names */
|
|
.hljs-quote,
|
|
.hljs-string,
|
|
.hljs-symbol,
|
|
.hljs-bullet,
|
|
.hljs-addition {
|
|
color: #9ece6a
|
|
}
|
|
/* Blue */
|
|
/* INFO: Function names, CSS property names, Terminal Blue */
|
|
.hljs-code,
|
|
.hljs-formula,
|
|
.hljs-section {
|
|
color: #7aa2f7
|
|
}
|
|
/* Magenta */
|
|
/*INFO: Control Keywords, Storage Types, Regex symbols and operators, HTML Attributes, Terminal Magenta */
|
|
.hljs-name,
|
|
.hljs-keyword,
|
|
.hljs-operator,
|
|
.hljs-keyword,
|
|
.hljs-char.escape_,
|
|
.hljs-attr {
|
|
color: #bb9af7
|
|
}
|
|
/* white*/
|
|
/* INFO: Variables, Class names, Terminal White */
|
|
.hljs-punctuation {
|
|
color: #c0caf5
|
|
}
|
|
.hljs {
|
|
background: #1a1b26;
|
|
color: #9aa5ce
|
|
}
|
|
.hljs-emphasis {
|
|
font-style: italic
|
|
}
|
|
.hljs-strong {
|
|
font-weight: bold
|
|
} |