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

add framework examples #7

Open
2 of 4 tasks
danielroe opened this issue Oct 1, 2022 · 5 comments
Open
2 of 4 tasks

add framework examples #7

danielroe opened this issue Oct 1, 2022 · 5 comments
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers

Comments

@danielroe
Copy link
Member

danielroe commented Oct 1, 2022

It would be good to add some sandboxes or example configurations so it's easy for people to get up-and-running with (at least):

  • Angular
  • Laravel
  • Vite
  • Next.js
@danielroe danielroe added documentation Improvements or additions to documentation good first issue Good for newcomers labels Oct 1, 2022
@johneatmon
Copy link
Contributor

Here's my example using Astro

Did I do it right? 😅

@danielroe
Copy link
Member Author

@johneatmon That looks perfect! Only issue seems to be that font-sans is not used anywhere in the demo, but I think the point is that you've set it up to work when it is used. Would you like to create a PR to add to README?

@johneatmon
Copy link
Contributor

johneatmon commented Mar 2, 2023

Yeah, @danielroe that's probably something I should add just to make it a little more clear. In Tailwind CSS, sans is automatically applied in the baked-in reset, so it's "implied." I'll make a plain CSS version for Astro as well. 🙂

Would you like both examples on the same PR?

@johneatmon
Copy link
Contributor

Here's a non-Tailwind example of Astro with Fontaine. Also, I updated the Tailwind example with the font-sans class applied to the body, to make the example more explicit.

@danielroe
Copy link
Member Author

added config example here: fb0c62b. The Stackblitzes are great - and might work quite well when/if we give fontaine a web site of its own.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants