fix: update Material Symbols

This commit is contained in:
Michael Zetterberg
2025-04-08 09:19:58 +02:00
parent 8dee7b0243
commit 36f1406deb
6 changed files with 57 additions and 2 deletions

View File

@@ -269,7 +269,7 @@
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
font-display: block; font-display: block;
src: url(/_static/fonts/material-symbols/rounded-eaec15a9.woff2) src: url(/_static/fonts/material-symbols/rounded-ad9423f9.woff2)
format('woff2'); format('woff2');
} }

View File

@@ -23,15 +23,26 @@ const icons = [
'add_circle', 'add_circle',
'air', 'air',
'air_purifier_gen', 'air_purifier_gen',
'airline_seat_recline_normal',
'airplane_ticket',
'apartment',
'apparel', 'apparel',
'arrow_back', 'arrow_back',
'arrow_forward', 'arrow_forward',
'arrow_right', 'arrow_right',
'arrow_upward', 'arrow_upward',
'assistant_navigation',
'asterisk', 'asterisk',
'attractions',
'award_star',
'bakery_dining', 'bakery_dining',
'balcony',
'bathroom',
'bathtub',
'beach_access', 'beach_access',
'bed', 'bed',
'bedroom_parent',
'box',
'business_center', 'business_center',
'calendar_add_on', 'calendar_add_on',
'calendar_month', 'calendar_month',
@@ -41,22 +52,30 @@ const icons = [
'camera', 'camera',
'cancel', 'cancel',
'chair', 'chair',
'charging_station',
'check', 'check',
'check_box', 'check_box',
'check_circle', 'check_circle',
'checked_bag',
'checkroom', 'checkroom',
'chevron_left', 'chevron_left',
'chevron_right', 'chevron_right',
'close', 'close',
'coffee', 'coffee',
'coffee_maker',
'compare_arrows', 'compare_arrows',
'computer',
'concierge', 'concierge',
'confirmation_number',
'connected_tv', 'connected_tv',
'content_copy', 'content_copy',
'contract', 'contract',
'cool_to_dry',
'countertops', 'countertops',
'credit_card', 'credit_card',
'credit_card_heart', 'credit_card_heart',
'curtains',
'curtains_closed',
'deck', 'deck',
'delete', 'delete',
'desk', 'desk',
@@ -64,6 +83,8 @@ const icons = [
'diamond', 'diamond',
'dining', 'dining',
'directions', 'directions',
'directions_run',
'directions_subway',
'downhill_skiing', 'downhill_skiing',
'download', 'download',
'dresser', 'dresser',
@@ -81,17 +102,22 @@ const icons = [
'favorite', 'favorite',
'fax', 'fax',
'featured_seasonal_and_gifts', 'featured_seasonal_and_gifts',
'festival',
'filter', 'filter',
'filter_alt', 'filter_alt',
'floor_lamp', 'floor_lamp',
'forest',
'garage', 'garage',
'globe', 'globe',
'golf_course',
'groups', 'groups',
'health_and_beauty', 'health_and_beauty',
'heat', 'heat',
'hiking', 'hiking',
'home', 'home',
'hot_tub', 'hot_tub',
'houseboat',
'hvac',
'imagesmode', 'imagesmode',
'info', 'info',
'iron', 'iron',
@@ -99,63 +125,92 @@ const icons = [
'kettle', 'kettle',
'keyboard_arrow_down', 'keyboard_arrow_down',
'keyboard_arrow_up', 'keyboard_arrow_up',
'king_bed',
'kitchen',
'landscape',
'laundry', 'laundry',
'link', 'link',
'liquor', 'liquor',
'live_tv',
'local_bar', 'local_bar',
'local_cafe', 'local_cafe',
'local_convenience_store', 'local_convenience_store',
'local_drink',
'local_laundry_service', 'local_laundry_service',
'local_parking', 'local_parking',
'location_city', 'location_city',
'location_on', 'location_on',
'lock', 'lock',
'loyalty',
'luggage', 'luggage',
'mail', 'mail',
'map', 'map',
'meeting_room', 'meeting_room',
'microwave',
'mode_fan', 'mode_fan',
'museum', 'museum',
'music_cast',
'music_note',
'nature', 'nature',
'night_shelter',
'nightlife', 'nightlife',
'open_in_new', 'open_in_new',
'pan_zoom', 'pan_zoom',
'panorama',
'pedal_bike', 'pedal_bike',
'person', 'person',
'pets', 'pets',
'phone', 'phone',
'pool', 'pool',
'radio',
'recommend',
'redeem',
'refresh', 'refresh',
'remove', 'remove',
'restaurant', 'restaurant',
'room_service', 'room_service',
'router',
'sailing',
'sauna', 'sauna',
'scene',
'search', 'search',
'sell', 'sell',
'shopping_bag', 'shopping_bag',
'shower',
'single_bed',
'skateboarding', 'skateboarding',
'smoke_free', 'smoke_free',
'smoking_rooms', 'smoking_rooms',
'spa', 'spa',
'sports_esports', 'sports_esports',
'sports_golf', 'sports_golf',
'sports_handball',
'sports_tennis', 'sports_tennis',
'stairs',
'star', 'star',
'straighten', 'straighten',
'styler', 'styler',
'swipe', 'swipe',
'sync_saved_locally', 'sync_saved_locally',
'table_bar',
'theater_comedy', 'theater_comedy',
'things_to_do',
'train', 'train',
'tram',
'transit_ticket',
'travel', 'travel',
'travel_luggage_and_bags',
'tv_guide',
'tv_remote', 'tv_remote',
'upload', 'upload',
'visibility', 'visibility',
'visibility_off', 'visibility_off',
'ward',
'warning', 'warning',
'water_full', 'water_full',
'wifi', 'wifi',
]; 'yard',
].sort();
function createHash(value) { function createHash(value) {
const stringified = stringify(value); const stringified = stringify(value);