docs: fixup custom emoji on docs

This commit is contained in:
Nolan Lawson 2020-06-26 19:01:34 -07:00
parent b7ce0f531e
commit 9d70b19e86
6 changed files with 100 additions and 120 deletions

View File

@ -7,98 +7,47 @@ const categories = [
{
name: 'People and activities',
set: new Set([
'assistant',
'businessman',
'businesswoman',
'butting_in',
'customer_support',
'debt',
'night_portrait',
'online_support',
'portrait_mode',
'reading',
'reading_ebook',
'selfie',
'sports_mode',
'voice_presentation',
'podium_with_speaker',
'manager',
'reuse'
'assistant', 'businessman', 'businesswoman', 'butting_in', 'customer_support', 'debt',
'night_portrait', 'online_support', 'portrait_mode', 'reading', 'reading_ebook', 'selfie',
'sports_mode', 'voice_presentation', 'podium_with_speaker', 'manager', 'reuse'
])
},
{
name: 'Technical and software',
set: new Set([
'add_column',
'add_database',
'add_image',
'address_book',
'add_row',
'audio_file',
'bookmark',
'broken_link',
'capacitor',
'cell_phone',
'charge_battery',
'electrical_sensor',
'electrical_threshold',
'electro_devices',
'electronics',
'empty_battery',
'empty_filter',
'engineering',
'export',
'file',
'flash_auto',
'flash_off',
'flash_on',
'folder',
'full_battery',
'high_battery',
'image_file',
'opened_folder',
'parallel_tasks',
'portrait_mode',
'print',
'remove_image',
'rotate_camera',
'rotate_to_landscape',
'rotate_to_portrait',
'search',
'circuit',
'command_line',
'crystal_oscillator',
'data_backup',
'database',
'data_configuration',
'data_encryption',
'data_protection',
'data_recovery',
'data_sheet',
'delete_column',
'delete_database',
'delete_row',
'download',
'integrated_webcam',
'landscape',
'lock_landscape',
'lock_portrait',
'multiple_cameras',
'multiple_devices',
'multiple_smartphones',
'no_video',
'serial_tasks',
'share',
'sim_card_chip',
'sim_card"',
'smartphone_tablet',
'sms',
'touchscreen_smartphone',
'two_smartphones',
'upload',
'video_call',
'video_file',
'webcam'
'add_column', 'add_database', 'address_book', 'add_row', 'audio_file',
'bookmark', 'broken_link', 'capacitor', 'cell_phone', 'charge_battery', 'electrical_sensor',
'electrical_threshold', 'electro_devices', 'electronics', 'empty_battery', 'empty_filter', 'engineering',
'export', 'file', 'folder', 'full_battery',
'high_battery', 'opened_folder', 'parallel_tasks', 'print',
'search', 'circuit',
'command_line', 'crystal_oscillator', 'data_backup', 'database', 'data_configuration', 'data_encryption',
'data_protection', 'data_recovery', 'data_sheet', 'delete_column', 'delete_database', 'delete_row',
'download', 'integrated_webcam', 'landscape', 'lock_landscape', 'lock_portrait',
'multiple_devices', 'multiple_smartphones', 'serial_tasks', 'share', 'sim_card_chip',
'sim_card"', 'smartphone_tablet', 'sms', 'touchscreen_smartphone', 'two_smartphones', 'upload',
'video_call', 'accept_database', 'alphabetical_sorting_az', 'alphabetical_sorting_za',
'clear_filters', 'cursor', 'edit_image', 'filter', 'full_trash', 'empty_trash',
'generic_sorting_asc', 'generic_sorting_desc', 'low_battery',
'mms', 'multiple_inputs', 'numerical_sorting_12', 'numerical_sorting_21', 'settings', 'tree_structure',
'undo', 'redo', 'refresh', 'headset', 'filled_filter', 'genealogy', 'voicemail', 'speaker', 'link',
'feed_in', 'missed_call', 'menu', 'middle_battery', 'phone', 'sim_card',
'lock', 'unlock', 'privacy', 'comments'
])
},
{
name: 'Film and Photography',
set: new Set([
'clapperboard', 'photo_reel', 'old_time_camera', 'film', 'film_reel',
'video_projector', 'switch_camera',
'camcorder', 'camcorder_pro', 'camera', 'camera_addon', 'camera_identification', 'compact_camera',
'webcam', 'video_file', 'no_video',
'multiple_cameras', 'rotate_camera', 'rotate_to_landscape', 'rotate_to_portrait',
'portrait_mode', 'landscape_mode', 'flash_auto', 'flash_off', 'flash_on',
'image_file', 'remove_image', 'add_image',
'panorama', 'picture', 'slr_back_side',
'stack_of_photos', 'gallery',
'close_up_mode', 'frame'
])
},
{
@ -107,6 +56,67 @@ const categories = [
'left', 'left_down', 'left_down2', 'left_up',
'left_up2', 'right', 'right_down', 'right_down2',
'right_up', 'right_up2', 'up', 'up_left', 'up_right'
])
},
{
name: 'Business',
set: new Set([
'area_chart', 'bad_decision', 'bar_chart', 'bearish', 'bullish', 'briefcase',
'business', 'business_contact', 'calculator', 'call_transfer', 'callback', 'collaboration',
'combo_chart', 'conference_call', 'decision', 'department', 'deployment', 'disapprove',
'disclaimer', 'document', 'doughnut_chart', 'end_call', 'external', 'factory',
'factory_breakdown', 'faq', 'filing_cabinet', 'fine_print', 'flow_chart', 'good_decision',
'grid', 'idea', 'import', 'in_transit', 'inspection', 'internal',
'answers', 'line_chart', 'low_priority', 'make_decision', 'medium_priority', 'mind_map', 'negative_dynamic',
'neutral_decision', 'neutral_trading', 'org_unit', 'organization', 'overtime', 'paid', 'pie_chart',
'positive_dynamic', 'process', 'radar_plot', 'sales_performance', 'scatter_plot', 'self_service_kiosk',
'services', 'support', 'statistics', 'survey', 'template', 'timeline', 'vip', 'workflow',
'todo_list', 'expired', 'heat_map', 'donate', 'no_idea', 'feedback', 'safe',
'shipped', 'contacts', 'list', 'package',
'invite', 'money_transfer', 'view_details', 'questions', 'ratings'
])
},
{
name: 'Symbols',
set: new Set([
'approval', 'approve', 'automatic', 'biohazard', 'cancel', 'checkmark',
'collapse', 'expand', 'collect', 'copyleft', 'copyright', 'currency_exchange',
'high_priority',
'info', 'ok', 'plus',
'registered_trademark', 'service_mark',
'trademark', 'sound_recording_copyright',
'rating', 'start', 'synchronize',
'about', 'like', 'like_placeholder',
'previous', 'next', 'dislike',
'minus'
])
},
{
name: 'Time',
set: new Set([
'alarm_clock',
'clock',
'calendar',
'leave',
'planner'
])
},
{
name: 'Academic',
set: new Set([
'diploma_1',
'diploma_2',
'graduation_cap',
'podium_with_audience',
'podium_without_speaker',
'ruler',
'library',
'biotech',
'biomass',
'rules'
])
}
]
@ -127,7 +137,8 @@ function remove (name) {
'dribbble', 'google', 'linux', 'stumbleupon',
'android_os', 'entering_heaven_alive',
'phone_android', 'debian', 'ipad', 'iphone',
'kindle', 'nfc_sign', 'nook'
'kindle', 'nfc_sign', 'nook', 'advertising',
'tablet_android', 'icons8_cup', 'cable_release'
].includes(name)
}

