Skip to content

Fix Tailwind font-family reset when using Starlight plugin#1906

Merged
delucis merged 3 commits intomainfrom
dx-1264/tw-fonts
May 21, 2024
Merged

Fix Tailwind font-family reset when using Starlight plugin#1906
delucis merged 3 commits intomainfrom
dx-1264/tw-fonts

Conversation

@delucis
Copy link
Copy Markdown
Member

@delucis delucis commented May 20, 2024

Description

@vercel
Copy link
Copy Markdown

vercel bot commented May 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
starlight ✅ Ready (Inspect) Visit Preview May 20, 2024 9:09pm
1 Ignored Deployment
Name Status Preview Updated (UTC)
starlight-i18n ⬜️ Ignored (Inspect) May 20, 2024 9:09pm

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented May 20, 2024

🦋 Changeset detected

Latest commit: 4e131da

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@astrojs/starlight-tailwind Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added the 🌟 tailwind Changes to Starlight’s Tailwind package label May 20, 2024
@astrobot-houston
Copy link
Copy Markdown
Contributor

astrobot-houston commented May 20, 2024

size-limit report 📦

Path Size
/index.html 5.26 KB (0%)
/_astro/*.js 21.81 KB (0%)
/_astro/*.css 13.79 KB (0%)

Copy link
Copy Markdown
Member

@HiDeoo HiDeoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested with a local repro and this perfectly fix the issue 🎉

@delucis delucis merged commit b079ae1 into main May 21, 2024
@delucis delucis deleted the dx-1264/tw-fonts branch May 21, 2024 10:15
@astrobot-houston astrobot-houston mentioned this pull request May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🌟 tailwind Changes to Starlight’s Tailwind package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

In a project with Tailwind and Starlight integrated, the fonts in the non-starlight pages get broken

3 participants