style: Update toolbar button hover and active states

- Updated styles and icons for hover and active states of toolbar buttons.
This commit is contained in:
kangfenmao 2024-09-06 14:12:01 +08:00
parent 3859289218
commit e73bbf4d6a

View File

@ -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);
}
}