fix: 아이콘 크기 예시가 전부 같은 크기로 나오던 문제
토큰 커스텀 프로퍼티가 --fox-size-icon-4가 아니라 --fox-icon-4다. 잘못된 var()라 font-size가 무효가 되어 물려받은 크기로 그려졌다. Co-Authored-By: Claude Opus 5
@ece0ecff1062ba92c6cca948e945d55f6c972015
--- @fox/dev-test/component-registry.tsx
+++ @fox/dev-test/component-registry.tsx
... | ... | @@ -886,7 +886,7 @@ |
| 886 | 886 |
<span key={size} className={styles.demoLabelled}>
|
| 887 | 887 |
<i |
| 888 | 888 |
className="fox-ico fox-ico--fill fox-ico-Star" |
| 889 |
- style={{ fontSize: `var(--fox-size-icon-${size})` }}
|
|
| 889 |
+ style={{ fontSize: `var(--fox-icon-${size})` }}
|
|
| 890 | 890 |
aria-hidden="true" |
| 891 | 891 |
/> |
| 892 | 892 |
<small>icon({size})</small>
|
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?