Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(card): css variables for border and padding #6583

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

guoyunhe
Copy link
Contributor

@guoyunhe guoyunhe commented Mar 29, 2024

CSS 变量

属性 说明 默认值 全局变量
--border-radius 圆角大小 8px --adm-card-border-radius
--padding-x 水平内边距 12px --adm-card-padding-x
--padding-y 垂直内边距 12px --adm-card-padding-y
--header-border-width 头部分割线宽度 0.5px --adm-card-header-border-width
--header-border-color 头部分割线颜色 var(--adm-color-border) --adm-card-header-border-color

Copy link
Contributor

github-actions bot commented Mar 29, 2024

Size Change: +136 B (0%)

Total Size: 353 kB

Filename Size Change
./lib/bundle/antd-mobile.compatible.umd.js 189 kB +59 B (0%)
./lib/bundle/style.css 18 kB +77 B (0%)
ℹ️ View Unchanged
Filename Size
./lib/bundle/antd-mobile.umd.js 144 kB
./lib/bundle/css-vars-patch.css 1.43 kB

compressed-size-action

Copy link
Contributor

github-actions bot commented Mar 29, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
./lib/bundle/antd-mobile.es.js 137.36 KB 2.8 s (0%) 1.2 s (+10.89% 🔺) 4 s

Copy link
Contributor

PR preview has been successfully built and deployed to https://antd-mobile-preview-pr-6583.surge.sh

Copy link

codecov bot commented Mar 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.28%. Comparing base (bfbc96e) to head (073def4).
Report is 5 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6583      +/-   ##
==========================================
- Coverage   92.34%   92.28%   -0.06%     
==========================================
  Files         318      318              
  Lines        6909     6962      +53     
  Branches     1729     1754      +25     
==========================================
+ Hits         6380     6425      +45     
- Misses        493      499       +6     
- Partials       36       38       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant