Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Material Symbols #471

Open
bitspittle opened this issue Feb 25, 2024 · 0 comments
Open

Support for Material Symbols #471

bitspittle opened this issue Feb 25, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@bitspittle
Copy link
Collaborator

Kobweb supports MDI (material design icons), but Material Symbols is the new hotness, it seems.

See also: https://developers.google.com/fonts/docs/material_symbols

Instead of adding this

<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Icons&family=Material+Icons+Outlined&family=Material+Icons+Two+Tone&family=Material+Icons+Round&family=Material+Icons+Sharp" />

we need to add this:

<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined" rel="stylesheet" />

The best way forward here is probably forking the silk-icons-mdi project into a silk-icons-ms project (and then de-emphasizing mdi icons from the README?)

But this will require a bit of research first, to 1) see if this is really that different from MDI to support the effort and 2) see how much time it will take to fetch / create the symbols version of https://github.com/varabyte/kobweb/blob/main/frontend/silk-icons-mdi/md-icon-list.txt (which was done with a lot of inspecting webpages and manual reformatting of the output)

@bitspittle bitspittle added enhancement New feature or request good first issue Good for newcomers labels Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant