mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-23 08:46:09 +01:00
This commit is contained in:
parent
025a8ea5a7
commit
2872dab9eb
6 changed files with 15 additions and 3 deletions
|
|
@ -1,5 +1,8 @@
|
|||
document.body.insertAdjacentHTML('afterbegin', `<svg style="position: absolute; width: 0; height: 0; overflow: hidden;" xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<symbol id="iconKey" viewBox="0 0 32 32">
|
||||
<path d="M19.602 1c-6.295 0-11.398 5.103-11.398 11.398 0 2.636 0.896 5.062 2.396 6.993l-1.541 1.541-2.336-2.336c-0.055-0.054-0.131-0.087-0.214-0.087s-0.159 0.033-0.214 0.087l-1.492 1.492c-0.054 0.055-0.087 0.131-0.087 0.214s0.033 0.159 0.087 0.214l2.336 2.336-1.683 1.683-2.336-2.336c-0.055-0.054-0.131-0.087-0.214-0.087s-0.159 0.033-0.214 0.087l-1.492 1.492c-0.054 0.055-0.087 0.131-0.087 0.214s0.033 0.159 0.087 0.214l2.336 2.336-2.448 2.448c-0.054 0.054-0.087 0.129-0.087 0.212s0.033 0.157 0.087 0.212l1.586 1.586c0.116 0.116 0.307 0.116 0.424 0l9.509-9.509c1.909 1.492 4.343 2.392 6.987 2.392 0.003 0 0.006 0 0.010 0h-0c6.295 0 11.398-5.103 11.398-11.398s-5.103-11.398-11.398-11.398zM25.646 18.442c-1.612 1.616-3.761 2.505-6.044 2.505s-4.432-0.889-6.044-2.505c-1.616-1.612-2.505-3.761-2.505-6.044s0.889-4.432 2.505-6.044c1.612-1.616 3.761-2.505 6.044-2.505s4.432 0.889 6.044 2.505c1.616 1.612 2.505 3.761 2.505 6.044s-0.889 4.432-2.505 6.044z"></path>
|
||||
</symbol>
|
||||
<symbol id="iconClock" viewBox="0 0 32 32">
|
||||
<path d="M16 1c-8.283 0-15 6.717-15 15s6.717 15 15 15 15-6.717 15-15-6.717-15-15-15zM16 28.455c-6.877 0-12.455-5.578-12.455-12.455s5.578-12.455 12.455-12.455 12.455 5.578 12.455 12.455-5.578 12.455-12.455 12.455z"></path>
|
||||
<path d="M21.849 20.239l-4.775-3.452v-8.287c0-0.147-0.12-0.268-0.268-0.268h-1.61c-0.147 0-0.268 0.12-0.268 0.268v9.221c0 0.087 0.040 0.167 0.11 0.218l5.538 4.038c0.12 0.087 0.288 0.060 0.375-0.057l0.958-1.306c0.087-0.124 0.060-0.291-0.060-0.375z"></path>
|
||||
|
|
|
|||
|
|
@ -2,5 +2,5 @@
|
|||
"name": "ant",
|
||||
"author": "Vanessa",
|
||||
"url": "https://github.com/Vanessa219",
|
||||
"version": "1.24.0"
|
||||
"version": "1.25.0"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,6 +28,12 @@
|
|||
<body>
|
||||
<h2>SiYuan</h2>
|
||||
<div class="fn__clear">
|
||||
<div>
|
||||
<svg>
|
||||
<use xlink:href="#iconKey"></use>
|
||||
</svg>
|
||||
iconKey
|
||||
</div>
|
||||
<div>
|
||||
<svg>
|
||||
<use xlink:href="#iconClock"></use>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
document.body.insertAdjacentHTML('afterbegin', `<svg style="position: absolute; width: 0; height: 0; overflow: hidden;" xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<symbol id="iconKey" viewBox="0 0 32 32">
|
||||
<path d="M9.561 23.727q-3.22 0-5.473-2.254t-2.254-5.474 2.254-5.473 5.473-2.254q2.125 0 3.896 1.063t2.801 2.801h13.909v7.727h-2.576v3.864h-7.727v-3.864h-3.606q-1.030 1.739-2.801 2.801t-3.896 1.063zM9.561 21.151q2.125 0 3.413-1.304t1.545-2.56h7.92v3.864h2.576v-3.864h2.576v-2.576h-13.072q-0.258-1.256-1.545-2.56t-3.413-1.304-3.638 1.513-1.513 3.638 1.513 3.638 3.638 1.513zM9.561 18.576q1.063 0 1.819-0.757t0.757-1.819-0.757-1.819-1.819-0.757-1.819 0.757-0.757 1.819 0.757 1.819 1.819 0.757z"></path>
|
||||
</symbol>
|
||||
<symbol id="iconClock" viewBox="0 0 32 32">
|
||||
<path d="M20.95 23.050l2.1-2.1-5.55-5.55v-6.9h-3v8.1l6.45 6.45zM16 31q-3.113 0-5.85-1.181t-4.763-3.206-3.206-4.762-1.181-5.85 1.181-5.85 3.206-4.763 4.763-3.206 5.85-1.181 5.85 1.181 4.762 3.206 3.206 4.763 1.181 5.85-1.181 5.85-3.206 4.762-4.762 3.206-5.85 1.181zM16 28q4.988 0 8.494-3.506t3.506-8.494-3.506-8.494-8.494-3.506-8.494 3.506-3.506 8.494 3.506 8.494 8.494 3.506z"></path>
|
||||
</symbol>
|
||||
|
|
|
|||
|
|
@ -2,5 +2,5 @@
|
|||
"name": "material",
|
||||
"author": "Vanessa",
|
||||
"url": "https://github.com/Vanessa219",
|
||||
"version": "1.24.0"
|
||||
"version": "1.25.0"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -281,7 +281,7 @@ export const getColIconByType = (type: TAVCol) => {
|
|||
case "text":
|
||||
return "iconAlignLeft";
|
||||
case "block":
|
||||
return "iconParagraph";
|
||||
return "iconKey";
|
||||
case "number":
|
||||
return "iconNumber";
|
||||
case "select":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue