Skip to content

Commit 338d7db

Browse files
committed
fix(button): [button] Adapt to fark themes
1 parent b484f55 commit 338d7db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/theme/src/button/index.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@
280280
&:hover,
281281
&.is-active {
282282
border-color: var(--tv-Button-border-color-only-icon-default-hover);
283-
// 为适配暗色主题,仅图标增加默认图标悬浮颜色
283+
// 为适配暗色主题,仅图标增加图标悬浮颜色
284284
svg {
285285
fill: var(--tv-Button-color-only-icon-default-hover);
286286
}
@@ -348,7 +348,7 @@
348348
fill: var(--tv-Button-icon-color);
349349
color: var(--tv-Button-icon-color);
350350
}
351-
// 上面为图标加上悬浮颜色,这里禁用时去掉hover颜色
351+
// 上面为图标加上悬浮颜色,这里禁用时去掉图标hover颜色
352352
&.is-disabled {
353353
&:hover {
354354
svg {

0 commit comments

Comments
 (0)