diff --git a/src/assets/font-icons/note.svg b/src/assets/font-icons/note.svg index 432f99ee2..903d40f5c 100644 --- a/src/assets/font-icons/note.svg +++ b/src/assets/font-icons/note.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/assets/font-icons/reorder-tabs.svg b/src/assets/font-icons/reorder-tabs.svg new file mode 100644 index 000000000..56b1d9941 --- /dev/null +++ b/src/assets/font-icons/reorder-tabs.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/components/right/Profile.tsx b/src/components/right/Profile.tsx index 92dd96eaf..3f6cf8871 100644 --- a/src/components/right/Profile.tsx +++ b/src/components/right/Profile.tsx @@ -394,7 +394,7 @@ const Profile = ({ const contextActions: MenuItemContextAction[] | undefined = canUpdateMainTab && mainTab !== tab.type && validMainTabTypes.has(tab.type) ? [{ title: lang('ProfileMenuSetMainTab'), - icon: 'replace', + icon: 'reorder-tabs', handler: () => { setMainProfileTab({ chatId, tab: tab.type as ApiProfileTab }); }, diff --git a/src/styles/icons.css b/src/styles/icons.css index 79d78b9f2..60634ebcc 100644 --- a/src/styles/icons.css +++ b/src/styles/icons.css @@ -3,8 +3,8 @@ font-weight: normal; font-style: normal; font-display: block; - src: url("./icons.woff2?ef047748945945a49b46209abb54795c") format("woff2"), -url("./icons.woff?ef047748945945a49b46209abb54795c") format("woff"); + src: url("./icons.woff2?cba4fd3111b01885aeeafb1a9ec56b6b") format("woff2"), +url("./icons.woff?cba4fd3111b01885aeeafb1a9ec56b6b") format("woff"); } .icon-char::before { @@ -624,285 +624,288 @@ url("./icons.woff?ef047748945945a49b46209abb54795c") format("woff"); .icon-reopen-topic::before { content: "\f1c9"; } -.icon-replace::before { +.icon-reorder-tabs::before { content: "\f1ca"; } -.icon-replies::before { +.icon-replace::before { content: "\f1cb"; } -.icon-reply-filled::before { +.icon-replies::before { content: "\f1cc"; } -.icon-reply::before { +.icon-reply-filled::before { content: "\f1cd"; } -.icon-revenue-split::before { +.icon-reply::before { content: "\f1ce"; } -.icon-revote::before { +.icon-revenue-split::before { content: "\f1cf"; } -.icon-save-story::before { +.icon-revote::before { content: "\f1d0"; } -.icon-saved-messages::before { +.icon-save-story::before { content: "\f1d1"; } -.icon-schedule::before { +.icon-saved-messages::before { content: "\f1d2"; } -.icon-scheduled::before { +.icon-schedule::before { content: "\f1d3"; } -.icon-sd-photo::before { +.icon-scheduled::before { content: "\f1d4"; } -.icon-search::before { +.icon-sd-photo::before { content: "\f1d5"; } -.icon-select::before { +.icon-search::before { content: "\f1d6"; } -.icon-sell-outline::before { +.icon-select::before { content: "\f1d7"; } -.icon-sell::before { +.icon-sell-outline::before { content: "\f1d8"; } -.icon-send-outline::before { +.icon-sell::before { content: "\f1d9"; } -.icon-send::before { +.icon-send-outline::before { content: "\f1da"; } -.icon-settings-filled::before { +.icon-send::before { content: "\f1db"; } -.icon-settings::before { +.icon-settings-filled::before { content: "\f1dc"; } -.icon-share-filled::before { +.icon-settings::before { content: "\f1dd"; } -.icon-share-screen-outlined::before { +.icon-share-filled::before { content: "\f1de"; } -.icon-share-screen-stop::before { +.icon-share-screen-outlined::before { content: "\f1df"; } -.icon-share-screen::before { +.icon-share-screen-stop::before { content: "\f1e0"; } -.icon-show-message::before { +.icon-share-screen::before { content: "\f1e1"; } -.icon-sidebar::before { +.icon-show-message::before { content: "\f1e2"; } -.icon-skip-next::before { +.icon-sidebar::before { content: "\f1e3"; } -.icon-skip-previous::before { +.icon-skip-next::before { content: "\f1e4"; } -.icon-smallscreen::before { +.icon-skip-previous::before { content: "\f1e5"; } -.icon-smile::before { +.icon-smallscreen::before { content: "\f1e6"; } -.icon-sort-by-date::before { +.icon-smile::before { content: "\f1e7"; } -.icon-sort-by-number::before { +.icon-sort-by-date::before { content: "\f1e8"; } -.icon-sort-by-price::before { +.icon-sort-by-number::before { content: "\f1e9"; } -.icon-sort::before { +.icon-sort-by-price::before { content: "\f1ea"; } -.icon-speaker-muted-story::before { +.icon-sort::before { content: "\f1eb"; } -.icon-speaker-outline::before { +.icon-speaker-muted-story::before { content: "\f1ec"; } -.icon-speaker-story::before { +.icon-speaker-outline::before { content: "\f1ed"; } -.icon-speaker::before { +.icon-speaker-story::before { content: "\f1ee"; } -.icon-spoiler-disable::before { +.icon-speaker::before { content: "\f1ef"; } -.icon-spoiler::before { +.icon-spoiler-disable::before { content: "\f1f0"; } -.icon-sport::before { +.icon-spoiler::before { content: "\f1f1"; } -.icon-star::before { +.icon-sport::before { content: "\f1f2"; } -.icon-stars-lock::before { +.icon-star::before { content: "\f1f3"; } -.icon-stars-refund::before { +.icon-stars-lock::before { content: "\f1f4"; } -.icon-stats::before { +.icon-stars-refund::before { content: "\f1f5"; } -.icon-stealth-future::before { +.icon-stats::before { content: "\f1f6"; } -.icon-stealth-past::before { +.icon-stealth-future::before { content: "\f1f7"; } -.icon-stickers::before { +.icon-stealth-past::before { content: "\f1f8"; } -.icon-stop-raising-hand::before { +.icon-stickers::before { content: "\f1f9"; } -.icon-stop::before { +.icon-stop-raising-hand::before { content: "\f1fa"; } -.icon-story-caption::before { +.icon-stop::before { content: "\f1fb"; } -.icon-story-expired::before { +.icon-story-caption::before { content: "\f1fc"; } -.icon-story-priority::before { +.icon-story-expired::before { content: "\f1fd"; } -.icon-story-reply::before { +.icon-story-priority::before { content: "\f1fe"; } -.icon-strikethrough::before { +.icon-story-reply::before { content: "\f1ff"; } -.icon-tag-add::before { +.icon-strikethrough::before { content: "\f200"; } -.icon-tag-crossed::before { +.icon-tag-add::before { content: "\f201"; } -.icon-tag-filter::before { +.icon-tag-crossed::before { content: "\f202"; } -.icon-tag-name::before { +.icon-tag-filter::before { content: "\f203"; } -.icon-tag::before { +.icon-tag-name::before { content: "\f204"; } -.icon-timer::before { +.icon-tag::before { content: "\f205"; } -.icon-toncoin::before { +.icon-timer::before { content: "\f206"; } -.icon-trade::before { +.icon-toncoin::before { content: "\f207"; } -.icon-transcribe::before { +.icon-trade::before { content: "\f208"; } -.icon-truck::before { +.icon-transcribe::before { content: "\f209"; } -.icon-unarchive::before { +.icon-truck::before { content: "\f20a"; } -.icon-underlined::before { +.icon-unarchive::before { content: "\f20b"; } -.icon-understood::before { +.icon-underlined::before { content: "\f20c"; } -.icon-unique-profile::before { +.icon-understood::before { content: "\f20d"; } -.icon-unlist-outline::before { +.icon-unique-profile::before { content: "\f20e"; } -.icon-unlist::before { +.icon-unlist-outline::before { content: "\f20f"; } -.icon-unlock-badge::before { +.icon-unlist::before { content: "\f210"; } -.icon-unlock::before { +.icon-unlock-badge::before { content: "\f211"; } -.icon-unmute::before { +.icon-unlock::before { content: "\f212"; } -.icon-unpin::before { +.icon-unmute::before { content: "\f213"; } -.icon-unread::before { +.icon-unpin::before { content: "\f214"; } -.icon-up::before { +.icon-unread::before { content: "\f215"; } -.icon-user-filled::before { +.icon-up::before { content: "\f216"; } -.icon-user-online::before { +.icon-user-filled::before { content: "\f217"; } -.icon-user-stars::before { +.icon-user-online::before { content: "\f218"; } -.icon-user::before { +.icon-user-stars::before { content: "\f219"; } -.icon-video-outlined::before { +.icon-user::before { content: "\f21a"; } -.icon-video-stop::before { +.icon-video-outlined::before { content: "\f21b"; } -.icon-video::before { +.icon-video-stop::before { content: "\f21c"; } -.icon-view-once::before { +.icon-video::before { content: "\f21d"; } -.icon-voice-chat::before { +.icon-view-once::before { content: "\f21e"; } -.icon-volume-1::before { +.icon-voice-chat::before { content: "\f21f"; } -.icon-volume-2::before { +.icon-volume-1::before { content: "\f220"; } -.icon-volume-3::before { +.icon-volume-2::before { content: "\f221"; } -.icon-warning::before { +.icon-volume-3::before { content: "\f222"; } -.icon-web::before { +.icon-warning::before { content: "\f223"; } -.icon-webapp::before { +.icon-web::before { content: "\f224"; } -.icon-word-wrap::before { +.icon-webapp::before { content: "\f225"; } -.icon-zoom-in::before { +.icon-word-wrap::before { content: "\f226"; } -.icon-zoom-out::before { +.icon-zoom-in::before { content: "\f227"; } +.icon-zoom-out::before { + content: "\f228"; +} diff --git a/src/styles/icons.scss b/src/styles/icons.scss index e27b82e28..fecee4d82 100644 --- a/src/styles/icons.scss +++ b/src/styles/icons.scss @@ -217,98 +217,99 @@ $icons-map: ( "remove-quote": "\f1c7", "remove": "\f1c8", "reopen-topic": "\f1c9", - "replace": "\f1ca", - "replies": "\f1cb", - "reply-filled": "\f1cc", - "reply": "\f1cd", - "revenue-split": "\f1ce", - "revote": "\f1cf", - "save-story": "\f1d0", - "saved-messages": "\f1d1", - "schedule": "\f1d2", - "scheduled": "\f1d3", - "sd-photo": "\f1d4", - "search": "\f1d5", - "select": "\f1d6", - "sell-outline": "\f1d7", - "sell": "\f1d8", - "send-outline": "\f1d9", - "send": "\f1da", - "settings-filled": "\f1db", - "settings": "\f1dc", - "share-filled": "\f1dd", - "share-screen-outlined": "\f1de", - "share-screen-stop": "\f1df", - "share-screen": "\f1e0", - "show-message": "\f1e1", - "sidebar": "\f1e2", - "skip-next": "\f1e3", - "skip-previous": "\f1e4", - "smallscreen": "\f1e5", - "smile": "\f1e6", - "sort-by-date": "\f1e7", - "sort-by-number": "\f1e8", - "sort-by-price": "\f1e9", - "sort": "\f1ea", - "speaker-muted-story": "\f1eb", - "speaker-outline": "\f1ec", - "speaker-story": "\f1ed", - "speaker": "\f1ee", - "spoiler-disable": "\f1ef", - "spoiler": "\f1f0", - "sport": "\f1f1", - "star": "\f1f2", - "stars-lock": "\f1f3", - "stars-refund": "\f1f4", - "stats": "\f1f5", - "stealth-future": "\f1f6", - "stealth-past": "\f1f7", - "stickers": "\f1f8", - "stop-raising-hand": "\f1f9", - "stop": "\f1fa", - "story-caption": "\f1fb", - "story-expired": "\f1fc", - "story-priority": "\f1fd", - "story-reply": "\f1fe", - "strikethrough": "\f1ff", - "tag-add": "\f200", - "tag-crossed": "\f201", - "tag-filter": "\f202", - "tag-name": "\f203", - "tag": "\f204", - "timer": "\f205", - "toncoin": "\f206", - "trade": "\f207", - "transcribe": "\f208", - "truck": "\f209", - "unarchive": "\f20a", - "underlined": "\f20b", - "understood": "\f20c", - "unique-profile": "\f20d", - "unlist-outline": "\f20e", - "unlist": "\f20f", - "unlock-badge": "\f210", - "unlock": "\f211", - "unmute": "\f212", - "unpin": "\f213", - "unread": "\f214", - "up": "\f215", - "user-filled": "\f216", - "user-online": "\f217", - "user-stars": "\f218", - "user": "\f219", - "video-outlined": "\f21a", - "video-stop": "\f21b", - "video": "\f21c", - "view-once": "\f21d", - "voice-chat": "\f21e", - "volume-1": "\f21f", - "volume-2": "\f220", - "volume-3": "\f221", - "warning": "\f222", - "web": "\f223", - "webapp": "\f224", - "word-wrap": "\f225", - "zoom-in": "\f226", - "zoom-out": "\f227", + "reorder-tabs": "\f1ca", + "replace": "\f1cb", + "replies": "\f1cc", + "reply-filled": "\f1cd", + "reply": "\f1ce", + "revenue-split": "\f1cf", + "revote": "\f1d0", + "save-story": "\f1d1", + "saved-messages": "\f1d2", + "schedule": "\f1d3", + "scheduled": "\f1d4", + "sd-photo": "\f1d5", + "search": "\f1d6", + "select": "\f1d7", + "sell-outline": "\f1d8", + "sell": "\f1d9", + "send-outline": "\f1da", + "send": "\f1db", + "settings-filled": "\f1dc", + "settings": "\f1dd", + "share-filled": "\f1de", + "share-screen-outlined": "\f1df", + "share-screen-stop": "\f1e0", + "share-screen": "\f1e1", + "show-message": "\f1e2", + "sidebar": "\f1e3", + "skip-next": "\f1e4", + "skip-previous": "\f1e5", + "smallscreen": "\f1e6", + "smile": "\f1e7", + "sort-by-date": "\f1e8", + "sort-by-number": "\f1e9", + "sort-by-price": "\f1ea", + "sort": "\f1eb", + "speaker-muted-story": "\f1ec", + "speaker-outline": "\f1ed", + "speaker-story": "\f1ee", + "speaker": "\f1ef", + "spoiler-disable": "\f1f0", + "spoiler": "\f1f1", + "sport": "\f1f2", + "star": "\f1f3", + "stars-lock": "\f1f4", + "stars-refund": "\f1f5", + "stats": "\f1f6", + "stealth-future": "\f1f7", + "stealth-past": "\f1f8", + "stickers": "\f1f9", + "stop-raising-hand": "\f1fa", + "stop": "\f1fb", + "story-caption": "\f1fc", + "story-expired": "\f1fd", + "story-priority": "\f1fe", + "story-reply": "\f1ff", + "strikethrough": "\f200", + "tag-add": "\f201", + "tag-crossed": "\f202", + "tag-filter": "\f203", + "tag-name": "\f204", + "tag": "\f205", + "timer": "\f206", + "toncoin": "\f207", + "trade": "\f208", + "transcribe": "\f209", + "truck": "\f20a", + "unarchive": "\f20b", + "underlined": "\f20c", + "understood": "\f20d", + "unique-profile": "\f20e", + "unlist-outline": "\f20f", + "unlist": "\f210", + "unlock-badge": "\f211", + "unlock": "\f212", + "unmute": "\f213", + "unpin": "\f214", + "unread": "\f215", + "up": "\f216", + "user-filled": "\f217", + "user-online": "\f218", + "user-stars": "\f219", + "user": "\f21a", + "video-outlined": "\f21b", + "video-stop": "\f21c", + "video": "\f21d", + "view-once": "\f21e", + "voice-chat": "\f21f", + "volume-1": "\f220", + "volume-2": "\f221", + "volume-3": "\f222", + "warning": "\f223", + "web": "\f224", + "webapp": "\f225", + "word-wrap": "\f226", + "zoom-in": "\f227", + "zoom-out": "\f228", ); diff --git a/src/styles/icons.woff b/src/styles/icons.woff index 446d0220d..bfeb0e40d 100644 Binary files a/src/styles/icons.woff and b/src/styles/icons.woff differ diff --git a/src/styles/icons.woff2 b/src/styles/icons.woff2 index fdf68556b..a56d1e282 100644 Binary files a/src/styles/icons.woff2 and b/src/styles/icons.woff2 differ diff --git a/src/types/icons/font.ts b/src/types/icons/font.ts index 766619bea..7a36200dd 100644 --- a/src/types/icons/font.ts +++ b/src/types/icons/font.ts @@ -200,6 +200,7 @@ export type FontIconName = | 'remove-quote' | 'remove' | 'reopen-topic' + | 'reorder-tabs' | 'replace' | 'replies' | 'reply-filled'