Files
AstralRinth/packages/assets
didirus 572800d9ca feat: add info event listener and payload for enhanced event handling
- Implemented `info_listener` in `events.js` to listen for 'info' events and handle payloads.
- Added `emit_info` function in `emit.rs` to emit 'info' events with a message payload.
- Defined `InfoPayload` struct in `mod.rs` to structure the data for 'info' events.
- Integrated `emit_info` calls in the Minecraft launch logic to provide feedback on account types.
- Introduced a new offline icon in SVG format and removed outdated pirate icons from assets.
- Updated asset index to include the new offline icon and removed references to deleted icons.
2026-01-27 20:41:55 +03:00
..
2025-12-29 01:57:40 +03:00
2024-07-04 21:46:29 -07:00
2024-07-04 21:46:29 -07:00

@modrinth/assets

This package contains various assets used across the Modrinth platform, including icons, images, and branding materials.

Modrinth uses the Lucide icon set for its icons, which are automatically imported and exported in the index.ts file. This file is generated through the pnpm run fix command, which also ensures that all icons are consistent and correctly formatted.

The "Mr Rinth"/"Rinthbot" branding assets were created and given to Modrinth by Devin (integrav) and are used across the platform. These assets are also included in this package.

Adding New Assets

If you're adding a new icon from the Lucide icon set, download the icon as an SVG file and place it in the icons directory. The icon should be named in kebab-case (e.g., example-icon.svg). Then run the pnpm run fix command to automatically generate the necessary imports and exports.

If you're adding anything else, you should manually add the import statement to index.ts and ensure it is exported correctly.