add theme pure
@ -117,4 +117,5 @@ QString MainConfig::getVersion(const QJsonObject &p_jobj)
|
|||||||
void MainConfig::doVersionSpecificOverride()
|
void MainConfig::doVersionSpecificOverride()
|
||||||
{
|
{
|
||||||
// In a new version, we may want to change one value by force.
|
// In a new version, we may want to change one value by force.
|
||||||
|
m_coreConfig->setTheme(QStringLiteral("pure"));
|
||||||
}
|
}
|
||||||
|
@ -282,5 +282,4 @@ void SessionConfig::doVersionSpecificOverride()
|
|||||||
{
|
{
|
||||||
// In a new version, we may want to change one value by force.
|
// In a new version, we may want to change one value by force.
|
||||||
// SHOULD set the in memory variable only, or will override the notebook list.
|
// SHOULD set the in memory variable only, or will override the notebook list.
|
||||||
m_systemTitleBarEnabled = true;
|
|
||||||
}
|
}
|
||||||
|
@ -91,7 +91,7 @@ void ThemeMgr::loadCurrentTheme(const QString &p_themeName)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!m_currentTheme) {
|
if (!m_currentTheme) {
|
||||||
const QString defaultTheme("native");
|
const QString defaultTheme("pure");
|
||||||
qWarning() << "fall back to default theme" << defaultTheme;
|
qWarning() << "fall back to default theme" << defaultTheme;
|
||||||
m_currentTheme.reset(loadTheme(findThemeFolder(defaultTheme)));
|
m_currentTheme.reset(loadTheme(findThemeFolder(defaultTheme)));
|
||||||
}
|
}
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
"version" : "3.0.0-beta.5"
|
"version" : "3.0.0-beta.5"
|
||||||
},
|
},
|
||||||
"core" : {
|
"core" : {
|
||||||
"theme" : "moonlight",
|
"theme" : "pure",
|
||||||
"locale" : "",
|
"locale" : "",
|
||||||
"shortcuts" : {
|
"shortcuts" : {
|
||||||
"FullScreen" : "F11",
|
"FullScreen" : "F11",
|
||||||
|
@ -104,6 +104,38 @@
|
|||||||
<file>themes/moonlight/up.svg</file>
|
<file>themes/moonlight/up.svg</file>
|
||||||
<file>themes/moonlight/up_disabled.svg</file>
|
<file>themes/moonlight/up_disabled.svg</file>
|
||||||
<file>themes/moonlight/web.css</file>
|
<file>themes/moonlight/web.css</file>
|
||||||
|
<file>themes/pure/arrow_dropdown.svg</file>
|
||||||
|
<file>themes/pure/arrow_dropdown_disabled.svg</file>
|
||||||
|
<file>themes/pure/branch_closed.svg</file>
|
||||||
|
<file>themes/pure/branch_open.svg</file>
|
||||||
|
<file>themes/pure/checkbox_checked.svg</file>
|
||||||
|
<file>themes/pure/checkbox_checked_disabled.svg</file>
|
||||||
|
<file>themes/pure/checkbox_unchecked.svg</file>
|
||||||
|
<file>themes/pure/checkbox_unchecked_disabled.svg</file>
|
||||||
|
<file>themes/pure/close.svg</file>
|
||||||
|
<file>themes/pure/close_grey.svg</file>
|
||||||
|
<file>themes/pure/cover.png</file>
|
||||||
|
<file>themes/pure/down.svg</file>
|
||||||
|
<file>themes/pure/down_disabled.svg</file>
|
||||||
|
<file>themes/pure/float.svg</file>
|
||||||
|
<file>themes/pure/highlight.css</file>
|
||||||
|
<file>themes/pure/interface.qss</file>
|
||||||
|
<file>themes/pure/left.svg</file>
|
||||||
|
<file>themes/pure/left_disabled.svg</file>
|
||||||
|
<file>themes/pure/menu_checkbox.svg</file>
|
||||||
|
<file>themes/pure/menu_radiobutton.svg</file>
|
||||||
|
<file>themes/pure/palette.json</file>
|
||||||
|
<file>themes/pure/radiobutton_checked.svg</file>
|
||||||
|
<file>themes/pure/radiobutton_checked_disabled.svg</file>
|
||||||
|
<file>themes/pure/radiobutton_unchecked.svg</file>
|
||||||
|
<file>themes/pure/radiobutton_unchecked_disabled.svg</file>
|
||||||
|
<file>themes/pure/right.svg</file>
|
||||||
|
<file>themes/pure/right_disabled.svg</file>
|
||||||
|
<file>themes/pure/sizegrip.svg</file>
|
||||||
|
<file>themes/pure/text-editor.theme</file>
|
||||||
|
<file>themes/pure/up.svg</file>
|
||||||
|
<file>themes/pure/up_disabled.svg</file>
|
||||||
|
<file>themes/pure/web.css</file>
|
||||||
<file>syntax-highlighting/themes/markdown-default.theme</file>
|
<file>syntax-highlighting/themes/markdown-default.theme</file>
|
||||||
<file>syntax-highlighting/themes/markdown-breeze-dark.theme</file>
|
<file>syntax-highlighting/themes/markdown-breeze-dark.theme</file>
|
||||||
<file>syntax-highlighting/themes/default.theme</file>
|
<file>syntax-highlighting/themes/default.theme</file>
|
||||||
|
@ -213,7 +213,6 @@ div.code-toolbar > .toolbar span {
|
|||||||
color: #bbb;
|
color: #bbb;
|
||||||
font-size: .8em;
|
font-size: .8em;
|
||||||
padding: 0 .5em;
|
padding: 0 .5em;
|
||||||
background: #f5f2f0;
|
|
||||||
background: rgba(224, 224, 224, 0.2);
|
background: rgba(224, 224, 224, 0.2);
|
||||||
box-shadow: 0 2px 0 0 rgba(0,0,0,0.2);
|
box-shadow: 0 2px 0 0 rgba(0,0,0,0.2);
|
||||||
border-radius: .5em;
|
border-radius: .5em;
|
||||||
|
@ -231,7 +231,6 @@ div.code-toolbar > .toolbar span {
|
|||||||
color: #bbb;
|
color: #bbb;
|
||||||
font-size: .8em;
|
font-size: .8em;
|
||||||
padding: 0 .5em;
|
padding: 0 .5em;
|
||||||
background: #f5f2f0;
|
|
||||||
background: rgba(224, 224, 224, 0.2);
|
background: rgba(224, 224, 224, 0.2);
|
||||||
box-shadow: 0 2px 0 0 rgba(0,0,0,0.2);
|
box-shadow: 0 2px 0 0 rgba(0,0,0,0.2);
|
||||||
border-radius: .5em;
|
border-radius: .5em;
|
||||||
|
9
src/data/extra/themes/pure/arrow_dropdown.svg
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Generator: Adobe Illustrator 16.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||||
|
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||||
|
width="512px" height="512px" viewBox="0 0 512 512" enable-background="new 0 0 512 512" xml:space="preserve">
|
||||||
|
<g>
|
||||||
|
<polygon fill="#222222" points="128,192 256,320 384,192 "/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 548 B |
9
src/data/extra/themes/pure/arrow_dropdown_disabled.svg
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Generator: Adobe Illustrator 16.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||||
|
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||||
|
width="512px" height="512px" viewBox="0 0 512 512" enable-background="new 0 0 512 512" xml:space="preserve">
|
||||||
|
<g>
|
||||||
|
<polygon fill="#b0b0b0" points="128,192 256,320 384,192 "/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 548 B |
8
src/data/extra/themes/pure/branch_closed.svg
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
|
||||||
|
<g>
|
||||||
|
<title>Layer 1</title>
|
||||||
|
<g transform="rotate(-90 256.00000000000006,256) " id="svg_1">
|
||||||
|
<polygon fill="#222222" id="svg_2" points="128,192 256,320 384,192 "/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 295 B |
8
src/data/extra/themes/pure/branch_open.svg
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
|
||||||
|
<g>
|
||||||
|
<title>Layer 1</title>
|
||||||
|
<g id="svg_1">
|
||||||
|
<polygon fill="#222222" id="svg_2" points="128,192 256,320 384,192 "/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 247 B |
7
src/data/extra/themes/pure/checkbox_checked.svg
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
|
||||||
|
<g>
|
||||||
|
<title>Layer 1</title>
|
||||||
|
<rect id="svg_6" fill-opacity="0" height="299" width="299" y="106.5" x="106.5" stroke-linecap="null" stroke-linejoin="null" stroke-dasharray="null" stroke-width="30" stroke="#222222" fill="#000000"/>
|
||||||
|
<path stroke-opacity="0" id="svg_3" d="m126,243.24589l27.93756,-27.94743l76.53449,76.52461l127.58052,-127.54102l27.94743,27.92768l-155.52795,155.50821" stroke-width="5" fill="#222222" stroke="#000000"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 555 B |
7
src/data/extra/themes/pure/checkbox_checked_disabled.svg
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
|
||||||
|
<g>
|
||||||
|
<title>Layer 1</title>
|
||||||
|
<rect id="svg_6" fill-opacity="0" height="299" width="299" y="106.5" x="106.5" stroke-linecap="null" stroke-linejoin="null" stroke-dasharray="null" stroke-width="30" stroke="#b0b0b0" fill="#000000"/>
|
||||||
|
<path stroke-opacity="0" id="svg_3" d="m126,243.24589l27.93756,-27.94743l76.53449,76.52461l127.58052,-127.54102l27.94743,27.92768l-155.52795,155.50821" stroke-width="5" fill="#b0b0b0" stroke="#000000"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 555 B |
6
src/data/extra/themes/pure/checkbox_unchecked.svg
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
|
||||||
|
<g>
|
||||||
|
<title>Layer 1</title>
|
||||||
|
<rect id="svg_6" fill-opacity="0" height="299" width="299" y="106.5" x="106.5" stroke-linecap="null" stroke-linejoin="null" stroke-dasharray="null" stroke-width="30" stroke="#222222" fill="#000000"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 350 B |
@ -0,0 +1,6 @@
|
|||||||
|
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
|
||||||
|
<g>
|
||||||
|
<title>Layer 1</title>
|
||||||
|
<rect id="svg_6" fill-opacity="0" height="299" width="299" y="106.5" x="106.5" stroke-linecap="null" stroke-linejoin="null" stroke-dasharray="null" stroke-width="30" stroke="#b0b0b0" fill="#000000"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 350 B |
10
src/data/extra/themes/pure/close.svg
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Generator: Adobe Illustrator 16.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||||
|
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||||
|
width="512px" height="512px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
|
||||||
|
<path style="fill:#222222" d="M443.6,387.1L312.4,255.4l131.5-130c5.4-5.4,5.4-14.2,0-19.6l-37.4-37.6c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4
|
||||||
|
L256,197.8L124.9,68.3c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4L68,105.9c-5.4,5.4-5.4,14.2,0,19.6l131.5,130L68.4,387.1
|
||||||
|
c-2.6,2.6-4.1,6.1-4.1,9.8c0,3.7,1.4,7.2,4.1,9.8l37.4,37.6c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1L256,313.1l130.7,131.1
|
||||||
|
c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1l37.4-37.6c2.6-2.6,4.1-6.1,4.1-9.8C447.7,393.2,446.2,389.7,443.6,387.1z"/>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 995 B |
10
src/data/extra/themes/pure/close_grey.svg
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Generator: Adobe Illustrator 16.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||||
|
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||||
|
width="512px" height="512px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
|
||||||
|
<path style="fill:#9E9E9E" d="M443.6,387.1L312.4,255.4l131.5-130c5.4-5.4,5.4-14.2,0-19.6l-37.4-37.6c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4
|
||||||
|
L256,197.8L124.9,68.3c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4L68,105.9c-5.4,5.4-5.4,14.2,0,19.6l131.5,130L68.4,387.1
|
||||||
|
c-2.6,2.6-4.1,6.1-4.1,9.8c0,3.7,1.4,7.2,4.1,9.8l37.4,37.6c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1L256,313.1l130.7,131.1
|
||||||
|
c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1l37.4-37.6c2.6-2.6,4.1-6.1,4.1-9.8C447.7,393.2,446.2,389.7,443.6,387.1z"/>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 995 B |
BIN
src/data/extra/themes/pure/cover.png
Normal file
After Width: | Height: | Size: 81 KiB |
8
src/data/extra/themes/pure/down.svg
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
|
||||||
|
<g>
|
||||||
|
<title>Layer 1</title>
|
||||||
|
<g transform="null" id="svg_1">
|
||||||
|
<polygon points="128,192 256,320 384,192 " id="svg_2" fill="#222222"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 264 B |
8
src/data/extra/themes/pure/down_disabled.svg
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
|
||||||
|
<g>
|
||||||
|
<title>Layer 1</title>
|
||||||
|
<g transform="null" id="svg_1">
|
||||||
|
<polygon points="128,192 256,320 384,192 " id="svg_2" fill="#b0b0b0"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 264 B |
1
src/data/extra/themes/pure/float.svg
Normal file
@ -0,0 +1 @@
|
|||||||
|
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1609212036301" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2311" width="512" height="512" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><style type="text/css"></style></defs><path d="M37.415385 689.230769V177.230769c0-76.8 61.046154-137.846154 137.846153-137.846154h512c76.8 0 137.846154 61.046154 137.846154 137.846154v59.076923h-118.153846V177.230769c0-11.815385-7.876923-19.692308-19.692308-19.692307h-512c-11.815385 0-19.692308 7.876923-19.692307 19.692307v512c0 11.815385 7.876923 19.692308 19.692307 19.692308h59.076924v118.153846h-59.076924c-76.8 0-137.846154-61.046154-137.846153-137.846154z m866.461538-374.153846h-512c-43.323077 0-78.769231 35.446154-78.769231 78.769231v512c0 43.323077 35.446154 78.769231 78.769231 78.769231h512c43.323077 0 78.769231-35.446154 78.769231-78.769231V393.846154c0-43.323077-35.446154-78.769231-78.769231-78.769231z m-78.769231 496.246154c0 9.846154-5.907692 15.753846-17.723077 15.753846H578.953846c-9.846154 0-19.692308-9.846154-19.692308-17.723077v-35.446154c0-9.846154 9.846154-19.692308 19.692308-19.692307h94.523077c11.815385 0 15.753846-11.815385 9.846154-19.692308L478.523077 529.723077c-7.876923-5.907692-7.876923-17.723077 0-25.6l25.6-23.630769c5.907692-7.876923 17.723077-7.876923 23.630769 0l204.8 204.8c7.876923 7.876923 19.692308 1.969231 19.692308-9.846154v-94.523077c0-11.815385 11.815385-19.692308 21.661538-19.692308h35.446154c9.846154 0 15.753846 9.846154 15.753846 19.692308v230.4z" p-id="2312" fill="#222222"></path></svg>
|
After Width: | Height: | Size: 1.6 KiB |
245
src/data/extra/themes/pure/highlight.css
Normal file
@ -0,0 +1,245 @@
|
|||||||
|
/* PrismJS 1.21.0
|
||||||
|
https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+abap+abnf+actionscript+ada+agda+al+antlr4+apacheconf+apl+applescript+aql+arduino+arff+asciidoc+aspnet+asm6502+autohotkey+autoit+bash+basic+batch+bbcode+bison+bnf+brainfuck+brightscript+bro+bsl+c+csharp+cpp+cil+clojure+cmake+coffeescript+concurnas+csp+crystal+css-extras+cypher+d+dart+dax+dhall+diff+django+dns-zone-file+docker+ebnf+editorconfig+eiffel+ejs+elixir+elm+etlua+erb+erlang+excel-formula+fsharp+factor+firestore-security-rules+flow+fortran+ftl+gml+gcode+gdscript+gedcom+gherkin+git+glsl+go+graphql+groovy+haml+handlebars+haskell+haxe+hcl+hlsl+http+hpkp+hsts+ichigojam+icon+ignore+inform7+ini+io+j+java+javadoc+javadoclike+javastacktrace+jolie+jq+jsdoc+js-extras+json+json5+jsonp+jsstacktrace+js-templates+julia+keyman+kotlin+latex+latte+less+lilypond+liquid+lisp+livescript+llvm+lolcode+lua+makefile+markdown+markup-templating+matlab+mel+mizar+mongodb+monkey+moonscript+n1ql+n4js+nand2tetris-hdl+naniscript+nasm+neon+nginx+nim+nix+nsis+objectivec+ocaml+opencl+oz+parigp+parser+pascal+pascaligo+pcaxis+peoplecode+perl+php+phpdoc+php-extras+plsql+powerquery+powershell+processing+prolog+properties+protobuf+pug+puppet+pure+purebasic+python+q+qml+qore+r+racket+jsx+tsx+reason+regex+renpy+rest+rip+roboconf+robotframework+ruby+rust+sas+sass+scss+scala+scheme+shell-session+smali+smalltalk+smarty+solidity+solution-file+soy+sparql+splunk-spl+sqf+sql+stan+iecst+stylus+swift+t4-templating+t4-cs+t4-vb+tap+tcl+tt2+textile+toml+turtle+twig+typescript+typoscript+unrealscript+vala+vbnet+velocity+verilog+vhdl+vim+visual-basic+warpscript+wasm+wiki+xeora+xml-doc+xojo+xquery+yaml+yang+zig&plugins=line-numbers+toolbar+copy-to-clipboard+filter-highlight-all */
|
||||||
|
/**
|
||||||
|
* prism.js default theme for JavaScript, CSS and HTML
|
||||||
|
* Based on dabblet (http://dabblet.com)
|
||||||
|
* @author Lea Verou
|
||||||
|
*/
|
||||||
|
|
||||||
|
code[class*="language-"],
|
||||||
|
pre[class*="language-"] {
|
||||||
|
color: black;
|
||||||
|
background: none;
|
||||||
|
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
||||||
|
font-size: 1em;
|
||||||
|
text-align: left;
|
||||||
|
white-space: pre;
|
||||||
|
word-spacing: normal;
|
||||||
|
word-break: normal;
|
||||||
|
word-wrap: normal;
|
||||||
|
line-height: 1.5;
|
||||||
|
|
||||||
|
-moz-tab-size: 4;
|
||||||
|
-o-tab-size: 4;
|
||||||
|
tab-size: 4;
|
||||||
|
|
||||||
|
-webkit-hyphens: none;
|
||||||
|
-moz-hyphens: none;
|
||||||
|
-ms-hyphens: none;
|
||||||
|
hyphens: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
|
||||||
|
code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
|
||||||
|
text-shadow: none;
|
||||||
|
background: #b3d4fc;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
|
||||||
|
code[class*="language-"]::selection, code[class*="language-"] ::selection {
|
||||||
|
text-shadow: none;
|
||||||
|
background: #b3d4fc;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media print {
|
||||||
|
code[class*="language-"],
|
||||||
|
pre[class*="language-"] {
|
||||||
|
text-shadow: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Code blocks */
|
||||||
|
pre[class*="language-"] {
|
||||||
|
padding: 1em;
|
||||||
|
margin: .5em 0;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
:not(pre) > code[class*="language-"],
|
||||||
|
pre[class*="language-"] {
|
||||||
|
background: #ede8e4;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Inline code */
|
||||||
|
:not(pre) > code[class*="language-"] {
|
||||||
|
padding: .1em;
|
||||||
|
border-radius: .3em;
|
||||||
|
white-space: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.comment,
|
||||||
|
.token.prolog,
|
||||||
|
.token.doctype,
|
||||||
|
.token.cdata {
|
||||||
|
color: slategray;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.punctuation {
|
||||||
|
color: #999;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.namespace {
|
||||||
|
opacity: .7;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.property,
|
||||||
|
.token.tag,
|
||||||
|
.token.boolean,
|
||||||
|
.token.number,
|
||||||
|
.token.constant,
|
||||||
|
.token.symbol,
|
||||||
|
.token.deleted {
|
||||||
|
color: #905;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.selector,
|
||||||
|
.token.attr-name,
|
||||||
|
.token.string,
|
||||||
|
.token.char,
|
||||||
|
.token.builtin,
|
||||||
|
.token.inserted {
|
||||||
|
color: #690;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.operator,
|
||||||
|
.token.entity,
|
||||||
|
.token.url,
|
||||||
|
.language-css .token.string,
|
||||||
|
.style .token.string {
|
||||||
|
color: #9a6e3a;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.atrule,
|
||||||
|
.token.attr-value,
|
||||||
|
.token.keyword {
|
||||||
|
color: #07a;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.function,
|
||||||
|
.token.class-name {
|
||||||
|
color: #DD4A68;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.regex,
|
||||||
|
.token.important,
|
||||||
|
.token.variable {
|
||||||
|
color: #e90;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.important,
|
||||||
|
.token.bold {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.token.italic {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.entity {
|
||||||
|
cursor: help;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre[class*="language-"].line-numbers {
|
||||||
|
position: relative;
|
||||||
|
padding-left: 3.8em;
|
||||||
|
counter-reset: linenumber;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre[class*="language-"].line-numbers > code {
|
||||||
|
position: relative;
|
||||||
|
white-space: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.line-numbers .line-numbers-rows {
|
||||||
|
position: absolute;
|
||||||
|
pointer-events: none;
|
||||||
|
top: 0;
|
||||||
|
font-size: 100%;
|
||||||
|
left: -3.8em;
|
||||||
|
width: 3em; /* works for line-numbers below 1000 lines */
|
||||||
|
letter-spacing: -1px;
|
||||||
|
border-right: 1px solid #999;
|
||||||
|
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.line-numbers-rows > span {
|
||||||
|
display: block;
|
||||||
|
counter-increment: linenumber;
|
||||||
|
}
|
||||||
|
|
||||||
|
.line-numbers-rows > span:before {
|
||||||
|
content: counter(linenumber);
|
||||||
|
color: #999;
|
||||||
|
display: block;
|
||||||
|
padding-right: 0.8em;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.code-toolbar {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.code-toolbar > .toolbar {
|
||||||
|
position: absolute;
|
||||||
|
top: .3em;
|
||||||
|
right: .2em;
|
||||||
|
transition: opacity 0.3s ease-in-out;
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.code-toolbar:hover > .toolbar {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Separate line b/c rules are thrown out if selector is invalid.
|
||||||
|
IE11 and old Edge versions don't support :focus-within. */
|
||||||
|
div.code-toolbar:focus-within > .toolbar {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.code-toolbar > .toolbar .toolbar-item {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.code-toolbar > .toolbar a {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.code-toolbar > .toolbar button {
|
||||||
|
background: none;
|
||||||
|
border: 0;
|
||||||
|
color: inherit;
|
||||||
|
font: inherit;
|
||||||
|
line-height: normal;
|
||||||
|
overflow: visible;
|
||||||
|
padding: 0;
|
||||||
|
-webkit-user-select: none; /* for button */
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.code-toolbar > .toolbar a,
|
||||||
|
div.code-toolbar > .toolbar button,
|
||||||
|
div.code-toolbar > .toolbar span {
|
||||||
|
color: #bbb;
|
||||||
|
font-size: .8em;
|
||||||
|
padding: 0 .5em;
|
||||||
|
background: rgba(224, 224, 224, 0.2);
|
||||||
|
box-shadow: 0 2px 0 0 rgba(0,0,0,0.2);
|
||||||
|
border-radius: .5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.code-toolbar > .toolbar a:hover,
|
||||||
|
div.code-toolbar > .toolbar a:focus,
|
||||||
|
div.code-toolbar > .toolbar button:hover,
|
||||||
|
div.code-toolbar > .toolbar button:focus,
|
||||||
|
div.code-toolbar > .toolbar span:hover,
|
||||||
|
div.code-toolbar > .toolbar span:focus {
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
1096
src/data/extra/themes/pure/interface.qss
Normal file
8
src/data/extra/themes/pure/left.svg
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
|
||||||
|
<g>
|
||||||
|
<title>Layer 1</title>
|
||||||
|
<g transform="rotate(90 255.99999999999997,256.00000000000006) " id="svg_1">
|
||||||
|
<polygon points="128,192 256,320 384,192 " id="svg_2" fill="#222222"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 309 B |
8
src/data/extra/themes/pure/left_disabled.svg
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
|
||||||
|
<g>
|
||||||
|
<title>Layer 1</title>
|
||||||
|
<g transform="rotate(90 255.99999999999997,256.00000000000006) " id="svg_1">
|
||||||
|
<polygon points="128,192 256,320 384,192 " id="svg_2" fill="#b0b0b0"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 309 B |
6
src/data/extra/themes/pure/menu_checkbox.svg
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
|
||||||
|
<g>
|
||||||
|
<title>Layer 1</title>
|
||||||
|
<path stroke-opacity="0" id="svg_3" d="m126,243.24589l27.93756,-27.94743l76.53449,76.52461l127.58052,-127.54102l27.94743,27.92768l-155.52795,155.50821" stroke-width="5" fill="#222222" stroke="#000000"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 353 B |
6
src/data/extra/themes/pure/menu_radiobutton.svg
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
|
||||||
|
<g>
|
||||||
|
<title>Layer 1</title>
|
||||||
|
<circle fill="#222222" stroke="#000000" stroke-width="20" stroke-dasharray="null" stroke-linejoin="null" stroke-linecap="null" stroke-opacity="0" cx="257.00002" cy="256" r="83.2406" id="svg_11"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 346 B |
597
src/data/extra/themes/pure/palette.json
Normal file
@ -0,0 +1,597 @@
|
|||||||
|
{
|
||||||
|
"metadata" : {
|
||||||
|
"revision" : 0,
|
||||||
|
"//comment" : "If there is a file named 'editor-highlight.theme' under theme folder, this value will be ignored.",
|
||||||
|
"//comment" : "Otherwise, this value specify the theme name to use for syntax highlighting.",
|
||||||
|
"editor-highlight-theme" : "Default",
|
||||||
|
"//comment" : "If there is a file named 'markdown-editor-highlight.theme' under theme folder, this value will be ignored.",
|
||||||
|
"//comment" : "Otherwise, this value specify the theme name to use for syntax highlighting.",
|
||||||
|
"//comment" : "If empty, 'editor-highlight-theme' will be used.",
|
||||||
|
"markdown-editor-highlight-theme" : "Markdown Default",
|
||||||
|
"display_name" : "Pure",
|
||||||
|
"//comment" : "Display name for different locales",
|
||||||
|
"display_name_zh_CN" : "纯净"
|
||||||
|
},
|
||||||
|
"palette" : {
|
||||||
|
"bg3_1" : "#c0c0c0",
|
||||||
|
"bg3_2" : "#cdcdcd",
|
||||||
|
"bg3_3" : "#d2d2d2",
|
||||||
|
"bg3_4" : "#dadada",
|
||||||
|
"bg3_41" : "#e0e0e0",
|
||||||
|
"bg3_5" : "#eaeaea",
|
||||||
|
"bg3_6" : "#f1f1f1",
|
||||||
|
"fg3_5" : "#222222",
|
||||||
|
"fg3_6" : "#646464",
|
||||||
|
"fg3_7" : "#7a7a7a",
|
||||||
|
"fg3_8" : "#9e9e9e",
|
||||||
|
"fg3_9" : "#b0b0b0",
|
||||||
|
"fg3_10" : "#d0d0d0",
|
||||||
|
"bg2_4" : "#007b6e",
|
||||||
|
"bg2_5" : "#00897b",
|
||||||
|
"bg2_6" : "#199488",
|
||||||
|
"bg2_7" : "#e5f3f1",
|
||||||
|
"fg10" : "#b71c1c",
|
||||||
|
"fg11" : "#ab5683",
|
||||||
|
"fg12" : "#283593",
|
||||||
|
"fg13" : "#b42b1f",
|
||||||
|
"fg15_3" : "#b0b0b0",
|
||||||
|
"fg15_4" : "#7a7a7a",
|
||||||
|
"fg15_5" : "#222222",
|
||||||
|
"bg11" : "#6dafff"
|
||||||
|
},
|
||||||
|
"base" : {
|
||||||
|
"normal" : {
|
||||||
|
"fg" : "@palette#fg3_5",
|
||||||
|
"bg" : "@palette#bg3_5",
|
||||||
|
"border" : "@palette#fg3_10"
|
||||||
|
},
|
||||||
|
"master" : {
|
||||||
|
"fg" : "@palette#bg3_6",
|
||||||
|
"bg" : "@palette#bg2_5",
|
||||||
|
"alt" : "@palette#bg2_6"
|
||||||
|
},
|
||||||
|
"header" : {
|
||||||
|
"fg" : "@base#normal#fg",
|
||||||
|
"bg" : "@base#normal#bg"
|
||||||
|
},
|
||||||
|
"footer" : {
|
||||||
|
"fg" : "@base#normal#fg",
|
||||||
|
"bg" : "@base#normal#bg"
|
||||||
|
},
|
||||||
|
"title" : {
|
||||||
|
"fg" : "@base#normal#fg",
|
||||||
|
"bg" : "@palette#bg3_41"
|
||||||
|
},
|
||||||
|
"content" : {
|
||||||
|
"fg" : "@palette#fg3_5",
|
||||||
|
"bg" : "@palette#bg3_6",
|
||||||
|
"border" : "@base#normal#border",
|
||||||
|
"disabled" : {
|
||||||
|
"fg" : "@base#disabled#fg",
|
||||||
|
"bg" : "@base#content#bg"
|
||||||
|
},
|
||||||
|
"pressed" : {
|
||||||
|
"fg" : "@base#pressed#fg",
|
||||||
|
"bg" : "@base#pressed#bg"
|
||||||
|
},
|
||||||
|
"focus" : {
|
||||||
|
"fg" : "@base#content#fg",
|
||||||
|
"bg" : "@base#focus#bg",
|
||||||
|
"border" : "@base#master#bg"
|
||||||
|
},
|
||||||
|
"hover" : {
|
||||||
|
"fg" : "@base#content#fg",
|
||||||
|
"bg" : "@base#hover#bg",
|
||||||
|
"border" : "@base#master#bg"
|
||||||
|
},
|
||||||
|
"selection" : {
|
||||||
|
"fg" : "@palette#fg3_5",
|
||||||
|
"bg" : "@palette#bg11"
|
||||||
|
},
|
||||||
|
"selected" : {
|
||||||
|
"fg" : "@base#content#fg",
|
||||||
|
"bg" : "@base#selected#bg",
|
||||||
|
"active" : {
|
||||||
|
"fg" : "@base#content#selected#fg",
|
||||||
|
"bg" : "@base#content#selected#bg"
|
||||||
|
},
|
||||||
|
"inactive" : {
|
||||||
|
"fg" : "@base#content#selected#fg",
|
||||||
|
"bg" : "@base#content#hover#bg"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"edit" : {
|
||||||
|
"focus" : {
|
||||||
|
"fg" : "@base#content#fg",
|
||||||
|
"bg" : "@base#content#bg",
|
||||||
|
"border" : "@base#master#bg"
|
||||||
|
},
|
||||||
|
"hover" : {
|
||||||
|
"fg" : "@base#content#fg",
|
||||||
|
"bg" : "@palette#bg2_7",
|
||||||
|
"border" : "@base#master#bg"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"error" : {
|
||||||
|
"fg" : "@palette#fg10"
|
||||||
|
},
|
||||||
|
"warning" : {
|
||||||
|
"fg" : "@palette#fg11"
|
||||||
|
},
|
||||||
|
"info" : {
|
||||||
|
"fg" : "@palette#fg12"
|
||||||
|
},
|
||||||
|
"danger" : {
|
||||||
|
"fg": "@base#normal#bg",
|
||||||
|
"bg": "@palette#fg13"
|
||||||
|
},
|
||||||
|
"disabled" : {
|
||||||
|
"fg" : "@palette#fg3_8",
|
||||||
|
"bg" : "@base#normal#bg"
|
||||||
|
},
|
||||||
|
"pressed" : {
|
||||||
|
"fg" : "@palette#fg3_5",
|
||||||
|
"bg" : "@palette#bg3_1"
|
||||||
|
},
|
||||||
|
"focus" : {
|
||||||
|
"fg" : "@palette#fg3_5",
|
||||||
|
"bg" : "@palette#bg3_2"
|
||||||
|
},
|
||||||
|
"hover" : {
|
||||||
|
"fg" : "@palette#fg3_5",
|
||||||
|
"bg" : "@palette#bg3_4"
|
||||||
|
},
|
||||||
|
"selected" : {
|
||||||
|
"fg" : "@palette#fg3_5",
|
||||||
|
"bg" : "@palette#bg3_3"
|
||||||
|
},
|
||||||
|
"icon" : {
|
||||||
|
"fg" : "@palette#fg15_5",
|
||||||
|
"inactive" : {
|
||||||
|
"fg" : "@palette#fg15_4"
|
||||||
|
},
|
||||||
|
"disabled" : {
|
||||||
|
"fg" : "@palette#fg15_3"
|
||||||
|
},
|
||||||
|
"warning" : {
|
||||||
|
"fg" : "@base#warning#fg"
|
||||||
|
},
|
||||||
|
"danger" : {
|
||||||
|
"fg": "@base#danger#fg"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"widgets" : {
|
||||||
|
"separator" : {
|
||||||
|
"bg" : "@base#normal#border"
|
||||||
|
},
|
||||||
|
"qwidget" : {
|
||||||
|
"fg" : "@base#normal#fg",
|
||||||
|
"bg" : "@base#normal#bg",
|
||||||
|
"info" : {
|
||||||
|
"border" : "@base#info#fg"
|
||||||
|
},
|
||||||
|
"warning" : {
|
||||||
|
"border" : "@base#warning#fg"
|
||||||
|
},
|
||||||
|
"error" : {
|
||||||
|
"border" : "@base#error#fg"
|
||||||
|
},
|
||||||
|
"danger" : {
|
||||||
|
"fg" : "@base#danger#fg",
|
||||||
|
"bg" : "@base#danger#bg"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"toolbox" : {
|
||||||
|
"title" : {
|
||||||
|
"border" : "@widgets#toolbox#title#button#active#bg",
|
||||||
|
"button": {
|
||||||
|
"fg" : "@base#normal#fg",
|
||||||
|
"active" : {
|
||||||
|
"fg" : "@base#master#fg",
|
||||||
|
"bg" : "@base#master#bg"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"titlebar" : {
|
||||||
|
"button" : {
|
||||||
|
"fg" : "@base#icon#fg"
|
||||||
|
},
|
||||||
|
"menu_icon" : {
|
||||||
|
"fg" : "@base#icon#fg",
|
||||||
|
"disabled" : {
|
||||||
|
"fg" : "@base#icon#disabled#fg"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"toolbar" : {
|
||||||
|
"icon" : {
|
||||||
|
"fg" : "@base#icon#fg",
|
||||||
|
"disabled" : {
|
||||||
|
"fg" : "@base#icon#disabled#fg"
|
||||||
|
},
|
||||||
|
"danger" : {
|
||||||
|
"fg" : "@base#icon#danger#fg"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notebookexplorer" : {
|
||||||
|
"node_icon" : {
|
||||||
|
"fg" : "@base#icon#fg"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"viewsplit" : {
|
||||||
|
"action_button" : {
|
||||||
|
"fg" : "@base#icon#inactive#fg",
|
||||||
|
"active" : {
|
||||||
|
"fg" : "@base#icon#fg"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"tabbar" : {
|
||||||
|
"tab" : {
|
||||||
|
"selected" : {
|
||||||
|
"fg" : "@base#content#fg",
|
||||||
|
"bg" : "@base#content#bg"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"qmainwindow" : {
|
||||||
|
"fg" : "@base#normal#fg",
|
||||||
|
"bg" : "@base#normal#bg",
|
||||||
|
"separator" : {
|
||||||
|
"bg" : "@widgets#separator#bg"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"dragdropareaindicator" : {
|
||||||
|
"fg" : "@base#normal#fg",
|
||||||
|
"border" : "@widgets#dragdropareaindicator#fg"
|
||||||
|
},
|
||||||
|
"navigationlabel" : {
|
||||||
|
"fg" : "@widgets#toolbox#title#button#active#fg",
|
||||||
|
"bg" : "@widgets#toolbox#title#button#active#bg"
|
||||||
|
},
|
||||||
|
"qmenu" : {
|
||||||
|
"fg" : "@base#normal#fg",
|
||||||
|
"bg" : "@base#normal#bg",
|
||||||
|
"border" : "@base#normal#border",
|
||||||
|
"item" : {
|
||||||
|
"selected" : {
|
||||||
|
"fg" : "@base#selected#fg",
|
||||||
|
"bg" : "@base#selected#bg"
|
||||||
|
},
|
||||||
|
"disabled" : {
|
||||||
|
"fg" : "@base#disabled#fg"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"separator" : {
|
||||||
|
"bg" : "@widgets#separator#bg"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"qtooltip" : {
|
||||||
|
"fg" : "@base#master#fg",
|
||||||
|
"bg" : "@base#master#bg"
|
||||||
|
},
|
||||||
|
"qtoolbar" : {
|
||||||
|
"bg" : "@base#header#bg",
|
||||||
|
"separator" : {
|
||||||
|
"bg" : "@widgets#separator#bg"
|
||||||
|
},
|
||||||
|
"extension" : {
|
||||||
|
"bg" : "@base#normal#fg"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"qtoolbutton" : {
|
||||||
|
"fg" : "@base#normal#fg",
|
||||||
|
"bg" : "transparent",
|
||||||
|
"checked" : {
|
||||||
|
"fg" : "@base#selected#fg",
|
||||||
|
"bg" : "@base#selected#bg"
|
||||||
|
},
|
||||||
|
"hover" : {
|
||||||
|
"fg" : "@base#hover#fg",
|
||||||
|
"bg" : "@base#hover#bg"
|
||||||
|
},
|
||||||
|
"pressed" : {
|
||||||
|
"fg" : "@base#pressed#fg",
|
||||||
|
"bg" : "@base#pressed#bg"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"qdockwidget" : {
|
||||||
|
"fg" : "@base#normal#fg",
|
||||||
|
"bg" : "@base#normal#bg",
|
||||||
|
"title" : {
|
||||||
|
"bg" : "@base#title#bg",
|
||||||
|
"button" : {
|
||||||
|
"hover" : {
|
||||||
|
"bg" : "@base#hover#bg"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"qpushbutton" : {
|
||||||
|
"fg" : "@base#normal#fg",
|
||||||
|
"bg" : "transparent",
|
||||||
|
"border" : "@base#normal#border",
|
||||||
|
"default" : {
|
||||||
|
"border" : "@base#master#bg"
|
||||||
|
},
|
||||||
|
"focus" : {
|
||||||
|
"fg" : "@base#focus#fg",
|
||||||
|
"bg" : "@base#focus#bg"
|
||||||
|
},
|
||||||
|
"checked" : {
|
||||||
|
"fg" : "@base#selected#fg",
|
||||||
|
"bg" : "@base#selected#bg"
|
||||||
|
},
|
||||||
|
"hover" : {
|
||||||
|
"fg" : "@base#hover#fg",
|
||||||
|
"bg" : "@base#hover#bg"
|
||||||
|
},
|
||||||
|
"pressed" : {
|
||||||
|
"fg" : "@base#pressed#fg",
|
||||||
|
"bg" : "@base#pressed#bg"
|
||||||
|
},
|
||||||
|
"disabled" : {
|
||||||
|
"fg" : "@base#disabled#fg",
|
||||||
|
"bg" : "@widgets#qpushbutton#bg"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"qdialog" : {
|
||||||
|
"fg" : "@base#normal#fg",
|
||||||
|
"bg" : "@base#normal#bg"
|
||||||
|
},
|
||||||
|
"qcombobox" : {
|
||||||
|
"fg" : "@base#content#fg",
|
||||||
|
"bg" : "@base#content#bg",
|
||||||
|
"border" : "@base#content#border",
|
||||||
|
"focus" : {
|
||||||
|
"bg" : "@base#content#focus#bg",
|
||||||
|
"border" : "@base#content#focus#border"
|
||||||
|
},
|
||||||
|
"hover" : {
|
||||||
|
"bg" : "@base#content#hover#bg",
|
||||||
|
"border" : "@base#content#hover#border"
|
||||||
|
},
|
||||||
|
"disabled" : {
|
||||||
|
"fg" : "@base#content#disabled#fg"
|
||||||
|
},
|
||||||
|
"view" : {
|
||||||
|
"border" : "@base#content#border",
|
||||||
|
"bg" : "@widgets#qcombobox#bg",
|
||||||
|
"selection" : {
|
||||||
|
"fg" : "@base#content#selection#fg",
|
||||||
|
"bg" : "@base#content#selection#bg"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"item" : {
|
||||||
|
"hover" : {
|
||||||
|
"fg" : "@base#content#hover#fg",
|
||||||
|
"bg" : "@base#content#hover#bg"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"qlabel" : {
|
||||||
|
"fg" : "@base#normal#fg"
|
||||||
|
},
|
||||||
|
"qlineedit" : {
|
||||||
|
"border" : "@base#content#border",
|
||||||
|
"fg" : "@base#content#fg",
|
||||||
|
"bg" : "@base#content#bg",
|
||||||
|
"selection" : {
|
||||||
|
"fg" : "@base#content#selection#fg",
|
||||||
|
"bg" : "@base#content#selection#bg"
|
||||||
|
},
|
||||||
|
"focus" : {
|
||||||
|
"bg" : "@base#edit#focus#bg",
|
||||||
|
"border" : "@base#edit#focus#border"
|
||||||
|
},
|
||||||
|
"hover" : {
|
||||||
|
"bg" : "@base#edit#hover#bg",
|
||||||
|
"border" : "@base#edit#hover#border"
|
||||||
|
},
|
||||||
|
"disabled" : {
|
||||||
|
"fg" : "@base#content#disabled#fg"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"qtabbar" : {
|
||||||
|
"tab" : {
|
||||||
|
"fg" : "@base#normal#fg",
|
||||||
|
"bg" : "@base#normal#bg",
|
||||||
|
"border" : "@base#normal#border",
|
||||||
|
"hover" : {
|
||||||
|
"fg" : "@base#hover#fg",
|
||||||
|
"bg" : "@base#hover#bg"
|
||||||
|
},
|
||||||
|
"selected" : {
|
||||||
|
"fg" : "@base#content#fg",
|
||||||
|
"bg" : "@base#content#bg",
|
||||||
|
"border" : "@base#master#bg"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"qtreeview" : {
|
||||||
|
"fg" : "@base#content#fg",
|
||||||
|
"bg" : "@base#content#bg",
|
||||||
|
"item" : {
|
||||||
|
"hover" : {
|
||||||
|
"fg" : "@base#content#hover#fg",
|
||||||
|
"bg" : "@base#content#hover#bg"
|
||||||
|
},
|
||||||
|
"selected" : {
|
||||||
|
"fg" : "@base#content#selected#fg",
|
||||||
|
"bg" : "@base#content#selected#bg",
|
||||||
|
"active" : {
|
||||||
|
"fg" : "@base#content#selected#active#fg",
|
||||||
|
"bg" : "@base#content#selected#active#bg"
|
||||||
|
},
|
||||||
|
"inactive" : {
|
||||||
|
"fg" : "@base#content#selected#inactive#fg",
|
||||||
|
"bg" : "@base#content#selected#inactive#bg"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"qlistview" : {
|
||||||
|
"fg" : "@base#content#fg",
|
||||||
|
"bg" : "@base#content#bg",
|
||||||
|
"item" : {
|
||||||
|
"hover" : {
|
||||||
|
"fg" : "@base#content#hover#fg",
|
||||||
|
"bg" : "@base#content#hover#bg"
|
||||||
|
},
|
||||||
|
"selected" : {
|
||||||
|
"fg" : "@base#content#selected#fg",
|
||||||
|
"bg" : "@base#content#selected#bg",
|
||||||
|
"active" : {
|
||||||
|
"fg" : "@base#content#selected#active#fg",
|
||||||
|
"bg" : "@base#content#selected#active#bg"
|
||||||
|
},
|
||||||
|
"inactive" : {
|
||||||
|
"fg" : "@base#content#selected#inactive#fg",
|
||||||
|
"bg" : "@base#content#selected#inactive#bg"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"qsplitter" : {
|
||||||
|
"handle" : {
|
||||||
|
"bg" : "@base#normal#border",
|
||||||
|
"pressed" : {
|
||||||
|
"bg" : "@base#pressed#bg"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"qstatusbar" : {
|
||||||
|
"fg" : "@base#footer#fg",
|
||||||
|
"bg" : "@base#footer#bg"
|
||||||
|
},
|
||||||
|
"qscrollbar" : {
|
||||||
|
"bg" : "@base#normal#bg",
|
||||||
|
"addpage" : {
|
||||||
|
"bg" : "transparent"
|
||||||
|
},
|
||||||
|
"handle" : {
|
||||||
|
"bg" : "@palette#bg3_4",
|
||||||
|
"hover" : {
|
||||||
|
"bg" : "@palette#bg3_3"
|
||||||
|
},
|
||||||
|
"pressed" : {
|
||||||
|
"bg" : "@palette#bg3_2"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"qcheckbox" : {
|
||||||
|
"disabled" : {
|
||||||
|
"fg" : "@base#disabled#fg"
|
||||||
|
},
|
||||||
|
"indicator" : {
|
||||||
|
"focus" : {
|
||||||
|
"bg" : "@base#focus#bg"
|
||||||
|
},
|
||||||
|
"hover" : {
|
||||||
|
"bg" : "@base#hover#bg"
|
||||||
|
},
|
||||||
|
"pressed" : {
|
||||||
|
"bg" : "@base#pressed#bg"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"qradiobutton" : {
|
||||||
|
"disabled" : {
|
||||||
|
"fg" : "@base#disabled#fg"
|
||||||
|
},
|
||||||
|
"indicator" : {
|
||||||
|
"focus" : {
|
||||||
|
"bg" : "@base#focus#bg"
|
||||||
|
},
|
||||||
|
"hover" : {
|
||||||
|
"bg" : "@base#hover#bg"
|
||||||
|
},
|
||||||
|
"pressed" : {
|
||||||
|
"bg" : "@base#pressed#bg"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"qspinbox" : {
|
||||||
|
"border" : "@base#content#border",
|
||||||
|
"fg" : "@base#content#fg",
|
||||||
|
"bg" : "@base#content#bg",
|
||||||
|
"disabled" : {
|
||||||
|
"fg" : "@base#content#disabled#fg",
|
||||||
|
"bg" : "@base#content#disabled#bg"
|
||||||
|
},
|
||||||
|
"selection" : {
|
||||||
|
"fg" : "@base#content#selection#fg",
|
||||||
|
"bg" : "@base#content#selection#bg"
|
||||||
|
},
|
||||||
|
"focus" : {
|
||||||
|
"bg" : "@base#edit#focus#bg",
|
||||||
|
"border" : "@base#edit#focus#border"
|
||||||
|
},
|
||||||
|
"hover" : {
|
||||||
|
"bg" : "@base#edit#hover#bg",
|
||||||
|
"border" : "@base#edit#hover#border"
|
||||||
|
},
|
||||||
|
"button" : {
|
||||||
|
"hover" : {
|
||||||
|
"bg" : "@base#content#hover#bg"
|
||||||
|
},
|
||||||
|
"pressed" : {
|
||||||
|
"bg" : "@base#content#pressed#bg"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"qheaderview" : {
|
||||||
|
"section" : {
|
||||||
|
"fg" : "@base#content#fg",
|
||||||
|
"bg" : "@base#content#bg",
|
||||||
|
"border" : "@base#content#border",
|
||||||
|
"checked" : {
|
||||||
|
"fg" : "@base#content#selected#fg",
|
||||||
|
"bg" : "@base#content#selected#bg"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"qprogressbar" : {
|
||||||
|
"bg" : "@base#content#bg",
|
||||||
|
"border" : "@base#content#border",
|
||||||
|
"chunk" : {
|
||||||
|
"bg" : "@base#master#alt"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"qgroupbox" : {
|
||||||
|
"border" : "@base#normal#border",
|
||||||
|
"title" : {
|
||||||
|
"fg" : "@base#normal#fg"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"qabstractscrollarea" : {
|
||||||
|
"border" : "@base#normal#border",
|
||||||
|
"corner" : {
|
||||||
|
"bg" : "@widgets#qscrollbar#bg"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"qslider" : {
|
||||||
|
"groove" : {
|
||||||
|
"bg" : "@base#content#bg",
|
||||||
|
"border" : "@base#content#border"
|
||||||
|
},
|
||||||
|
"handle" : {
|
||||||
|
"border" : "@base#content#border",
|
||||||
|
"bg" : "@base#master#bg"
|
||||||
|
},
|
||||||
|
"subpage" : {
|
||||||
|
"border" : "@widgets#qslider#handle#border",
|
||||||
|
"bg" : "@base#master#alt"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"viewwindow" : {
|
||||||
|
"toolbar" : {
|
||||||
|
"bg" : "@base#content#bg"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
7
src/data/extra/themes/pure/radiobutton_checked.svg
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
|
||||||
|
<g>
|
||||||
|
<title>Layer 1</title>
|
||||||
|
<circle fill="#000000" stroke-width="30" stroke-dasharray="null" stroke-linejoin="null" stroke-linecap="null" fill-opacity="0" cx="256.00001" cy="256.00001" r="142.96561" id="svg_9" stroke="#222222"/>
|
||||||
|
<circle fill="#222222" stroke="#000000" stroke-width="20" stroke-dasharray="null" stroke-linejoin="null" stroke-linecap="null" stroke-opacity="0" cx="256.00002" cy="256" r="83.2406" id="svg_11"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 549 B |
@ -0,0 +1,7 @@
|
|||||||
|
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
|
||||||
|
<g>
|
||||||
|
<title>Layer 1</title>
|
||||||
|
<circle fill="#000000" stroke-width="30" stroke-dasharray="null" stroke-linejoin="null" stroke-linecap="null" fill-opacity="0" cx="256.00001" cy="256.00001" r="142.96561" id="svg_9" stroke="#b0b0b0"/>
|
||||||
|
<circle fill="#b0b0b0" stroke="#000000" stroke-width="20" stroke-dasharray="null" stroke-linejoin="null" stroke-linecap="null" stroke-opacity="0" cx="256.00002" cy="256" r="83.2406" id="svg_11"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 549 B |
6
src/data/extra/themes/pure/radiobutton_unchecked.svg
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
|
||||||
|
<g>
|
||||||
|
<title>Layer 1</title>
|
||||||
|
<circle fill="#000000" stroke-width="30" stroke-dasharray="null" stroke-linejoin="null" stroke-linecap="null" fill-opacity="0" cx="256.00001" cy="256.00001" r="142.96561" id="svg_9" stroke="#222222"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 351 B |
@ -0,0 +1,6 @@
|
|||||||
|
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
|
||||||
|
<g>
|
||||||
|
<title>Layer 1</title>
|
||||||
|
<circle fill="#000000" stroke-width="30" stroke-dasharray="null" stroke-linejoin="null" stroke-linecap="null" fill-opacity="0" cx="256.00001" cy="256.00001" r="142.96561" id="svg_9" stroke="#b0b0b0"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 351 B |
8
src/data/extra/themes/pure/right.svg
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
|
||||||
|
<g>
|
||||||
|
<title>Layer 1</title>
|
||||||
|
<g transform="rotate(-90 256.00000000000006,256) " id="svg_1">
|
||||||
|
<polygon fill="#222222" id="svg_2" points="128,192 256,320 384,192 "/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 295 B |
8
src/data/extra/themes/pure/right_disabled.svg
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
|
||||||
|
<g>
|
||||||
|
<title>Layer 1</title>
|
||||||
|
<g transform="rotate(-90 256.00000000000006,256) " id="svg_1">
|
||||||
|
<polygon fill="#b0b0b0" id="svg_2" points="128,192 256,320 384,192 "/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 295 B |
1
src/data/extra/themes/pure/sizegrip.svg
Normal file
@ -0,0 +1 @@
|
|||||||
|
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1609394859499" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3664" width="512" height="512" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><style type="text/css"></style></defs><path d="M938.666667 938.666667 853.333333 938.666667 853.333333 853.333333 938.666667 853.333333 938.666667 938.666667M938.666667 768 853.333333 768 853.333333 682.666667 938.666667 682.666667 938.666667 768M768 938.666667 682.666667 938.666667 682.666667 853.333333 768 853.333333 768 938.666667M768 768 682.666667 768 682.666667 682.666667 768 682.666667 768 768M597.333333 938.666667 512 938.666667 512 853.333333 597.333333 853.333333 597.333333 938.666667M938.666667 597.333333 853.333333 597.333333 853.333333 512 938.666667 512 938.666667 597.333333Z" p-id="3665" fill="#222222"></path></svg>
|
After Width: | Height: | Size: 969 B |
199
src/data/extra/themes/pure/text-editor.theme
Normal file
@ -0,0 +1,199 @@
|
|||||||
|
{
|
||||||
|
"metadata" : {
|
||||||
|
"revision" : 0,
|
||||||
|
"name" : "Moonlight",
|
||||||
|
"type" : "vtextedit"
|
||||||
|
},
|
||||||
|
"editor-styles" : {
|
||||||
|
"Text" : {
|
||||||
|
"//comment" : "Support a list of fonts separated by ,",
|
||||||
|
"font-family" : "YaHei Consolas Hybrid, Consolas, Monaco, Andale Mono, Monospace, Courier New",
|
||||||
|
"font-size" : 12,
|
||||||
|
"text-color" : "#222222",
|
||||||
|
"background-color" : "#f1f1f1",
|
||||||
|
"selected-text-color" : "#f1f1f1",
|
||||||
|
"selected-background-color" : "#1976d2"
|
||||||
|
},
|
||||||
|
"CursorLine" : {
|
||||||
|
"background-color" : "#c5cae9"
|
||||||
|
},
|
||||||
|
"TrailingSpace" : {
|
||||||
|
"background-color" : "#a8a8a8"
|
||||||
|
},
|
||||||
|
"Tab" : {
|
||||||
|
"background-color" : "#cfcfcf"
|
||||||
|
},
|
||||||
|
"SelectedText" : {
|
||||||
|
"//comment" : "Selected text highlight",
|
||||||
|
"text-color" : "#222222",
|
||||||
|
"background-color" : "#dfdf00"
|
||||||
|
},
|
||||||
|
"IndicatorsBorder" : {
|
||||||
|
"text-color" : "#aaaaaa",
|
||||||
|
"background-color" : "#ededed"
|
||||||
|
},
|
||||||
|
"CurrentLineNumber" : {
|
||||||
|
"text-color" : "#222222"
|
||||||
|
},
|
||||||
|
"Folding" : {
|
||||||
|
"text-color" : "#6495ed"
|
||||||
|
},
|
||||||
|
"FoldedFolding" : {
|
||||||
|
"text-color" : "#4169e1"
|
||||||
|
},
|
||||||
|
"FoldingHighlight" : {
|
||||||
|
"text-color" : "#a9c4f5"
|
||||||
|
},
|
||||||
|
"FoldedFoldingRangeLine" : {
|
||||||
|
"background-color" : "#befbdd"
|
||||||
|
},
|
||||||
|
"IncrementalSearch" : {
|
||||||
|
"//comment" : "Incremental search highlight",
|
||||||
|
"text-color" : "#222222",
|
||||||
|
"background-color" : "#ce93d8"
|
||||||
|
},
|
||||||
|
"Search" : {
|
||||||
|
"//comment" : "Search highlight",
|
||||||
|
"text-color" : "#222222",
|
||||||
|
"background-color" : "#4db6ac"
|
||||||
|
},
|
||||||
|
"SearchUnderCursor" : {
|
||||||
|
"//comment" : "Search highlight under cursor",
|
||||||
|
"text-color" : "#222222",
|
||||||
|
"background-color" : "#66bb6a"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"//comment" : "Override the Text style in editor-styles",
|
||||||
|
"markdown-editor-styles" : {
|
||||||
|
"Text" : {
|
||||||
|
"//comment" : "Support a list of fonts separated by ,",
|
||||||
|
"font-family" : "冬青黑体, YaHei Consolas Hybrid, Microsoft YaHei, 微软雅黑, Microsoft YaHei UI, WenQuanYi Micro Hei, 文泉驿雅黑, Dengxian, 等线体, STXihei, 华文细黑, Liberation Sans, Droid Sans, NSimSun, 新宋体, SimSun, 宋体, Verdana, Helvetica, sans-serif, Tahoma, Arial, Geneva, Georgia, Times New Roman",
|
||||||
|
"font-size" : 12,
|
||||||
|
"text-color" : "#222222",
|
||||||
|
"background-color" : "#f1f1f1",
|
||||||
|
"selected-text-color" : "#f1f1f1",
|
||||||
|
"selected-background-color" : "#1976d2"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"markdown-syntax-styles" : {
|
||||||
|
"H1" : {
|
||||||
|
"text-color" : "#222222",
|
||||||
|
"bold" : true,
|
||||||
|
"font-size" : 17
|
||||||
|
},
|
||||||
|
"H2" : {
|
||||||
|
"text-color" : "#222222",
|
||||||
|
"bold" : true,
|
||||||
|
"font-size" : 16
|
||||||
|
},
|
||||||
|
"H3" : {
|
||||||
|
"text-color" : "#222222",
|
||||||
|
"bold" : true,
|
||||||
|
"font-size" : 15
|
||||||
|
},
|
||||||
|
"H4" : {
|
||||||
|
"text-color" : "#222222",
|
||||||
|
"bold" : true,
|
||||||
|
"font-size" : 14
|
||||||
|
},
|
||||||
|
"H5" : {
|
||||||
|
"text-color" : "#222222",
|
||||||
|
"bold" : true,
|
||||||
|
"font-size" : 13
|
||||||
|
},
|
||||||
|
"H6" : {
|
||||||
|
"text-color" : "#222222",
|
||||||
|
"bold" : true,
|
||||||
|
"font-size" : 12
|
||||||
|
},
|
||||||
|
"HRULE" : {
|
||||||
|
"text-color" : "#222222",
|
||||||
|
"background-color" : "#dac7c9"
|
||||||
|
},
|
||||||
|
"LIST_BULLET" : {
|
||||||
|
"text-color" : "#d33682",
|
||||||
|
"bold" : true
|
||||||
|
},
|
||||||
|
"LIST_ENUMERATOR" : {
|
||||||
|
"text-color" : "#0000ff"
|
||||||
|
},
|
||||||
|
"LINK" : {
|
||||||
|
"text-color" : "#005fff"
|
||||||
|
},
|
||||||
|
"AUTO_LINK_URL" : {
|
||||||
|
"text-color" : "#005fff"
|
||||||
|
},
|
||||||
|
"AUTO_LINK_EMAIL" : {
|
||||||
|
"text-color" : "#005fff"
|
||||||
|
},
|
||||||
|
"IMAGE" : {
|
||||||
|
"text-color" : "#616161"
|
||||||
|
},
|
||||||
|
"REFERENCE" : {
|
||||||
|
"text-color" : "#826200"
|
||||||
|
},
|
||||||
|
"CODE" : {
|
||||||
|
"text-color" : "#8e24aa",
|
||||||
|
"font-family" : "YaHei Consolas Hybrid, Consolas, Monaco, Andale Mono, Monospace, Courier New"
|
||||||
|
},
|
||||||
|
"EMPH" : {
|
||||||
|
"italic" : true
|
||||||
|
},
|
||||||
|
"STRONG" : {
|
||||||
|
"bold" : true
|
||||||
|
},
|
||||||
|
"HTML_ENTITY" : {
|
||||||
|
"text-color" : "#8900b5"
|
||||||
|
},
|
||||||
|
"HTML" : {
|
||||||
|
"text-color" : "#8900b5"
|
||||||
|
},
|
||||||
|
"HTMLBLOCK" : {
|
||||||
|
"text-color" : "#8900b5"
|
||||||
|
},
|
||||||
|
"COMMENT" : {
|
||||||
|
"text-color" : "#93a1a1"
|
||||||
|
},
|
||||||
|
"VERBATIM" : {
|
||||||
|
"text-color" : "#673ab7",
|
||||||
|
"font-family" : "YaHei Consolas Hybrid, Consolas, Monaco, Andale Mono, Monospace, Courier New"
|
||||||
|
},
|
||||||
|
"//comment" : "Please modify the syntax highlight theme as well if you change this",
|
||||||
|
"FENCEDCODEBLOCK" : {
|
||||||
|
"text-color" : "#673ab7",
|
||||||
|
"font-family" : "YaHei Consolas Hybrid, Consolas, Monaco, Andale Mono, Monospace, Courier New"
|
||||||
|
},
|
||||||
|
"BLOCKQUOTE" : {
|
||||||
|
"text-color" : "#00af00"
|
||||||
|
},
|
||||||
|
"NOTE" : {
|
||||||
|
"text-color" : "#0087b5"
|
||||||
|
},
|
||||||
|
"STRIKE" : {
|
||||||
|
"text-color" : "#b71c1c",
|
||||||
|
"strike-through" : true
|
||||||
|
},
|
||||||
|
"FRONTMATTER" : {
|
||||||
|
"text-color" : "#6c6c6c"
|
||||||
|
},
|
||||||
|
"INLINEEQUATION" : {
|
||||||
|
"text-color" : "#00897b",
|
||||||
|
"font-family" : "YaHei Consolas Hybrid, Consolas, Monaco, Andale Mono, Monospace, Courier New"
|
||||||
|
},
|
||||||
|
"DISPLAYFORMULA" : {
|
||||||
|
"text-color" : "#00897b",
|
||||||
|
"font-family" : "YaHei Consolas Hybrid, Consolas, Monaco, Andale Mono, Monospace, Courier New"
|
||||||
|
},
|
||||||
|
"MARK" : {
|
||||||
|
"text-color" : "#222222",
|
||||||
|
"background-color" : "#ffff76"
|
||||||
|
},
|
||||||
|
"TABLE" : {
|
||||||
|
"font-family" : "YaHei Consolas Hybrid, Consolas, Monaco, Andale Mono, Monospace, Courier New"
|
||||||
|
},
|
||||||
|
"TABLEBORDER" : {
|
||||||
|
"text-color" : "#d33682",
|
||||||
|
"background-color" : "#e0e0e0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
8
src/data/extra/themes/pure/up.svg
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
|
||||||
|
<g>
|
||||||
|
<title>Layer 1</title>
|
||||||
|
<g transform="rotate(180 255.99999999999997,256) " id="svg_1">
|
||||||
|
<polygon points="128,192 256,320 384,192 " id="svg_2" fill="#222222"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 295 B |
8
src/data/extra/themes/pure/up_disabled.svg
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
|
||||||
|
<g>
|
||||||
|
<title>Layer 1</title>
|
||||||
|
<g transform="rotate(180 255.99999999999997,256) " id="svg_1">
|
||||||
|
<polygon points="128,192 256,320 384,192 " id="svg_2" fill="#b0b0b0"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 295 B |
285
src/data/extra/themes/pure/web.css
Normal file
@ -0,0 +1,285 @@
|
|||||||
|
body {
|
||||||
|
margin: 0 auto;
|
||||||
|
font-family: "Segoe UI", Helvetica, sans-serif, Tahoma, Arial, Geneva, Georgia, Palatino, "Times New Roman", "冬青黑体", "YaHei Consolas Hybrid", "Microsoft YaHei", "微软雅黑", "Microsoft YaHei UI", "WenQuanYi Micro Hei", "文泉驿雅黑", Dengxian, "等线体", STXihei, "华文细黑", "Liberation Sans", "Droid Sans", NSimSun, "新宋体", SimSun, "宋体";
|
||||||
|
color: #222222;
|
||||||
|
line-height: 1.5;
|
||||||
|
padding: 15px;
|
||||||
|
background-color: #f1f1f1;
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1, h2, h3, h4, h5, h6 {
|
||||||
|
color: #222222;
|
||||||
|
font-weight: bold;
|
||||||
|
margin-top: 20px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
padding: 0;
|
||||||
|
margin-top: 16px;
|
||||||
|
margin-bottom: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 26px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
font-size: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
font-size: 22px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h4 {
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h5 {
|
||||||
|
font-size: 19px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h6 {
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #0099ff;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
vertical-align: baseline;
|
||||||
|
text-decoration: none;
|
||||||
|
word-break: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:visited {
|
||||||
|
color: #800080;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul, ol {
|
||||||
|
padding: 0;
|
||||||
|
padding-left: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
li {
|
||||||
|
line-height: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
li ul, li ol {
|
||||||
|
margin-left: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
p, ul, ol {
|
||||||
|
font-size: 16px;
|
||||||
|
line-height: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre {
|
||||||
|
display: block;
|
||||||
|
overflow-y: hidden;
|
||||||
|
overflow-x: auto;
|
||||||
|
-moz-tab-size: 4;
|
||||||
|
-o-tab-size: 4;
|
||||||
|
tab-size: 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
code {
|
||||||
|
font-family: "YaHei Consolas Hybrid", Consolas, Monaco, Monospace, Courier;
|
||||||
|
color: #8e24aa;
|
||||||
|
word-break: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre code {
|
||||||
|
display: block;
|
||||||
|
padding-left: 0.5em;
|
||||||
|
padding-right: 0.5em;
|
||||||
|
color: #222222;
|
||||||
|
background-color: #e0e0e0;
|
||||||
|
line-height: 1.5;
|
||||||
|
font-family: "YaHei Consolas Hybrid", Consolas, Monaco, Monospace, Courier;
|
||||||
|
white-space: pre;
|
||||||
|
-moz-tab-size: 4;
|
||||||
|
-o-tab-size: 4;
|
||||||
|
tab-size: 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
aside {
|
||||||
|
display: block;
|
||||||
|
float: right;
|
||||||
|
width: 390px;
|
||||||
|
}
|
||||||
|
|
||||||
|
blockquote {
|
||||||
|
color: #666666;
|
||||||
|
border-left: .5em solid #7a7a7a;
|
||||||
|
padding: 0 1em;
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
blockquote p {
|
||||||
|
color: #666666;
|
||||||
|
}
|
||||||
|
|
||||||
|
hr {
|
||||||
|
display: block;
|
||||||
|
text-align: left;
|
||||||
|
margin: 1em 0;
|
||||||
|
border: none;
|
||||||
|
height: 2px;
|
||||||
|
background-color: #999999;
|
||||||
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
padding: 0;
|
||||||
|
margin: 1rem 0.5rem;
|
||||||
|
border-collapse: collapse;
|
||||||
|
}
|
||||||
|
|
||||||
|
table tr {
|
||||||
|
border-top: 1px solid #cccccc;
|
||||||
|
background-color: #ffffff;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
table tr:hover {
|
||||||
|
background-color: #dadada;
|
||||||
|
}
|
||||||
|
|
||||||
|
table tr th {
|
||||||
|
font-weight: bold;
|
||||||
|
border: 1px solid #cccccc;
|
||||||
|
margin: 0;
|
||||||
|
padding: 6px 13px;
|
||||||
|
}
|
||||||
|
|
||||||
|
table tr td {
|
||||||
|
border: 1px solid #cccccc;
|
||||||
|
margin: 0;
|
||||||
|
padding: 6px 13px;
|
||||||
|
}
|
||||||
|
|
||||||
|
table tr th :first-child, table tr td :first-child {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
table tr th :last-child, table tr td :last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.vx-mermaid-graph {
|
||||||
|
margin: 16px 0px 16px 0px;
|
||||||
|
overflow-y: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.vx-flowchartjs-graph {
|
||||||
|
padding: 0px 5px 0px 5px;
|
||||||
|
margin: 16px 0px 16px 0px;
|
||||||
|
width: fit-content;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.vx-wavedrom-graph {
|
||||||
|
padding: 0px 5px 0px 5px;
|
||||||
|
margin: 16px 0px 16px 0px;
|
||||||
|
width: fit-content;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.vx-plantuml-graph {
|
||||||
|
padding: 5px 5px 0px 5px;
|
||||||
|
margin: 16px 0px 16px 0px;
|
||||||
|
width: fit-content;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
::selection {
|
||||||
|
background-color: #6dafff;
|
||||||
|
color: #222222;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar {
|
||||||
|
background-color: #eaeaea;
|
||||||
|
width: 14px;
|
||||||
|
height: 14px;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-corner {
|
||||||
|
background-color: #eaeaea;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-button {
|
||||||
|
/* This selector affects the styling of both the up & down and left & right buttons of a scrollbar */
|
||||||
|
height: 14px;
|
||||||
|
width: 14px;
|
||||||
|
background-color: #eaeaea;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-button:hover {
|
||||||
|
background-color: #dadada;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-button:active {
|
||||||
|
background-color: #c0c0c0;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-track {
|
||||||
|
/* This selector affects the styling of the area in the scrollbar between the two buttons */
|
||||||
|
background-color: #eaeaea;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-thumb {
|
||||||
|
/* This selector affects the styling of draggable element of the scollbar */
|
||||||
|
border: none;
|
||||||
|
background-color: #dadada;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-thumb:hover {
|
||||||
|
background-color: #d2d2d2;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-thumb:active {
|
||||||
|
background-color: #cdcdcd;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-button:horizontal:increment {
|
||||||
|
background-image: url(right.svg);
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-size: contain;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-button:horizontal:decrement {
|
||||||
|
background-image: url(left.svg);
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-size: contain;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-button:vertical:increment {
|
||||||
|
background-image: url(down.svg);
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-size: contain;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-button:vertical:decrement {
|
||||||
|
background-image: url(up.svg);
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-size: contain;
|
||||||
|
}
|
||||||
|
|
||||||
|
#vx-content span.vx-search-match {
|
||||||
|
color: #222222;
|
||||||
|
background-color: #4db6ac;
|
||||||
|
}
|
||||||
|
|
||||||
|
#vx-content span.vx-current-search-match {
|
||||||
|
color: #222222;
|
||||||
|
background-color: #66bb6a;
|
||||||
|
}
|