This commit is contained in:
daylinmorgan 2023-05-15 01:29:41 +00:00
parent da015fdced
commit 655d5c76ba
7 changed files with 137 additions and 54 deletions

View file

@ -571,21 +571,6 @@ You may also use the environment variable <code>YARTSU_THEME</code>.</p>
<p>For both practical and stylistic reasons the underlying code used to generate the SVG is slightly different than <code>rich</code>'s default <code>save_svg</code> method. See <a href="https://gh.dayl.in/rich-diff">here</a> for the current deviation between the latest releases of each respective release.</p>
<!-- MARKDOWN LINKS & IMAGES -->
<hr>
<div class="md-source-file">
<small>
Last update:
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">May 14, 2023</span>
<br>
Created:
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">June 14, 2022</span>
</small>
</div>

View file

@ -405,11 +405,11 @@
<h2 id="versions">Versions</h2>
<ul>
<li>Rich: 13.3.5</li>
<li>Yartsu: 23.5.1b2.dev27+g7598db8</li>
<li>Yartsu: 23.5.1b2.dev30+gf5ae41d</li>
</ul>
<h2 id="console_svg_format-diff">CONSOLE_SVG_FORMAT Diff</h2>
<div class="highlight"><pre><span></span><code><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a><span class="gd">--- </span>
<a id="__codelineno-0-2" name="__codelineno-0-2" href="#__codelineno-0-2"></a><span class="gi">+++ </span>
<div class="highlight"><pre><span></span><code><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a><span class="gs">---</span>
<a id="__codelineno-0-2" name="__codelineno-0-2" href="#__codelineno-0-2"></a><span class="gi">+++</span>
<a id="__codelineno-0-3" name="__codelineno-0-3" href="#__codelineno-0-3"></a><span class="gu">@@ -1,5 +1,5 @@</span>
<a id="__codelineno-0-4" name="__codelineno-0-4" href="#__codelineno-0-4"></a><span class="gd">-&lt;svg class=&quot;rich-terminal&quot; viewBox=&quot;0 0 {width} {height}&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt;</span>
<a id="__codelineno-0-5" name="__codelineno-0-5" href="#__codelineno-0-5"></a><span class="gd">- &lt;!-- Generated with Rich https://www.textualize.io --&gt;</span>
@ -440,8 +440,8 @@
<a id="__codelineno-0-30" name="__codelineno-0-30" href="#__codelineno-0-30"></a><span class="w"> </span> {matrix}
</code></pre></div>
<h2 id="consoleexport_svg-diff">Console.export_svg Diff</h2>
<div class="highlight"><pre><span></span><code><a id="__codelineno-1-1" name="__codelineno-1-1" href="#__codelineno-1-1"></a><span class="gd">--- </span>
<a id="__codelineno-1-2" name="__codelineno-1-2" href="#__codelineno-1-2"></a><span class="gi">+++ </span>
<div class="highlight"><pre><span></span><code><a id="__codelineno-1-1" name="__codelineno-1-1" href="#__codelineno-1-1"></a><span class="gs">---</span>
<a id="__codelineno-1-2" name="__codelineno-1-2" href="#__codelineno-1-2"></a><span class="gi">+++</span>
<a id="__codelineno-1-3" name="__codelineno-1-3" href="#__codelineno-1-3"></a><span class="gu">@@ -70,9 +70,9 @@</span>
<a id="__codelineno-1-4" name="__codelineno-1-4" href="#__codelineno-1-4"></a><span class="w"> </span> line_height = char_height * 1.22
<a id="__codelineno-1-5" name="__codelineno-1-5" href="#__codelineno-1-5"></a>
@ -469,21 +469,6 @@
</code></pre></div>
<p>AUTO-GENERATED by scripts/rich-diff</p>
<hr>
<div class="md-source-file">
<small>
Last update:
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">May 14, 2023</span>
<br>
Created:
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">June 15, 2022</span>
</small>
</div>

File diff suppressed because one or more lines are too long

View file

@ -2,17 +2,17 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://gh.dayl.in/yartsu/</loc>
<lastmod>2023-05-14</lastmod>
<lastmod>2023-05-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://gh.dayl.in/yartsu/rich-diff/</loc>
<lastmod>2023-05-14</lastmod>
<lastmod>2023-05-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://gh.dayl.in/yartsu/themes/</loc>
<lastmod>2023-05-14</lastmod>
<lastmod>2023-05-15</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>

Binary file not shown.

View file

@ -372,21 +372,6 @@
</div>
</div>
<hr>
<div class="md-source-file">
<small>
Last update:
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">May 14, 2023</span>
<br>
Created:
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">June 14, 2022</span>
</small>
</div>

128
themes/list.svg Normal file
View file

@ -0,0 +1,128 @@
<svg class="rich-terminal shadow" viewBox="0 0 524.3333333333334 497.13333333333327" xmlns="http://www.w3.org/2000/svg">
<!-- Generated with Rich https://www.textualize.io & yartsu https://github.com/daylinmorgan/yartsu -->
<style>
@font-face {
font-family: "Fira Code";
src: local("FiraCode-Regular"),
url("https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff2/FiraCode-Regular.woff2") format("woff2"),
url("https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff/FiraCode-Regular.woff") format("woff");
font-style: normal;
font-weight: 400;
}
@font-face {
font-family: "Fira Code";
src: local("FiraCode-Bold"),
url("https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff2/FiraCode-Bold.woff2") format("woff2"),
url("https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff/FiraCode-Bold.woff") format("woff");
font-style: bold;
font-weight: 700;
}
.terminal-4149855771-matrix {
font-family: Fira Code, monospace;
font-size: 20px;
line-height: 24.4px;
font-variant-east-asian: full-width;
}
.terminal-4149855771-title {
font-size: 18px;
font-weight: bold;
font-family: arial;
}
.shadow {
-webkit-filter: drop-shadow( 2px 5px 2px rgba(0, 0, 0, .7));
filter: drop-shadow( 2px 5px 2px rgba(0, 0, 0, .7));
}
.terminal-4149855771-r1 { fill: #c6d0f5;font-style: italic; }
.terminal-4149855771-r2 { fill: #c6d0f5 }
.terminal-4149855771-r3 { fill: #c6d0f5;font-weight: bold }
</style>
<defs>
<clipPath id="terminal-4149855771-clip-terminal">
<rect x="0" y="0" width="487.0" height="413.79999999999995" />
</clipPath>
<clipPath id="terminal-4149855771-line-0">
<rect x="0" y="1.5" width="488" height="24.65"/>
</clipPath>
<clipPath id="terminal-4149855771-line-1">
<rect x="0" y="25.9" width="488" height="24.65"/>
</clipPath>
<clipPath id="terminal-4149855771-line-2">
<rect x="0" y="50.3" width="488" height="24.65"/>
</clipPath>
<clipPath id="terminal-4149855771-line-3">
<rect x="0" y="74.7" width="488" height="24.65"/>
</clipPath>
<clipPath id="terminal-4149855771-line-4">
<rect x="0" y="99.1" width="488" height="24.65"/>
</clipPath>
<clipPath id="terminal-4149855771-line-5">
<rect x="0" y="123.5" width="488" height="24.65"/>
</clipPath>
<clipPath id="terminal-4149855771-line-6">
<rect x="0" y="147.9" width="488" height="24.65"/>
</clipPath>
<clipPath id="terminal-4149855771-line-7">
<rect x="0" y="172.3" width="488" height="24.65"/>
</clipPath>
<clipPath id="terminal-4149855771-line-8">
<rect x="0" y="196.7" width="488" height="24.65"/>
</clipPath>
<clipPath id="terminal-4149855771-line-9">
<rect x="0" y="221.1" width="488" height="24.65"/>
</clipPath>
<clipPath id="terminal-4149855771-line-10">
<rect x="0" y="245.5" width="488" height="24.65"/>
</clipPath>
<clipPath id="terminal-4149855771-line-11">
<rect x="0" y="269.9" width="488" height="24.65"/>
</clipPath>
<clipPath id="terminal-4149855771-line-12">
<rect x="0" y="294.3" width="488" height="24.65"/>
</clipPath>
<clipPath id="terminal-4149855771-line-13">
<rect x="0" y="318.7" width="488" height="24.65"/>
</clipPath>
<clipPath id="terminal-4149855771-line-14">
<rect x="0" y="343.1" width="488" height="24.65"/>
</clipPath>
<clipPath id="terminal-4149855771-line-15">
<rect x="0" y="367.5" width="488" height="24.65"/>
</clipPath>
</defs>
<rect fill="#1e1e2e" stroke="rgba(255,255,255,0.35)" stroke-width="1" x="10.1667" y="1" width="504" height="462.8" rx="8"/><text class="terminal-4149855771-title" fill="#c6d0f5" text-anchor="middle" x="252" y="27">yartsu&#160;--list-themes</text>
<g transform="translate(32,22)">
<circle cx="0" cy="0" r="7" fill="#ff5f57"/>
<circle cx="22" cy="0" r="7" fill="#febc2e"/>
<circle cx="44" cy="0" r="7" fill="#28c840"/>
</g>
<g transform="translate(18.166666666666664, 41) scale(.95)" clip-path="url(#terminal-4149855771-clip-terminal)">
<g class="terminal-4149855771-matrix">
<text class="terminal-4149855771-r1" x="0" y="20" textLength="329.4" clip-path="url(#terminal-4149855771-line-0)">&#160;&#160;&#160;&#160;&#160;Available&#160;Themes&#160;&#160;&#160;&#160;&#160;&#160;</text><text class="terminal-4149855771-r2" x="488" y="20" textLength="12.2" clip-path="url(#terminal-4149855771-line-0)">
</text><text class="terminal-4149855771-r2" x="0" y="44.4" textLength="329.4" clip-path="url(#terminal-4149855771-line-1)">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</text><text class="terminal-4149855771-r2" x="488" y="44.4" textLength="12.2" clip-path="url(#terminal-4149855771-line-1)">
</text><text class="terminal-4149855771-r3" x="24.4" y="68.8" textLength="170.8" clip-path="url(#terminal-4149855771-line-2)">name&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</text><text class="terminal-4149855771-r2" x="207.4" y="68.8" textLength="12.2" clip-path="url(#terminal-4149855771-line-2)"></text><text class="terminal-4149855771-r3" x="231.8" y="68.8" textLength="73.2" clip-path="url(#terminal-4149855771-line-2)">source</text><text class="terminal-4149855771-r2" x="488" y="68.8" textLength="12.2" clip-path="url(#terminal-4149855771-line-2)">
</text><text class="terminal-4149855771-r2" x="0" y="93.2" textLength="329.4" clip-path="url(#terminal-4149855771-line-3)">╶────────────────┼────────╴</text><text class="terminal-4149855771-r2" x="488" y="93.2" textLength="12.2" clip-path="url(#terminal-4149855771-line-3)">
</text><text class="terminal-4149855771-r2" x="0" y="117.6" textLength="329.4" clip-path="url(#terminal-4149855771-line-4)">&#160;&#160;cat-mocha&#160;&#160;&#160;&#160;&#160;&#160;&#160;yartsu&#160;&#160;</text><text class="terminal-4149855771-r2" x="488" y="117.6" textLength="12.2" clip-path="url(#terminal-4149855771-line-4)">
</text><text class="terminal-4149855771-r2" x="0" y="142" textLength="329.4" clip-path="url(#terminal-4149855771-line-5)">&#160;&#160;cat-macchiato&#160;&#160;&#160;yartsu&#160;&#160;</text><text class="terminal-4149855771-r2" x="488" y="142" textLength="12.2" clip-path="url(#terminal-4149855771-line-5)">
</text><text class="terminal-4149855771-r2" x="0" y="166.4" textLength="329.4" clip-path="url(#terminal-4149855771-line-6)">&#160;&#160;cat-frappe&#160;&#160;&#160;&#160;&#160;&#160;yartsu&#160;&#160;</text><text class="terminal-4149855771-r2" x="488" y="166.4" textLength="12.2" clip-path="url(#terminal-4149855771-line-6)">
</text><text class="terminal-4149855771-r2" x="0" y="190.8" textLength="329.4" clip-path="url(#terminal-4149855771-line-7)">&#160;&#160;cat-latte&#160;&#160;&#160;&#160;&#160;&#160;&#160;yartsu&#160;&#160;</text><text class="terminal-4149855771-r2" x="488" y="190.8" textLength="12.2" clip-path="url(#terminal-4149855771-line-7)">
</text><text class="terminal-4149855771-r2" x="0" y="215.2" textLength="329.4" clip-path="url(#terminal-4149855771-line-8)">&#160;&#160;dracula&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;yartsu&#160;&#160;</text><text class="terminal-4149855771-r2" x="488" y="215.2" textLength="12.2" clip-path="url(#terminal-4149855771-line-8)">
</text><text class="terminal-4149855771-r2" x="0" y="239.6" textLength="329.4" clip-path="url(#terminal-4149855771-line-9)">&#160;&#160;gruvbox-dark&#160;&#160;&#160;&#160;yartsu&#160;&#160;</text><text class="terminal-4149855771-r2" x="488" y="239.6" textLength="12.2" clip-path="url(#terminal-4149855771-line-9)">
</text><text class="terminal-4149855771-r2" x="0" y="264" textLength="329.4" clip-path="url(#terminal-4149855771-line-10)">&#160;&#160;gruvbox-light&#160;&#160;&#160;yartsu&#160;&#160;</text><text class="terminal-4149855771-r2" x="488" y="264" textLength="12.2" clip-path="url(#terminal-4149855771-line-10)">
</text><text class="terminal-4149855771-r2" x="0" y="288.4" textLength="329.4" clip-path="url(#terminal-4149855771-line-11)">&#160;&#160;nord&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;yartsu&#160;&#160;</text><text class="terminal-4149855771-r2" x="488" y="288.4" textLength="12.2" clip-path="url(#terminal-4149855771-line-11)">
</text><text class="terminal-4149855771-r2" x="0" y="312.8" textLength="329.4" clip-path="url(#terminal-4149855771-line-12)">&#160;&#160;dimmed_monokai&#160;&#160;rich&#160;&#160;&#160;&#160;</text><text class="terminal-4149855771-r2" x="488" y="312.8" textLength="12.2" clip-path="url(#terminal-4149855771-line-12)">
</text><text class="terminal-4149855771-r2" x="0" y="337.2" textLength="329.4" clip-path="url(#terminal-4149855771-line-13)">&#160;&#160;monokai&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;rich&#160;&#160;&#160;&#160;</text><text class="terminal-4149855771-r2" x="488" y="337.2" textLength="12.2" clip-path="url(#terminal-4149855771-line-13)">
</text><text class="terminal-4149855771-r2" x="0" y="361.6" textLength="329.4" clip-path="url(#terminal-4149855771-line-14)">&#160;&#160;night-owlish&#160;&#160;&#160;&#160;rich&#160;&#160;&#160;&#160;</text><text class="terminal-4149855771-r2" x="488" y="361.6" textLength="12.2" clip-path="url(#terminal-4149855771-line-14)">
</text><text class="terminal-4149855771-r2" x="0" y="386" textLength="329.4" clip-path="url(#terminal-4149855771-line-15)">&#160;&#160;rich-default&#160;&#160;&#160;&#160;rich&#160;&#160;&#160;&#160;</text><text class="terminal-4149855771-r2" x="488" y="386" textLength="12.2" clip-path="url(#terminal-4149855771-line-15)">
</text><text class="terminal-4149855771-r2" x="0" y="410.4" textLength="329.4" clip-path="url(#terminal-4149855771-line-16)">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</text><text class="terminal-4149855771-r2" x="488" y="410.4" textLength="12.2" clip-path="url(#terminal-4149855771-line-16)">
</text>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 10 KiB