@scribdown/ui-handdrawn 0.2.0 → 0.2.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scribdown/ui-handdrawn",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Scribdown 手绘风格视觉组件:设计 Token、样式与 SVG 资产。",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -181,12 +181,13 @@
181
181
  visibility: visible;
182
182
  }
183
183
 
184
- /* 单个菜单项:横向 icon + 文本。 */
184
+ /* 单个菜单项:横向 icon + 文本(可能是 button 或 a,链接形态需去掉下划线)。 */
185
185
  .scribdown-toolbar-menu-item {
186
186
  display: flex;
187
187
  align-items: center;
188
188
  gap: var(--scribdown-space-2);
189
189
  width: 100%;
190
+ box-sizing: border-box;
190
191
  padding: 8px 10px;
191
192
  background: transparent;
192
193
  border: 0;
@@ -195,6 +196,7 @@
195
196
  font-family: var(--scribdown-font-body);
196
197
  font-size: 14px;
197
198
  text-align: left;
199
+ text-decoration: none;
198
200
  cursor: pointer;
199
201
  transition:
200
202
  color var(--scribdown-duration-fast) var(--scribdown-easing-standard),