Skip to content

Commit

Permalink
fix(style): fix review
Browse files Browse the repository at this point in the history
  • Loading branch information
wenmine committed Sep 26, 2024
1 parent 2a23010 commit e73bc20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/theme/base/src/base.less
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@
/**
* 1.3 字号
**/
--te-base-font-size: 11px; // 正文-常规
--te-base-font-size-sm: 11px; // 正文-常规
--te-base-font-size-base: 12px; // 正文-常规
--te-base-font-size-1: 14px;
--te-base-font-size-2: 16px;
Expand Down
6 changes: 1 addition & 5 deletions packages/theme/base/src/component-common.less
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@
}
}
&.is-disabled .tiny-input__inner {
fill: var(--te-common-text-disabled);
background: var(--te-common-bg-disabled);
color: var(--te-common-text-disabled);
font-size: var(--te-base-font-size-base);
Expand Down Expand Up @@ -265,15 +264,13 @@
border: 1px solid var(--te-common-border-secondary);
color: var(--te-common-text-primary);
background-color: var(--te-common-bg-default);
fill: var(--te-common-bg-default);
&:hover {
border: 1px solid var(--te-common-border-hover);
}
}
// 确认按钮
&.tiny-button--primary {
background-color: var(--te-common-bg-primary);
fill: var(--te-common-bg-primary);
color: var(--te-common-text-inverse);
border: 1px solid var(--te-common-border-active);
&:hover {
Expand Down Expand Up @@ -415,7 +412,6 @@
}
}
.tiny-numeric-base .is-disabled {
fill: var(--te-common-bg-disabled);
background: var(--te-common-bg-disabled);
color: var(--te-common-text-disabled);
}
Expand Down Expand Up @@ -636,7 +632,7 @@
padding-top: 4px;
}
.tiny-form-item__error {
font-size: var(--te-base-font-size);
font-size: var(--te-base-font-size-base);
}
}

Expand Down

0 comments on commit e73bc20

Please sign in to comment.