File diff suppressed because one or more lines are too long

View File

@ -1,13 +0,0 @@
<svg version="1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" enable-background="new 0 0 48 48">
<g fill="#90CAF9">
<path d="M17.4,33H15v-4h4l0.4,1.5C19.7,31.8,18.7,33,17.4,33z"/>
<path d="M37,36c0,0-11.8-7-18-7V15c5.8,0,18-7,18-7V36z"/>
</g>
<g fill="#283593">
<circle cx="9" cy="22" r="5"/>
<path d="M40,19h-3v6h3c1.7,0,3-1.3,3-3S41.7,19,40,19z"/>
<path d="M18.6,41.2c-0.9,0.6-2.5,1.2-4.6,1.4c-0.6,0.1-1.2-0.3-1.4-1L8.2,27.9c0,0,8.8-6.2,8.8,1.1 c0,5.5,1.5,8.4,2.2,9.5c0.5,0.7,0.5,1.6,0,2.3C19,41,18.8,41.1,18.6,41.2z"/>
</g>
<path fill="#3F51B5" d="M9,29h10V15H9c-1.1,0-2,0.9-2,2v10C7,28.1,7.9,29,9,29z"/>
<path fill="#42A5F5" d="M38,38L38,38c-1.1,0-2-0.9-2-2V8c0-1.1,0.9-2,2-2h0c1.1,0,2,0.9,2,2v28C40,37.1,39.1,38,38,38z"/>
</svg>

