Skip to content

Commit

Permalink
fix(button): fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shenjunjian committed Oct 10, 2024
1 parent 4b4d9d7 commit 0d9135e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions packages/theme/src/base/vars.less
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,8 @@
--tv-color-border-active-control: var(--tv-base-color-brand-6); // #1476ff 主色蓝,单选/复选选中的边框色
--tv-color-border-disabled: var(--tv-base-color-common-6); // #dbdbdb 线条禁用色
--tv-color-border-secondary: var(--tv-base-color-common-9); // #595959 线条-次要色:次要按钮边框默认色
--tv-color-border-ghost: var(--tv-base-color-common-8); // #808080
--tv-color-border-ghost-active: var(--tv-base-color-common-6); // #dbdbdb

/* 2.7.2 分割线 */
--tv-color-border-divider: var(--tv-base-color-common-4); // #f0f0f0 分割线1(较长分割线场景)
Expand Down
4 changes: 2 additions & 2 deletions packages/theme/src/button/vars.less
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
// 默认时按钮幽灵文本色
--tv-Button-text-color-ghost-default: var(--tv-color-text-secondary);
// 默认时按钮幽灵边框色
--tv-Button-border-color-ghost-default: #808080; // 没有这个边框色,可能设计师搞错了。
--tv-Button-border-color-ghost-default: var(--tv-color-border-ghost);

// primary 主题时按钮幽灵文本色
--tv-Button-text-colorghostn-primary: var(--tv-color-act-primary-text);
Expand Down Expand Up @@ -215,7 +215,7 @@
// 默认时按钮激活的朴素边框色
--tv-Button-border-color-plain-active-default: var(--tv-color-bg); // 朴素激活都无边框,所以等于背景色。
// 默认时按钮激活的幽灵边框色
--tv-Button-border-color-ghost-active-default: #dbdbdb; // 暂无对应变量
--tv-Button-border-color-ghost-active-default: var(--tv-color-border-ghost-active);

// primary 主题时按钮激活的背景色
--tv-Button-bg-color-active-primary: var(--tv-color-act-primary-bg-active);
Expand Down

0 comments on commit 0d9135e

Please sign in to comment.