Skip to content

Commit 64ccc0b

Browse files
authored
feat: use gravity icons (#275)
* feat: use gravity icons * fix: xmark and update tests
1 parent bc4a709 commit 64ccc0b

File tree

33 files changed

+23
-169
lines changed

33 files changed

+23
-169
lines changed
-488 Bytes
Loading
-868 Bytes
Loading
-56 Bytes
Loading
65 Bytes
Loading
34 Bytes
Loading
62 Bytes
Loading
-133 Bytes
Loading
-247 Bytes
Loading

src/components/FeedHeader/components/Controls/Controls.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ import * as React from 'react';
22

33
import {useAnalytics} from '@gravity-ui/page-constructor';
44
import {Button, Icon, MobileProvider, Select} from '@gravity-ui/uikit';
5+
import {Bookmark} from '@gravity-ui/icons';
56

67
import {DefaultGoalIds} from '../../../../constants';
78
import {LikesContext} from '../../../../contexts/LikesContext';
89
import {MobileContext} from '../../../../contexts/MobileContext';
910
import {AnalyticsCounter} from '../../../../counters/utils';
1011
import {Keyset, i18n} from '../../../../i18n';
11-
import {Save} from '../../../../icons/Save';
1212
import {DefaultEventNames, FetchArgs, Query} from '../../../../models/common';
1313
import {block} from '../../../../utils/cn';
1414
import {Search} from '../../../Search/Search';
@@ -208,7 +208,7 @@ export const Controls = ({
208208
selected={savedOnly}
209209
>
210210
<Icon
211-
data={Save}
211+
data={Bookmark}
212212
size={ICON_SIZE}
213213
className={b('icon', {savedOnly})}
214214
/>

src/components/FeedHeader/components/CustomSwitcher/CustomSwitcher.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
$block: '.#{$namespace}feed-custom-switcher';
55

6-
$clearIconSize: 11px;
6+
$clearIconSize: 18px;
77

88
#{$block} {
99
$root: &;
@@ -39,7 +39,7 @@ $clearIconSize: 11px;
3939
.g-select-clear {
4040
width: $clearIconSize;
4141
height: $clearIconSize;
42-
margin-right: 9px;
42+
margin-right: 6px;
4343
}
4444
}
4545

0 commit comments

Comments
 (0)