Skip to content

Commit

Permalink
fix(transfer): [transfer] fix uncorrect vars for transfer (opentiny#2598
Browse files Browse the repository at this point in the history
)
  • Loading branch information
MomoPoppy authored Dec 3, 2024
1 parent c923474 commit ac4e4cf
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
8 changes: 4 additions & 4 deletions packages/theme/src/base/aurora-theme.less
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,9 @@
--tv-color-act-info-bg-hover: #54657e; // #54657e 信息hover背景色-1
--tv-color-act-info-bg-active: #54657e; // #54657e 信息active背景色-1

--tv-color-act-info-bg-light: rgba(51,51,51,0.06); // #f0f7ff 信息背景色-1(信息主色衍生色):朴素
--tv-color-act-info-bg-light-hover: #333; // #f0f7ff 信息hover背景色-1
--tv-color-act-info-bg-light-active:#54657e; // #f0f7ff 信息active背景色-1
--tv-color-act-info-bg-light: rgba(51,51,51,0.06); // rgba(51,51,51,0.06) 信息背景色-1(信息主色衍生色):朴素
--tv-color-act-info-bg-light-hover: #333; // #333 信息hover背景色-1
--tv-color-act-info-bg-light-active:#54657e; // #54657e 信息active背景色-1

--tv-color-act-info-border: #333; // #333 信息边框色-1:默认 / 幽灵
--tv-color-act-info-border-hover: #54657e; // #54657e 信息hover边框色-1.1
Expand All @@ -264,7 +264,7 @@
--tv-color-text-placeholder: #999; // #999 占位文本色
--tv-color-text-disabled: #999; // #999 禁用文本色
--tv-color-text-active: #1890ff; // #1890ff 选中文本色 / 文本高亮色(搜索关键字高亮)
--tv-color-text-important: #333; // #191919 重要文本色-文本_金额
--tv-color-text-important: #f5222d; // #f5222d 重要文本色-文本_金额
--tv-color-text-white: var(--tv-base-color-common-1); // #fff 深色背景上-文本色
--tv-color-text-link: #1890ff; // #1890ff 链接色(链接按钮)
--tv-color-text-link-hover: #40a9ff; // #1476ff 链接悬浮色
Expand Down
9 changes: 4 additions & 5 deletions packages/theme/src/transfer/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -320,14 +320,13 @@
text-align: center;
border: 1px solid;
border-radius: var(--tv-Transfer-header-sort-border-radius);
color: var(--tv-Transfer-header-sort-text-color);
color: var(--tv-Transfer-header-sort-icon-color);
display: inline-block;
cursor: pointer;

i {
width: calc(var(--tv-Transfer-header-sort-width) - 2px);
height: calc(var(--tv-Transfer-header-sort-width) - 2px);
display: block;
.tiny-svg {
fill: var(--tv-Transfer-header-sort-icon-color);
vertical-align: text-top;
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions packages/theme/src/transfer/vars.less
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@
--tv-Transfer-header-font-size: var(--tv-font-size-default, 14px);
// 面板头部排序图标宽度
--tv-Transfer-header-sort-width: 20px;
// 面板头部排序图标文本色
--tv-Transfer-header-sort-text-color: var(--tv-color-text-important, #191919);
// 面板头部排序图标色
--tv-Transfer-header-sort-icon-color: var(--tv-color-icon-control, #191919);
// 面板底部高度
--tv-Transfer-footer-height: 40px;
// 面板底部背景色
Expand Down

0 comments on commit ac4e4cf

Please sign in to comment.