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(skeleton): [skeleton] Adapting to the SMB theme #2171

Merged
merged 1 commit into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions packages/theme/src/skeleton-item/vars.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@
// 图片颜色设置
--ti-skeleton-item-image-icon-color: var(--ti-common-color-bg-normal);
// 方形高度设置
--ti-skeleton-item-square-height: var(--ti-common-size-4x);
--ti-skeleton-item-square-height: var(--ti-common-size-7x);
// 圆角半径设置
--ti-skeleton-item-circle-border-radius: var(--ti-common-border-radius-3, 50%);
// 圆形大尺寸设置
--ti-skeleton-item-circle-border-radius: 50%;
--ti-skeleton-item-circle-large-size: var(--ti-common-size-15x);
// 圆形中尺寸设置
--ti-skeleton-item-circle-medium-size: var(--ti-common-size-10x);
--ti-skeleton-item-circle-medium-size: var(--ti-common-size-12x);
// 圆形小尺寸设置
--ti-skeleton-item-circle-small-size: var(--ti-common-size-5x);
// 小图片高度设置
Expand Down
4 changes: 2 additions & 2 deletions packages/theme/src/skeleton/vars.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
--ti-skeleton-avatar-background-color: var(--ti-common-color-bg-disabled, #f5f5f6);
--ti-skeleton-avatar-margin-right: var(--ti-common-space-4x, 16px);
--ti-skeleton-title-margin-bottom: var(--ti-common-space-4x, 16px);
--ti-skeleton-title-width: 20%;
--ti-skeleton-title-width: 240px;
--ti-skeleton-row-margin-bottom: var(--ti-common-space-3x, 12px);
--ti-skeleton-last-row-width: 60%;
--ti-skeleton-title-height: var(--ti-common-space-6x);
--ti-skeleton-title-height: 48px;
--ti-skeleton-rows-margin-top: var(--ti-common-space-6x);
--ti-skeleton-rows-margin-bottom: var(--ti-common-space-6x);
}
Loading