mirror of
https://github.com/daylinmorgan/yartsu.git
synced 2024-11-10 00:23:15 -06:00
72 lines
2.4 KiB
Markdown
72 lines
2.4 KiB
Markdown
|
|
# Deviation From Rich
|
|
|
|
## Versions
|
|
|
|
- Rich: 12.4.4
|
|
- Yartsu: 22.6b2.dev2+gabdbc1d
|
|
|
|
## Diff
|
|
|
|
```diff
|
|
---
|
|
+++
|
|
@@ -1,47 +1,43 @@
|
|
-<svg class="rich-terminal" viewBox="0 0 {width} {height}" xmlns="http://www.w3.org/2000/svg">
|
|
+<svg class="rich-terminal shadow" viewBox="0 0 {width} {height}" xmlns="http://www.w3.org/2000/svg">
|
|
<!-- Generated with Rich https://www.textualize.io -->
|
|
<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");
|
|
+ url("https://cdn.jsdelivr.net/gh/ryanoasis/nerd-fonts@2.1.0/patched-fonts/FiraCode/Regular/complete/Fira%20Code%20Regular%20Nerd%20Font%20Complete.ttf") format("truetype");
|
|
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");
|
|
+ url("https://cdn.jsdelivr.net/gh/ryanoasis/nerd-fonts@2.1.0/patched-fonts/FiraCode/Bold/complete/Fira%20Code%20Bold%20Nerd%20Font%20Complete.ttf") format("truetype");
|
|
font-style: bold;
|
|
font-weight: 700;
|
|
}}
|
|
-
|
|
.{unique_id}-matrix {{
|
|
font-family: Fira Code, monospace;
|
|
font-size: {char_height}px;
|
|
line-height: {line_height}px;
|
|
font-variant-east-asian: full-width;
|
|
}}
|
|
-
|
|
.{unique_id}-title {{
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
font-family: arial;
|
|
}}
|
|
-
|
|
+ .shadow {{
|
|
+ -webkit-filter: drop-shadow( 5px 10px 15px rgba(0, 0, 0, .7));
|
|
+ filter: drop-shadow( 5px 10px 15px rgba(0, 0, 0, .7));
|
|
+ }}
|
|
{styles}
|
|
</style>
|
|
-
|
|
<defs>
|
|
<clipPath id="{unique_id}-clip-terminal">
|
|
<rect x="0" y="0" width="{terminal_width}" height="{terminal_height}" />
|
|
</clipPath>
|
|
{lines}
|
|
</defs>
|
|
-
|
|
{chrome}
|
|
<g transform="translate({terminal_x}, {terminal_y})" clip-path="url(#{unique_id}-clip-terminal)">
|
|
{backgrounds}
|
|
|
|
```
|
|
|
|
AUTO-GENERATED by code_svg_format_diff.py
|