forked from a-kkiri/SimpleNote
-
Notifications
You must be signed in to change notification settings - Fork 0
/
resource.typ
25 lines (17 loc) · 9.18 KB
/
resource.typ
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Github Logo
#let githubSvg = ```<svg xmlns="http://www.w3.org/2000/svg" width="32" height="24" viewBox="0 0 24 24"><path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/></svg>```.text
#let defSvg = ```<svg width="256" height="165" viewBox="0 0 256 165" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M45 0C20.1472 0 0 20.1472 0 45V120C0 144.853 20.1472 165 45 165H211C235.853 165 256 144.853 256 120V45C256 20.1472 235.853 0 211 0H45ZM29.375 34.5V127H55.75C83 127 100.375 111.5 100.375 80.375C100.375 49.125 83 34.5 54.75 34.5H29.375ZM53.5 112.125H47.875V49.25H53.5C70.875 49.25 81.5 57.875 81.5 80.375C81.5 102.875 70.875 112.125 53.5 112.125ZM112.733 92.125C112.733 115.25 127.983 128.75 147.608 128.75C156.233 128.75 164.983 125.875 171.858 121.125L165.733 109.75C160.608 112.875 155.608 114.625 149.983 114.625C139.608 114.625 132.108 108.75 130.483 97.25H173.733C174.108 95.5 174.483 92.25 174.483 88.75C174.483 69.375 164.608 55.375 145.233 55.375C128.733 55.375 112.733 69.375 112.733 92.125ZM158.858 85H130.233C131.733 74.75 138.233 69.5 145.608 69.5C154.608 69.5 158.858 75.5 158.858 85ZM191.52 71.5V127H209.895V71.5H223.145V57.125H209.895V51.125C209.895 43.375 212.895 40 218.395 40C220.77 40 223.395 40.625 225.77 41.625L229.27 27.875C226.145 26.75 221.395 25.625 215.895 25.625C198.395 25.625 191.52 36.875 191.52 51.375V57.2054L182.145 57.875V71.5H191.52Z" fill="#cc6a16"/>
</svg>```.text
#let egSvg = ```<svg width="256" height="165" viewBox="0 0 256 165" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M45 0C20.1472 0 0 20.1472 0 45V120C0 144.853 20.1472 165 45 165H211C235.853 165 256 144.853 256 120V45C256 20.1472 235.853 0 211 0H45ZM19.5 82.125C19.5 105.25 34.75 118.75 54.375 118.75C63 118.75 71.75 115.875 78.625 111.125L72.5 99.75C67.375 102.875 62.375 104.625 56.75 104.625C46.375 104.625 38.875 98.75 37.25 87.25H80.5C80.875 85.5 81.25 82.25 81.25 78.75C81.25 59.375 71.375 45.375 52 45.375C35.5 45.375 19.5 59.375 19.5 82.125ZM65.625 75H37C38.5 64.75 45 59.5 52.375 59.5C61.375 59.5 65.625 65.5 65.625 75ZM95.5068 106.75C95.5068 113.625 100.257 118.75 106.882 118.75C113.382 118.75 118.382 113.625 118.382 106.75C118.382 99.875 113.382 94.875 106.882 94.875C100.257 94.875 95.5068 99.875 95.5068 106.75ZM132.531 129.5C132.531 141.75 145.281 147.375 161.656 147.375C185.031 147.375 199.906 136.75 199.906 122.625C199.906 110.25 190.656 105.125 173.781 105.125H161.781C153.656 105.125 150.781 103 150.781 99.375C150.781 96.5 151.906 95 153.781 93.25C156.906 94.375 160.031 94.875 162.781 94.875C177.906 94.875 189.906 87 189.906 71.125C189.906 66.875 188.531 63 186.656 60.625H198.656V47.125H173.406C170.531 46 166.781 45.375 162.781 45.375C148.031 45.375 134.531 54.125 134.531 70.625C134.531 78.875 139.156 85.5 144.031 89V89.5C139.656 92.5 136.156 97.25 136.156 102.5C136.156 108.25 138.906 112 142.531 114.375V115C136.031 118.5 132.531 123.625 132.531 129.5ZM173.781 70.625C173.781 78.875 168.906 83.625 162.781 83.625C156.656 83.625 151.781 78.875 151.781 70.625C151.781 62.375 156.656 57.875 162.781 57.875C169.031 57.875 173.781 62.375 173.781 70.625ZM182.156 125.75C182.156 131.125 175.031 135.75 164.531 135.75C154.281 135.75 147.781 132.5 147.781 126.625C147.781 123.75 149.156 121 152.406 118.375C154.906 119.125 157.781 119.375 162.031 119.375H170.531C178.031 119.375 182.156 120.75 182.156 125.75ZM210.741 106.75C210.741 113.625 215.491 118.75 222.116 118.75C228.616 118.75 233.616 113.625 233.616 106.75C233.616 99.875 228.616 94.875 222.116 94.875C215.491 94.875 210.741 99.875 210.741 106.75Z" fill="#005dae"/>
</svg>```.text
#let tipSvg = ```<svg xmlns="http://www.w3.org/2000/svg" height="16" width="12" viewBox="0 0 384 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path opacity="1" fill="#317a5a" d="M272 384c9.6-31.9 29.5-59.1 49.2-86.2l0 0c5.2-7.1 10.4-14.2 15.4-21.4c19.8-28.5 31.4-63 31.4-100.3C368 78.8 289.2 0 192 0S16 78.8 16 176c0 37.3 11.6 71.9 31.4 100.3c5 7.2 10.2 14.3 15.4 21.4l0 0c19.8 27.1 39.7 54.4 49.2 86.2H272zM192 512c44.2 0 80-35.8 80-80V416H112v16c0 44.2 35.8 80 80 80zM112 176c0 8.8-7.2 16-16 16s-16-7.2-16-16c0-61.9 50.1-112 112-112c8.8 0 16 7.2 16 16s-7.2 16-16 16c-44.2 0-80 35.8-80 80z"/></svg>```.text
#let cautionSvg = ```<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16" viewBox="0 0 512 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path opacity="1" fill="#cc342b" d="M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"/></svg>```.text
#let quoteSvg = ```<svg xmlns="http://www.w3.org/2000/svg" height="16" width="14" viewBox="0 0 448 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path opacity="1" fill="#1c7e8a" d="M0 216C0 149.7 53.7 96 120 96h8c17.7 0 32 14.3 32 32s-14.3 32-32 32h-8c-30.9 0-56 25.1-56 56v8h64c35.3 0 64 28.7 64 64v64c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V320 288 216zm256 0c0-66.3 53.7-120 120-120h8c17.7 0 32 14.3 32 32s-14.3 32-32 32h-8c-30.9 0-56 25.1-56 56v8h64c35.3 0 64 28.7 64 64v64c0 35.3-28.7 64-64 64H320c-35.3 0-64-28.7-64-64V320 288 216z"/></svg>```.text
#let thmSvg = ```<svg width="256" height="165" viewBox="0 0 256 165" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M45 0C20.1472 0 0 20.1472 0 45V120C0 144.853 20.1472 165 45 165H211C235.853 165 256 144.853 256 120V45C256 20.1472 235.853 0 211 0H45ZM35.99 58.215V123H51.53V58.215H73.475V45.3H14.045V58.215H35.99ZM84.92 39.315V123H100.355V82.575C104.66 78.375 107.705 76.065 112.535 76.065C118.205 76.065 120.83 79.11 120.83 88.35V123H136.265V86.355C136.265 71.655 130.7 62.835 118.1 62.835C110.12 62.835 104.24 67.035 99.62 71.445L100.355 60.42V39.315H84.92ZM152.083 64.305V123H167.518V82.575C171.508 78.165 175.393 76.065 178.648 76.065C184.318 76.065 186.943 79.11 186.943 88.35V123H202.378V82.575C206.578 78.165 210.253 76.065 213.613 76.065C219.283 76.065 221.803 79.11 221.803 88.35V123H237.238V86.355C237.238 71.655 231.568 62.835 219.073 62.835C211.408 62.835 205.738 67.455 200.278 73.02C197.548 66.51 192.613 62.835 184.108 62.835C176.548 62.835 171.088 67.035 166.153 72.075H165.838L164.578 64.305H152.083Z" fill="#ccb000"/>
</svg>```.text
#let propSvg = ```<svg width="256" height="165" viewBox="0 0 256 165" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M45 0C20.1472 0 0 20.1472 0 45V120C0 144.853 20.1472 165 45 165H211C235.853 165 256 144.853 256 120V45C256 20.1472 235.853 0 211 0H45ZM8.736 46.96V118H22.944V92.752H32.448C47.712 92.752 59.808 85.552 59.808 69.328C59.808 52.432 47.712 46.96 32.064 46.96H8.736ZM31.488 81.52H22.944V58.288H31.008C40.8 58.288 45.984 60.976 45.984 69.328C45.984 77.392 41.28 81.52 31.488 81.52ZM71.6152 64.336V118H85.7272V86.032C88.7032 78.256 93.7913 75.376 97.9193 75.376C100.134 75.376 101.55 75.7308 103.362 76.1846C103.435 76.2029 103.509 76.2214 103.583 76.24L105.983 64.144C104.351 63.376 102.623 62.992 99.7432 62.992C94.1752 62.992 88.3193 66.736 84.4792 73.84H84.1913L83.0393 64.336H71.6152ZM108.568 91.216C108.568 108.976 120.856 119.344 134.392 119.344C147.832 119.344 160.12 108.976 160.12 91.216C160.12 73.36 147.832 62.992 134.392 62.992C120.856 62.992 108.568 73.36 108.568 91.216ZM145.72 91.216C145.72 101.296 141.688 107.92 134.392 107.92C127 107.92 122.968 101.296 122.968 91.216C122.968 81.04 127 74.512 134.392 74.512C141.688 74.512 145.72 81.04 145.72 91.216ZM172.021 64.336V138.64H186.133V122.32L185.654 113.584C189.686 117.328 194.294 119.344 198.902 119.344C210.71 119.344 221.749 108.784 221.749 90.352C221.749 73.744 213.878 62.992 200.63 62.992C194.87 62.992 189.301 65.968 184.885 69.904H184.598L183.445 64.336H172.021ZM207.253 90.544C207.253 102.16 202.262 107.728 195.829 107.728C192.95 107.728 189.493 106.768 186.133 103.792V80.08C189.781 76.336 193.046 74.512 196.598 74.512C204.085 74.512 207.253 80.176 207.253 90.544ZM231.441 110.128C231.441 115.408 235.089 119.344 240.177 119.344C245.169 119.344 249.009 115.408 249.009 110.128C249.009 104.848 245.169 101.008 240.177 101.008C235.089 101.008 231.441 104.848 231.441 110.128Z" fill="#001932"/>
</svg>```.text