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

refactor: material symbols scss mixins + ts const #45

Merged
merged 2 commits into from
Sep 30, 2023

Conversation

davidlj95
Copy link
Owner

Improve Material Symbols setup:

SCSS

  • Add class mixin to avoid repeating the class name around. Easier refactors!
  • Add variation mixin to avoid repeating the font-variation-settings property around with the prop names too. Easier refactors!

Typescript

  • Use constant to embed in HTML the material symbols class. Now just syncing SCSS and Typescript constant is neeeded.
  • Add readonly where possible around (not related with Material Symbols, but "ya que estamos")

and some readonly here and there
@davidlj95
Copy link
Owner Author

davidlj95 commented Sep 30, 2023

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@davidlj95 davidlj95 enabled auto-merge (squash) September 30, 2023 12:01
@davidlj95 davidlj95 merged commit 3207f98 into main Sep 30, 2023
9 checks passed
@davidlj95 davidlj95 deleted the refactor-material-symbols branch September 30, 2023 12:02
@github-actions
Copy link

github-actions bot commented Oct 1, 2023

🎉 This PR is included in version 2.16.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant