open-index/open-npm huggingface dataset:
npm package: @mirohq/brand-assets
Description: Right now, there's no straightforward way to update brand assets from Figma like we do for icons.
Author: Miro
Latest version: 1.1.1

# Brand Assets Package Management

Right now, there's no straightforward way to update brand assets from Figma like we do for icons.

For next steps and insights on brand assets package, check out this **Miro board**:
[Brand Assets Package – Miro](https://miro.com/app/board/uXjVL6kgeeY=/)

## Syncing Brand Assets

Since this process isn't automated, follow these steps:

### 1. Download Assets from Figma

- Open the **Figma file/page** containing the brand assets.
- Download all necessary assets in **SVG format**.

### 2. Find the Right Folder

Figma organizes assets by **pages and sections**. Match the asset to the correct package folder.

For example:

- **Board Icons** live in: `packages/brand-assets/illustrations/board`
- You can also find them in Figma: [here](https://www.figma.com/design/KEMirHqvvaSVMAod9jSobq/%5Bmds%5D-%F0%9F%9A%A7-Brand-Assets-%5Bunder-construction%5D?node-id=1-5)

### 3. Export at the Largest Size

- Always download the biggest available size.

### 4. Optimize the SVGs

- Open each SVG file and remove the `width` and `height` attributes.
- This ensures they scale properly in different contexts.

### 5. Run scripts to update assets

- See scripts here: https://github.com/miroapp-dev/design-system/tree/master/site/src/scripts/brand-assets
- Once done, commit the updated assets! 🚀

### 6. Remember to update snapshots!

- Run 'pnpm visual-regression —-update' in your terminal and add changes to your PR