zarm icon indicating copy to clipboard operation
zarm copied to clipboard

style(CSSVars):NoticeBar、Message、Stepper、Progress的css变量及类型修改

Open LentoYe opened this issue 2 years ago • 4 comments

LentoYe avatar Sep 28 '22 06:09 LentoYe

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
zarm ✅ Ready (Inspect) Visit Preview Oct 20, 2022 at 6:49AM (UTC)

vercel[bot] avatar Sep 28 '22 06:09 vercel[bot]

⚡️ Deploying PR Preview...

github-actions[bot] avatar Sep 28 '22 06:09 github-actions[bot]

Codecov Report

Merging #949 (c881e3a) into feature (3a75521) will increase coverage by 0.28%. The diff coverage is n/a.

@@             Coverage Diff             @@
##           feature     #949      +/-   ##
===========================================
+ Coverage    78.70%   78.99%   +0.28%     
===========================================
  Files          249      249              
  Lines         5781     5751      -30     
  Branches      1253     1280      +27     
===========================================
- Hits          4550     4543       -7     
+ Misses        1224     1201      -23     
  Partials         7        7              
Impacted Files Coverage Δ
packages/zarm/src/index.ts 100.00% <ø> (ø)
packages/zarm/src/message/Message.tsx 100.00% <ø> (ø)
packages/zarm/src/message/index.ts 100.00% <ø> (ø)
packages/zarm/src/notice-bar/index.tsx 100.00% <ø> (ø)
packages/zarm/src/progress/index.tsx 100.00% <ø> (ø)
packages/zarm/src/stepper/Stepper.tsx 93.93% <ø> (ø)
packages/zarm/src/stepper/index.ts 100.00% <ø> (ø)
packages/zarm/src/swipe-action/SwipeActionItem.tsx 73.68% <0.00%> (-1.32%) :arrow_down:
packages/zarm/src/swipe-action/index.tsx
... and 2 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

codecov[bot] avatar Sep 28 '22 06:09 codecov[bot]

Message 和 NoticeBar 样式被改动了,和之前不一致。

JeromeLin avatar Oct 18 '22 11:10 JeromeLin

不一致原因: 开放变量后,样式重名会引用 default.scss中的变量,已注释该文件中样式; Message与 Notice 存在嵌套关系导致 font-size 变量重名,需更改内嵌的优先级,最新提交已修复。

LentoYe avatar Oct 19 '22 05:10 LentoYe

将所有组件 CSS 变量签名在入口导出(NoticeBarCssVars、MessageCssVars、StepperCssVars、ProgressCssVars...)

dominicleo avatar Oct 20 '22 05:10 dominicleo