Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add removeTransparentPaths plugin #233

Closed
wants to merge 2 commits into from

Conversation

SevereCloud
Copy link
Contributor

Кастомный плагин для svgo удаляет путь, если у него нет заливки или обводки

Влияет на
12/mention
16/camera
16/down
16/up
20/article_box_outline
20/article_outline
20/community_name
20/education_outline
20/followers_outline
20/gift_outline
20/globe_outline
20/home_outline
20/info
20/message_outline
20/music_outline
20/narrative_outline
20/phone_outline
20/pin_outline
20/place_outline
20/podcast_outline
20/recent_outline
20/user_outline
20/work_outline
24/add
24/add_outline
24/advertising
24/airplay
24/article
24/artist
24/attach
24/attachments
24/back
24/browser_back
24/browser_forward
24/bug
24/camera
24/cancel
24/chats
24/chevron
24/coins
24/comment_outline
24/copy
24/delete
24/do_not_disturb
24/document
24/done
24/download
24/dropdown
24/education
24/error
24/favorite
24/flash
24/followers
24/forward
24/gallery
24/game
24/gift
24/globe
24/help
24/home
24/info
24/like
24/like_outline
24/link
24/link_circle
24/linked
24/list
24/list_add
24/live
24/locate
24/logo_facebook
24/logo_google
24/logo_instagram
24/logo_livejournal
24/logo_skype
24/logo_twitter
24/message
24/money_circle
24/money_transfer
24/more_horizontal
24/more_vertical
24/music
24/music_mic
24/mute
24/newsfeed
24/note
24/notification
24/notification_check_outline
24/notification_disable
24/open_in
24/pause
24/phone
24/phone_outline
24/pin
24/place
24/play_next
24/play_speed
24/playlist
24/poll
24/privacy
24/qr
24/recent_outline
24/reorder
24/reorder_ios
24/repeat
24/repeat_one
24/replay
24/replay_10
24/reply
24/reply_outline
24/report
24/repost
24/scan_viewfinder_outline
24/search
24/send
24/services
24/settings
24/share
24/share_external
24/share_outline
24/shuffle
24/similar
24/song
24/sort
24/story
24/unpin
24/up
24/upload
24/user
24/user_add_outline
24/user_added_outline
24/user_outline
24/users
24/video
24/video_fill
24/videocam
24/view
24/volume
24/work
24/write
28/add_outline
28/add_square_outline
28/advertising_outline
28/airplay_audio_outline
28/airplay_video_outline
28/arrow_left_outline
28/arrow_right_outline
28/arrow_right_square_outline
28/arrow_up_outline
28/arrow_uturn_right_outline
28/attach_outline
28/attachments
28/backspace
28/backspace_outline
28/block_outline
28/bomb_outline
28/bug_outline
28/calendar_outline
28/camera
28/camera_outline
28/cancel_circle_outline
28/cancel_outline
28/chain_outline
28/chats_outline
28/check_circle_device_outline
28/check_circle_outline
28/check_shield_device_outline
28/check_square_outline
28/checks_outline
28/chevron_back
28/chevron_down_outline
28/chevron_right_circle_outline
28/chevron_right_outline
28/clear_data_outline
28/coins_outline
28/comment_outline
28/compass_outline
28/copy_outline
28/cube_box_outline
28/delete
28/delete_outline_android
28/devices_outline
28/document
28/document_outline
28/done_outline
28/download_outline
28/error_outline
28/favorite_outline
28/fire_outline
28/game
28/game_outline
28/ghost_outline
28/gift_outline
28/globe_outline
28/graph_outline
28/grid_square_outline
28/headphones_outline
28/help_outline
28/hide_outline
28/history_backward_outline
28/history_forward_outline
28/home_outline
28/inbox_outline
28/info_outline
28/key_square_outline
28/keyboard_bots_outline
28/keyboard_outline
28/like_outline
28/link_circle_outline
28/link_outline
28/list_outline
28/live_outline
28/location_outline
28/lock_outline
28/logo_instagram
28/logo_skype
28/magic_wand_outline
28/mail_outline
28/mention_outline
28/menu
28/menu_outline
28/message
28/message_outline
28/message_unread_top
28/money_circle_outline
28/money_history_backward_outline
28/money_request_outline
28/money_send_outline
28/money_transfer
28/money_transfer_outline
28/moon_outline
28/more
28/music
28/music_outline
28/name_tag_outline
28/newsfeed_outline
28/notification
28/notification_disable_outline
28/notifications
28/palette_outline
28/pause
28/payment_card_outline
28/phone_outline
28/picture_stack_outline
28/pin_outline
28/place
28/place_outline
28/play
28/play_speed_outline
28/playlist_outline
28/podcast_outline
28/poll_square_outline
28/privacy_outline
28/profile
28/radiowaves_around_outline
28/radiowaves_left_and_right_outline
28/recent_outline
28/refresh_outline
28/remove_circle_outline
28/report_outline
28/safari_outline
28/search
28/send
28/services_outline
28/settings
28/settings_outline
28/share_external_outline
28/shuffle_outline
28/skip_next
28/skip_previous
28/sliders_outline
28/smile_outline
28/song_outline
28/sort_horizontal_outline
28/sort_outline
28/statistics_outline
28/story
28/story_outline
28/subtitles_outline
28/tag_outline
28/target_outline
28/unfavorite_outline
28/unpin_outline
28/upload_outline
28/user
28/user_add_outline
28/user_circle_outline
28/user_incoming_outline
28/user_outgoing_outline
28/user_outline
28/users
28/users_3_outline
28/users_outline
28/video
28/video_outline
28/view_outline
28/voice
28/voice_outline
28/wallet_outline
28/water_drop_outline
28/write
28/write_square_outline
32/camera
32/discussions
32/document
32/gallery
32/gift
32/money_transfer
32/music
32/picture_outline
32/place
32/videos
36/add
36/article
36/cancel
36/coins
36/delete
36/done
36/like
36/like_outline
36/playlist
36/playlist_cached
36/replay
44/coins_outline
44/gift_outline
44/music_outline
44/smile_outline
48/camera
48/pause
48/play
48/playlist
48/skip_next
48/skip_previous
56/add_circle_outline
56/archive_outline
56/check_circle_device_outline
56/check_circle_outline
56/delete_outline_android
56/delete_outline_ios
56/do_not_disturb_outline
56/document_outline
56/download_outline
56/download_square_outline
56/error_outline
56/event_outline
56/face_id_outline
56/fire_outline
56/gallery_outline
56/gift_outline
56/goods_collection
56/hide_outline
56/history_outline
56/inbox_outline
56/info_outline
56/like_outline
56/link_circle_outline
56/market_like_outline
56/market_outline
56/mention_outline
56/message_read_outline
56/money_transfer_outline
56/music_outline
56/newsfeed_outline
56/notification_outline
56/phone_outline
56/playlist_outline
56/recent_outline
56/services_outline
56/shuffle_outline
56/touch_id_outline
56/user_add_outline
56/users_3_outline
56/users_outline
56/wifi_outline
56/write_outline

