Skip to content

Commit 6922ff2

Browse files
authored
fix(svg): compatible with the original icon behavior. (#3891)
* fix(svg): compatible with the original icon behavior. when no primary or secondary color is passed, remove the fill attribute inside the icon * fix(input): revert disabled color * fix(svg): revert svg * fix(icons): 批量更新css var * fix(icons): fix copy scripts
1 parent 01103de commit 6922ff2

File tree

570 files changed

+1671
-1671
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

570 files changed

+1671
-1671
lines changed

internals/automate/src/copy-svgs-raw/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ function copyRaws() {
8282
`${rawPath}/${filename}`,
8383
(content) => {
8484
return content
85-
.replaceAll('#191919', 'var(--tiny-first-color, #191919)')
86-
.replaceAll('#AEAEAE', 'var(--tiny-second-color, #aeaeAE)')
87-
.replaceAll('#aeaeae', 'var(--tiny-second-color, #aeaeAE)')
85+
.replaceAll('#191919', 'var(--tiny-first-color)')
86+
.replaceAll('#AEAEAE', 'var(--tiny-second-color)')
87+
.replaceAll('#aeaeae', 'var(--tiny-second-color)')
8888
},
8989
`${svgsPath}/${name}`
9090
)

packages/theme-saas/src/input/index.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
&.is-disabled &__inner {
4848
@apply cursor-not-allowed;
4949
@apply border border-solid border-color-border;
50-
@apply text-color-text-disabled;
50+
@apply text-color-text-secondary; // 231 环境特意要求颜色变浅, 不使用text-color-text-disabled 的
5151
@apply bg-color-bg-6;
5252
.placeholder(@color:theme('colors.color.text.disabled'));
5353

Lines changed: 3 additions & 3 deletions
Loading
Lines changed: 3 additions & 3 deletions
Loading

0 commit comments

Comments
 (0)