Skip to content

Commit

Permalink
fix: used colorText
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruminat committed Aug 14, 2024
1 parent 29f706c commit 5e80065
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 0 additions & 4 deletions src/components/Reactions/Reactions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
$block: '.#{variables.$ns}reactions';

#{$block} {
&__add-reaction-button-content {
color: var(--g-color-text-secondary);
}

&__popup {
padding: 8px;
}
Expand Down
3 changes: 2 additions & 1 deletion src/components/Reactions/Reactions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {
PaletteProps,
Popover,
QAProps,
colorText,
} from '@gravity-ui/uikit';
import xor from 'lodash/xor';

Expand Down Expand Up @@ -162,7 +163,7 @@ export function Reactions({
extraProps={{'aria-label': i18n('add-reaction')}}
view="flat"
>
<span className={b('add-reaction-button-content')}>
<span className={colorText({color: 'secondary'})}>
<Button.Icon>
<Icon data={FaceSmile} size={buttonSizeToIconSize[size]} />
</Button.Icon>
Expand Down

0 comments on commit 5e80065

Please sign in to comment.