Before

Width:  |  Height:  |  Size: 808 B

View File

@ -1,5 +0,0 @@
<svg version="1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" enable-background="new 0 0 48 48">
<path fill="#37474F" d="M34.9,29.1c-2.7-2.7-7.1-2.7-9.8,0l-4,4c-1.7,1.7-4.5,1.7-6.2,0c-1.7-1.7-1.7-4.5,0-6.2l4.5-4.5l-2.8-2.8 l-4.5,4.5c-3.3,3.3-3.3,8.6,0,11.8c3.3,3.3,8.6,3.3,11.8,0l4-4c1.2-1.1,3-1.1,4.2,0c1.1,1.2,1.1,3,0,4.2L27,41.2l2.8,2.8l5.1-5.1 C37.6,36.2,37.6,31.8,34.9,29.1z"/>
<path fill="#0277BD" d="M16.1,22.9L16.1,22.9c-2.8-2.8-2.8-7.3,0-10l6.8-6.8c2.8-2.8,7.3-2.8,10,0l0,0c2.8,2.8,2.8,7.3,0,10 l-6.8,6.8C23.3,25.7,18.9,25.7,16.1,22.9z"/>
<circle fill="#B3E5FC" cx="28" cy="11" r="4"/>
</svg>

Before

Width:  |  Height:  |  Size: 624 B

View File

@ -1,8 +0,0 @@
<svg version="1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" enable-background="new 0 0 48 48">
<path fill="#4CAF50" d="M40,14H8l3.8,28.3c0.1,1,1,1.7,2,1.7h20.5c1,0,1.8-0.7,2-1.7L40,14z"/>
<g fill="#81C784">
<path d="M42,14H6v-3c0-2.2,1.8-4,4-4h28c2.2,0,4,1.8,4,4V14z"/>
<path d="M37.2,10H10.8l1.7-4.7c0.3-0.8,1-1.3,1.9-1.3h19.2c0.8,0,1.6,0.5,1.9,1.3L37.2,10z"/>
</g>
<path fill="#E8F5E9" d="M28,28.5c1.2-1.1,2-2.7,2-4.5c0-3.3-2.7-6-6-6c-3.3,0-6,2.7-6,6c0,1.8,0.8,3.4,2,4.5c-1.2,1.1-2,2.7-2,4.5 c0,3.3,2.7,6,6,6c3.3,0,6-2.7,6-6C30,31.2,29.2,29.6,28,28.5z M24,36c-1.7,0-3-1.3-3-3c0-1.7,1.3-3,3-3c1.7,0,3,1.3,3,3 C27,34.7,25.7,36,24,36z M24,27c-1.7,0-3-1.3-3-3c0-1.7,1.3-3,3-3c1.7,0,3,1.3,3,3C27,25.7,25.7,27,24,27z"/>
</svg>

Before

Width:  |  Height:  |  Size: 767 B

View File

@ -1,5 +0,0 @@
<svg version="1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" enable-background="new 0 0 48 48">
<path fill="#37474F" d="M8,41V7c0-2.2,1.8-4,4-4h24c2.2,0,4,1.8,4,4v34c0,2.2-1.8,4-4,4H12C9.8,45,8,43.2,8,41z"/>
<path fill="#BBDEFB" d="M36,6H12c-0.6,0-1,0.4-1,1v31c0,0.6,0.4,1,1,1h24c0.6,0,1-0.4,1-1V7C37,6.4,36.6,6,36,6z"/>
<rect x="21" y="41" fill="#78909C" width="6" height="2"/>
</svg>

Before

Width:  |  Height:  |  Size: 409 B