From e73bbf4d6a297411271788567729ada7bbb11250 Mon Sep 17 00:00:00 2001 From: kangfenmao Date: Fri, 6 Sep 2024 14:12:01 +0800 Subject: [PATCH] style: Update toolbar button hover and active states - Updated styles and icons for hover and active states of toolbar buttons. --- src/renderer/src/pages/home/Inputbar/Inputbar.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/renderer/src/pages/home/Inputbar/Inputbar.tsx b/src/renderer/src/pages/home/Inputbar/Inputbar.tsx index 9164115f..4c4c2080 100644 --- a/src/renderer/src/pages/home/Inputbar/Inputbar.tsx +++ b/src/renderer/src/pages/home/Inputbar/Inputbar.tsx @@ -344,14 +344,19 @@ const ToolbarButton = styled(Button)` justify-content: center; align-items: center; padding: 0; - &.anticon { + .iconfont { + font-size: 17px; + } + &.anticon, + &.iconfont { transition: all 0.3s ease; color: var(--color-icon); } &:hover, &.active { background-color: var(--color-background-soft); - .anticon { + .anticon, + .iconfont { color: var(--color-text-1); } }