You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/app/javascript/material-icons
Eugen Rochko 7c4393e719
Change order of items in navigation panel in web UI (#35029)
1 month ago
..
400-20px Change design of media tab on profiles in web UI (#31967) 10 months ago
400-24px Change order of items in navigation panel in web UI (#35029) 1 month ago
LICENSE
README.md Add visual indicator & link to nested quote posts (#34766) 2 months ago

README.md

Files in this directory are Material Symbols icons fetched using the icons:download rake task (see /lib/tasks/icons.rake).

To add another icon, follow these steps:

  • Determine the name of the Material Symbols icon you want to download. You can find a searchable overview of all icons on [https://fonts.google.com/icons]. Click on the icon you want to use and find the icon name towards the bottom of the slide-out panel (it'll be something like icon_name)
  • Import the icon in your React component using the following format: import IconName from '@/material-icons/400-24px/icon_name.svg?react';
  • Run RAILS_ENV=development rails icons:download to download any newly imported icons.

The import should now work and the icon should appear when passed to the ` component