diff options
-rw-r--r-- | prechoster.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/prechoster.json b/prechoster.json new file mode 100644 index 0000000..180b67b --- /dev/null +++ b/prechoster.json @@ -0,0 +1 @@ +{"modules":[{"id":"00423c5ee8323e1e","data":{"name":"Toki","contents":"<script>\n export let font;\n export let text;\n export let textRender = text;\n export let textEn;\n export let width = \"2\";\n export let height = \"2\";\n const src = 'https://linja-pona-svginator.fly.dev/render/' + encodeURIComponent(textRender);\n\n const fWidth = parseFloat(width), fHeight = parseFloat(height);\n\n let widthRem, heightRem;\n\n if (fWidth > fHeight && false) {\n widthRem = 2;\n // orig-height/orig-width = new-height/new-width\n heightRem = fHeight / fWidth * 2;\n } else {\n heightRem = 2;\n widthRem = fWidth / fHeight * 2;\n }\n\n const style = `height: ${heightRem}rem; width: ${widthRem}rem`;\n</script>\n\n<ruby style=\"ruby-position: over\"><ruby style=\"ruby-position: under\"><img src={src} alt={text} style={style} /><rt>{textEn}</rt></ruby><rt>{text}</rt></ruby>\n\n<style>\n img {\n display: inline-block;\n margin: 0;\n }\n\n rt {\n font-size: 0.8rem;\n }\n</style>\n"},"pluginId":"source.svelte-component","sends":[],"namedSends":{"5e0a6640c309d9dd":["Toki"]},"graphPos":null},{"id":"5e0a6640c309d9dd","data":{"contents":"<script>\n import Toki from \"./Toki.svelte\";\n</script>\n\n<p>\n <Toki text=\"tenpo ni\" textRender=\"tenpo+ni\" textEn=\"now\" width=\"8.004\" height=\"10.08\" />\n <Toki text=\"la\" textEn=\",\" width=\"4.8\" height=\"7.656\" />\n <Toki text=\"mi\" textEn=\"I\" width=\"7.44\" height=\"8.556\" />\n <Toki text=\"ken\" textEn=\"can\" width=\"6.84\" height=\"8.004\" />\n <Toki text=\"pali\" textEn=\"build\" width=\"8.016\" height=\"8.556\" />\n <Toki text=\"pona\" textEn=\"simply\" width=\"9.084\" height=\"5.304\" />\n <a href=\"https://boringcactus.neocities.org/toki-pona/lipu-pi-toki-mute.html\">\n <Toki text=\"lipu\" textEn=\"documents\" width=\"7.092\" height=\"8.1\" />\n <Toki text=\"pi toki mute\" textRender=\"pi+toki+mute\" textEn=\"of many languages\" width=\"11.184\" height=\"10.74\" />\n </a>.\n</p>\n\n<p>\n <Toki text=\"tenpo pini\" textRender=\"tenpo+pini\" textEn=\"before\" width=\"8.004\" height=\"9.492\" />\n <Toki text=\"la\" textEn=\",\" width=\"4.8\" height=\"7.656\" />\n <Toki text=\"nasin\" textEn=\"way\" width=\"6.9\" height=\"7.98\" />\n <Toki text=\"pi pali ni\" textRender=\"pi++pali ni\" textEn=\"of doing this\" width=\"21.18\" height=\"10.044\" />\n <Toki text=\"li\" textEn=\"is\" width=\"5.664\" height=\"8.472\" />\n <a href=\"https://cohost.org/cactus/post/455309-p-style-font-size\">\n <Toki text=\"jaki\" textEn=\"gross\" width=\"7.98\" height=\"8.796\" />\n <Toki text=\"mute\" textEn=\"very\" width=\"6.6\" height=\"8.004\" />\n </a>.\n <Toki text=\"ni\" textEn=\"this\" width=\"7.392\" height=\"8.376\" />\n <Toki text=\"awen\" textEn=\"remains\" width=\"8.496\" height=\"8.664\" />\n <Toki text=\"jaki\" textEn=\"gross\" width=\"7.98\" height=\"8.796\" />\n <Toki text=\"lili\" textEn=\"slightly\" width=\"6.156\" height=\"4.956\" />\n .\n <Toki text=\"mi\" textEn=\"I\" width=\"7.44\" height=\"8.556\" />\n <Toki text=\"wile\" textEn=\"want\" width=\"8.604\" height=\"7.248\" />\n <Toki text=\"e\" textEn=\"\" width=\"8.376\" height=\"8.412\" />\n <a href=\"https://help.antisoftware.club/support/discussions/topics/62000183101\">\n <Toki text=\"nasin\" textEn=\"way\" width=\"6.9\" height=\"7.98\" />\n <Toki text=\"lon\" textEn=\"real\" width=\"8.496\" height=\"4.056\" />\n <Toki text=\"pi lukin ante\" textRender=\"pi+lukin+ante\" textEn=\"of looking different\" width=\"11.184\" height=\"10.656\" />\n </a>.\n</p>\n\n<p>\n <Toki text=\"mi\" textEn=\"I\" width=\"7.44\" height=\"8.556\" />\n <Toki text=\"kepeken\" textEn=\"use\" width=\"8.304\" height=\"8.304\" />\n <Toki text=\"e\" textEn=\"\" width=\"8.376\" height=\"8.412\" />\n <a href=\"https://cloudwithlightning.net/random/chostin/prechoster/\">\n <Toki text=\"ilo\" textEn=\"tool\" width=\"7.908\" height=\"7.8\" />\n <Toki text=\"Pinsotu\" textRender=\"[_pipi_ilo_nimi_soweli_olin_toki_utala]\" textEn=\"Prechoster\" width=\"77.46\" height=\"11.604\" />\n </a>\n <Toki text=\"e\" textEn=\",\" width=\"8.376\" height=\"8.412\" />\n <a href=\"https://musilili.net/linja-pona/\">\n <Toki text=\"sitelen\" textEn=\"symbols\" width=\"7.092\" height=\"8.1\" />\n <Toki text=\"pi linja pona\" textRender=\"pi+linja+pona\" textEn=\"linja pona\" width=\"11.184\" height=\"9.744\" />\n </a>\n <Toki text=\"e\" textEn=\",\" width=\"8.376\" height=\"8.412\" />\n <a href=\"https://cohost.org/ant/post/450295-p-style-font-size\">\n <Toki text=\"nasin\" textEn=\"way\" width=\"6.9\" height=\"7.98\" />\n <Toki text=\"pi nimi poka tu\" textRender=\"pi+++nimi poka tu\" textEn=\"of two aside words\" width=\"31.176\" height=\"9.744\" />\n </a>\n <Toki text=\"e\" textEn=\",\" width=\"8.376\" height=\"8.412\" />\n <a href=\"https://code.boringcactus.com/linja-pona-svginator/tree/\">\n <Toki text=\"toki ilo\" textRender=\"toki+ilo\" textEn=\"machine language\" width=\"8.424\" height=\"9.552\" />\n <Toki text=\"nasa\" textEn=\"silly\" width=\"8.724\" height=\"8.856\" />\n <Toki text=\"mi\" textEn=\"my\" width=\"7.44\" height=\"8.556\" />\n </a>.\n <Toki text=\"mi\" textEn=\"I\" width=\"7.44\" height=\"8.556\" />\n <Toki text=\"pana\" textEn=\"release\" width=\"8.448\" height=\"8.508\" />\n <a href=\"https://code.boringcactus.com/linja-pona-svginator/tree/prechoster.json\">\n <Toki text=\"kon\" textEn=\"essence\" width=\"7.14\" height=\"8.604\" />\n <Toki text=\"pi lipu ni\" textRender=\"pi+lipu+ni\" textEn=\"of this post\" width=\"11.184\" height=\"9.744\" />\n </a>.\n</p>\n\n<style>\n p {\n font-size: 2rem;\n }\n a {\n filter: invert(66%) sepia(11%) saturate(2468%) hue-rotate(235deg) brightness(62%) contrast(87%);\n text-decoration: none;\n }\n</style>\n"},"pluginId":"source.svelte","sends":["a019876d3132d78a"],"namedSends":{},"graphPos":null},{"id":"a019876d3132d78a","data":{"mode":"attr"},"pluginId":"transform.style-inliner","sends":["output"],"namedSends":{},"graphPos":null}]}
\ No newline at end of file |