jacobparis-insiders / sly

Monorepo for Sly CLI
https://sly-cli.fly.dev/
134 stars 11 forks source link

Support for Material Symbols #53

Open TeChn4K opened 1 month ago

TeChn4K commented 1 month ago

Hi,

Thanks for this great tool!

How about to support Material Symbols? How to manage all variants? (7 weights x 3 styles)

https://fonts.google.com/icons?icon.set=Material+Symbols

https://github.com/marella/material-symbols

jacobparis commented 1 month ago

The SVG support for this should be possible, but the current variant implementation is pretty naive (heart-solid, heart-outlined) so we'd probably have to add real variants to the registry before this was broadly feasible

At the moment we could pick a default weight and add each style as its own library, then when variants launch each weight could be a variant

This was my general plan for the variants https://github.com/jacobparis-insiders/sly/issues/35