Skin process need more information
Adding skins, Icons and other assets is not clearly defined in the process. Is the a icon/asset registry in this code? I was excited to find this project but I am having issues try to create other OS skins. Could you describe your intended process better?
My process of creating new assets is usually like this:
- Designing new images in Figma (ProzillaOS Design System). Sometimes this is as simple as downloading an SVG file and maybe modifying its colors using the color palette.
- Exporting the images to the appropriate folder in demo/public/assets/. There, each skin has its own folder inside the `skins´ folder.
- Modifying the
@prozilla-os/skinspackage to reference these new image files. - Deploying the demo site so the new images become available there.
- Publishing a new version of the
@prozilla-os/skinspackage.
The assets folder in the demo site serves as a CDN. When a skin configuration does not specify a custom image URL for something (e.g. for the system icon), it will use the image hosted by the demo site (in the case of the system icon, this is https://os.prozilla.dev/icon.svg).
I hope this makes things a bit clearer. Let me know if you have any other questions or if you think this should be part of the documentation.