dsh-crate 0.5.2 → 0.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/assets/logo.svg CHANGED
@@ -1,37 +1,15 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" role="img" aria-labelledby="t">
2
2
  <title id="t">crate</title>
3
- <!-- 品牌标记:四个方块,右上那一块会从外侧飞进来落位。
4
- 波浪按对角线依次变暗,飞块同时参与波浪,节奏与上游 dsh-market 一致。 -->
5
- <style>
6
- .cell{ animation: dshmWave 2.8s cubic-bezier(.4,0,.2,1) infinite; animation-delay: calc(var(--w) * 200ms); }
7
- .plug{
8
- transform-box: fill-box;
9
- transform-origin: 50% 50%;
10
- animation:
11
- dshmWave 2.8s cubic-bezier(.4,0,.2,1) 200ms infinite,
12
- dshmPlug 2.8s cubic-bezier(.4,0,.2,1) infinite;
13
- }
14
- @keyframes dshmWave{
15
- 0%,100%{ opacity: 1; }
16
- 6%{ opacity: .5; }
17
- 16%{ opacity: 1; }
18
- }
19
- @keyframes dshmPlug{
20
- 0%,8%{ transform: translate(12px,-12px) rotate(9deg); }
21
- 22%{ transform: translate(-1px,1px) rotate(0deg); }
22
- 30%,62%{ transform: translate(0,0) rotate(0deg); }
23
- 76%,100%{ transform: translate(12px,-12px) rotate(9deg); }
24
- }
25
- @media (prefers-reduced-motion: reduce){
26
- .cell,.plug{ animation: none; }
27
- }
28
- </style>
29
- <rect width="128" height="128" rx="28" fill="#f6f2ea"/>
30
- <!-- 四格整体缩到 90%:飞块位移 12px 时外角仍留在圆角底板内。 -->
31
- <g fill="#2b2620" transform="translate(6.4 6.4) scale(0.9)">
32
- <rect class="cell" style="--w:0" x="16" y="16" width="44" height="44" rx="7"/>
33
- <rect class="cell" style="--w:1" x="16" y="68" width="44" height="44" rx="7"/>
34
- <rect class="cell" style="--w:2" x="68" y="68" width="44" height="44" rx="7"/>
35
- <rect class="plug" x="68" y="16" width="44" height="44" rx="7"/>
3
+ <!-- 品牌标记:奶油圆角底板 + 线条箱体,与网站头部、favicon 同一套几何。
4
+ 坐标沿用 16 视口,整体放大 6 倍落在 96×96 的安全区里。 -->
5
+ <rect width="128" height="128" rx="16" fill="#f6f2ea"/>
6
+ <g transform="translate(16 16) scale(6)" fill="none" stroke="#192c38" stroke-width="1.25" stroke-linecap="butt" stroke-linejoin="miter">
7
+ <rect x="0.5" y="0.5" width="15" height="15"/>
8
+ <path d="M0.5 3.5H12.5"/>
9
+ <path d="M12.5 0.5V12.5"/>
10
+ <path d="M3.5 12.5H15.5"/>
11
+ <path d="M3.5 3.5V15.5"/>
12
+ <path d="M6.5 3.5V12.5"/>
13
+ <path d="M9.5 3.5V12.5"/>
36
14
  </g>
37
15
  </svg>