You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
比如
Tab,size=small的时候,字体大小还是14px
希望是12px, 不然理论上变化都是至少间距,实际上看起来差距并不大
然后大概看了其他项目Tab,size=small的时候
AntDesign,14px固定
Arco,鸡贼的增加size=mini,这时候fontSize=12
mui, 每个size都是不同大小
刚好代表三种
然后,还有一个表现,antDesign虽然tab固定了14px, 但是他的Input组件,如果是size=small,字体大小不是固定的,这样的好处就是我可以直接给最外层设置最小大小,也能间接实现12px的效果
还有延伸,最好的情况是有个全局token叫element-size-small-font-size,这样设置起来也很方便
Beta Was this translation helpful? Give feedback.
All reactions