@github-actions
Copy link

👀 Docs deployed

See the docs for this PR at https://vkcom.github.io/icons/pull/233/

@vkcom-publisher
Copy link
Contributor

vkcom-publisher commented Jun 11, 2022

size-limit report 📦

Path Size
JS 2.66 MB (-0.35% 🔽)
JS (gzip) 701.69 KB (-0.08% 🔽)
JS (brotli) 510.61 KB (-0.12% 🔽)
JS ES6 with Icon16Add only import (tree shaking) 4.51 KB (0%)
SVG 3.03 MB (0%)

@SevereCloud SevereCloud marked this pull request as draft June 21, 2022 13:36
@SevereCloud SevereCloud force-pushed the SevereCloud/issue166 branch from 81a82bd to 84e6970 Compare June 21, 2022 13:58
@SevereCloud SevereCloud marked this pull request as ready for review June 21, 2022 13:58
@fedorov-xyz
Copy link
Contributor

Хм, мб можно как-то тесты написать к плагину?

@SevereCloud SevereCloud marked this pull request as draft June 21, 2022 14:14
@SevereCloud SevereCloud force-pushed the SevereCloud/issue166 branch from 84e6970 to 961fba3 Compare June 23, 2022 19:52
@SevereCloud SevereCloud marked this pull request as ready for review June 23, 2022 19:54
@SevereCloud SevereCloud requested a review from a team as a code owner June 23, 2022 19:54
@SevereCloud
Copy link
Contributor Author

Добавил тесты для плагинов, как в svgo

Copy link

@satandyh satandyh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dependency +

@SevereCloud SevereCloud marked this pull request as draft November 18, 2022 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Иконки содержат лишний прозрачный слой
4 participants