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

Make it possible to set 'text' inside a font #140

Closed
onurusluca opened this issue Jul 20, 2023 · 1 comment
Closed

Make it possible to set 'text' inside a font #140

onurusluca opened this issue Jul 20, 2023 · 1 comment

Comments

@onurusluca
Copy link

Currently 'text' can only be set for all the fonts.

It would be much better if we can set it in any font we want so that other than the general text font we have, we can have a font for a specific purpose and be it very small in size.

before:

googleFonts: {
    families: {
      Cabin: [400, 600],
      "Pathway+Gothic+One": [400]
    },
    text: "myspecifictext",
  },

after:

googleFonts: {
    families: {
      Cabin: [400, 600],
      "Pathway+Gothic+One": {
        wght: [400],
        text: "myspecifictext",
      },
    },
  },
@ricardogobbosouza
Copy link
Collaborator

ricardogobbosouza commented Jul 21, 2023

Same #106

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

No branches or pull requests

2 participants