feat: move templates into AFFiNE (#5750)
Related to https://github.com/toeverything/blocksuite/pull/6156 ### Change Move the edgeless templates to AFFiNE. All templates are stored as zip files. Run `node build-edgeless.mjs` in `@affine/templates` to generate JSON-format templates and importing script. The template will be generated automatically during building and dev (`yarn dev`).
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
<svg width="135" height="80" viewBox="0 0 135 80" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="135" height="80" fill="white"/>
|
||||
<rect x="10" y="10" width="53.5" height="26" rx="1" fill="#937EE7"/>
|
||||
<rect x="71.5" y="10" width="53.5" height="26" rx="1" fill="#937EE7"/>
|
||||
<rect x="10" y="44" width="53.5" height="26" rx="1" fill="#937EE7"/>
|
||||
<rect x="71.5" y="44" width="53.5" height="26" rx="1" fill="#937EE7"/>
|
||||
<rect x="16" y="14" width="28" height="2" rx="1" fill="white"/>
|
||||
<rect x="101" y="55" width="8" height="1" rx="0.5" fill="white"/>
|
||||
<rect x="101" y="50" width="9" height="2" rx="1" fill="white"/>
|
||||
<rect x="49" y="48" width="9" height="2" rx="1" fill="white"/>
|
||||
<rect x="50" y="60" width="9" height="2" rx="1" fill="white"/>
|
||||
<rect x="21" y="66" width="9" height="2" rx="1" fill="white"/>
|
||||
<rect x="13" y="57" width="9" height="2" rx="1" fill="white"/>
|
||||
<rect x="18" y="46" width="9" height="2" rx="1" fill="white"/>
|
||||
<rect x="101" y="62" width="8" height="1" rx="0.5" fill="white"/>
|
||||
<rect x="111" y="55" width="8" height="1" rx="0.5" fill="white"/>
|
||||
<rect x="111" y="62" width="8" height="1" rx="0.5" fill="white"/>
|
||||
<rect x="101" y="57" width="8" height="1" rx="0.5" fill="white"/>
|
||||
<rect x="101" y="64" width="8" height="1" rx="0.5" fill="white"/>
|
||||
<rect x="111" y="57" width="8" height="1" rx="0.5" fill="white"/>
|
||||
<rect x="111" y="64" width="8" height="1" rx="0.5" fill="white"/>
|
||||
<rect x="16" y="19" width="12" height="13" rx="1" fill="#F3F0FF"/>
|
||||
<rect x="31" y="19" width="12" height="13" rx="1" fill="#F3F0FF"/>
|
||||
<rect x="46" y="19" width="12" height="13" rx="1" fill="#F3F0FF"/>
|
||||
<rect x="77" y="49" width="18" height="17" rx="1" fill="#F3F0FF"/>
|
||||
<path d="M82 21L82 31" stroke="#6E52DF"/>
|
||||
<path d="M93 21L93 31" stroke="#6E52DF"/>
|
||||
<path d="M104 21L104 31" stroke="#6E52DF"/>
|
||||
<path d="M115 21L115 31" stroke="#6E52DF"/>
|
||||
<path d="M78 31C78 30.4477 78.4477 30 79 30H125V32H79C78.4477 32 78 31.5523 78 31Z" fill="#F3F0FF"/>
|
||||
<circle cx="33.4481" cy="48.0479" r="2.84855" transform="rotate(-17.6914 33.4481 48.0479)" fill="#F3F0FF"/>
|
||||
<circle cx="27.2546" cy="57.5328" r="2.84855" transform="rotate(-17.6914 27.2546 57.5328)" fill="#F3F0FF"/>
|
||||
<circle cx="34.5333" cy="65.9317" r="2.84855" transform="rotate(-17.6914 34.5333 65.9317)" fill="#F3F0FF"/>
|
||||
<circle cx="44.875" cy="61.9756" r="2.84855" transform="rotate(-17.6914 44.875 61.9756)" fill="#F3F0FF"/>
|
||||
<circle cx="44.1049" cy="51.0879" r="2.84855" transform="rotate(-17.6914 44.1049 51.0879)" fill="#F3F0FF"/>
|
||||
<rect x="78" y="14" width="8" height="9" rx="1" fill="#F3F0FF"/>
|
||||
<rect x="89" y="14" width="8" height="9" rx="1" fill="#F3F0FF"/>
|
||||
<rect x="100" y="14" width="8" height="9" rx="1" fill="#F3F0FF"/>
|
||||
<rect x="111" y="14" width="8" height="9" rx="1" fill="#F3F0FF"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.7 KiB |
Binary file not shown.
@@ -0,0 +1,28 @@
|
||||
<svg width="135" height="80" viewBox="0 0 135 80" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="135" height="80" fill="white"/>
|
||||
<rect x="10" y="10" width="53.5" height="26" rx="1" fill="#FFC46B"/>
|
||||
<rect x="15" y="14" width="19" height="1" rx="0.5" fill="#FF8C38"/>
|
||||
<rect x="15" y="18" width="19" height="1" rx="0.5" fill="#FF8C38"/>
|
||||
<rect x="71.5" y="10" width="53.5" height="26" rx="1" fill="#FFC46B"/>
|
||||
<rect x="20" y="28" width="4" height="4" rx="1" fill="#FFEACA"/>
|
||||
<rect x="28" y="25" width="4" height="7" rx="1" fill="#FFEACA"/>
|
||||
<rect x="36" y="22" width="4" height="10" rx="1" fill="#FFEACA"/>
|
||||
<rect x="44" y="18" width="4" height="14" rx="1" fill="#FFEACA"/>
|
||||
<rect x="52" y="14" width="4" height="18" rx="1" fill="#FFEACA"/>
|
||||
<rect x="10" y="44" width="53.5" height="26" rx="1" fill="#FFC46B"/>
|
||||
<rect x="71.5" y="44" width="53.5" height="26" rx="1" fill="#FFC46B"/>
|
||||
<path d="M81 27.25L87.3333 15L93.6667 21.5625L100 22.875L106.333 20.25L112.667 29H119" stroke="#FFEACA"/>
|
||||
<path d="M78 14V32H120" stroke="#FF8C38"/>
|
||||
<circle cx="83.5" cy="58.5" r="6.5" fill="#FFEACA"/>
|
||||
<circle cx="20" cy="61" r="4" fill="#FF8C38"/>
|
||||
<circle cx="43" cy="51" r="4" fill="#FFEACA"/>
|
||||
<circle cx="54" cy="56" r="4" fill="#FFEACA"/>
|
||||
<circle cx="35" cy="63" r="4" fill="#FFEACA"/>
|
||||
<circle cx="33.5" cy="54.5" r="2.5" fill="#FF8C38"/>
|
||||
<circle cx="49.5" cy="64.5" r="2.5" fill="#FF8C38"/>
|
||||
<circle cx="26" cy="51" r="2" fill="#FFEACA"/>
|
||||
<circle cx="17" cy="50" r="2" fill="#FF8C38"/>
|
||||
<circle cx="98.5" cy="58.5" r="6.5" fill="#FFEACA"/>
|
||||
<circle cx="113.5" cy="58.5" r="6.5" fill="#FFEACA"/>
|
||||
<rect x="77" y="47" width="28" height="2" rx="1" fill="#FF8C38"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
Binary file not shown.
@@ -0,0 +1,21 @@
|
||||
<svg width="135" height="80" viewBox="0 0 135 80" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="135" height="80" fill="white"/>
|
||||
<rect x="10" y="10" width="53.5" height="26" rx="1" fill="#9DD194"/>
|
||||
<rect x="71.5" y="10" width="53.5" height="26" rx="1" fill="#9DD194"/>
|
||||
<rect x="10" y="44" width="53.5" height="26" rx="1" fill="#9DD194"/>
|
||||
<path d="M106 10H124C124.552 10 125 10.4477 125 11V35C125 35.5523 124.552 36 124 36H106V10Z" fill="#7CC270"/>
|
||||
<path d="M10 56L10 45C10 44.4477 10.4477 44 11 44L62.5 44C63.0523 44 63.5 44.4477 63.5 45L63.5 56L10 56Z" fill="#7CC270"/>
|
||||
<rect x="71.5" y="44" width="53.5" height="26" rx="1" fill="#9DD194"/>
|
||||
<rect x="83" y="48" width="28" height="2" rx="1" fill="#DFF4E8"/>
|
||||
<rect x="26" y="20" width="22" height="3" rx="1.5" fill="#DFF4E8"/>
|
||||
<rect x="26" y="49" width="22" height="2" rx="1" fill="#DFF4E8"/>
|
||||
<rect x="31" y="25" width="12" height="2" rx="1" fill="#DFF4E8"/>
|
||||
<rect x="78" y="17" width="19" height="1" rx="0.5" fill="#DFF4E8"/>
|
||||
<rect x="78" y="21" width="19" height="1" rx="0.5" fill="#DFF4E8"/>
|
||||
<rect x="101" y="55" width="18" height="1" rx="0.5" fill="#DFF4E8"/>
|
||||
<rect x="78" y="25" width="19" height="1" rx="0.5" fill="#DFF4E8"/>
|
||||
<rect x="101" y="60" width="18" height="1" rx="0.5" fill="#DFF4E8"/>
|
||||
<rect x="78" y="29" width="19" height="1" rx="0.5" fill="#DFF4E8"/>
|
||||
<rect x="101" y="65" width="18" height="1" rx="0.5" fill="#DFF4E8"/>
|
||||
<rect x="77" y="55" width="18" height="11" rx="1" fill="#DFF4E8"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.4 KiB |
Binary file not shown.
Reference in New Issue
Block a user