Skip to content

Conversation

@florian-lefebvre
Copy link
Member

@florian-lefebvre florian-lefebvre commented Mar 5, 2025

Changes

  • This adds an optional as property to a font family
  • The RFC has been updated but TLDR use as if:
    1. You are an integration and want to make sure you don't conflict with fonts declared by the user
    2. Your font name can't be properly converted to a CSS variable name

Testing

Tests updated

Docs

RFC updated

@florian-lefebvre florian-lefebvre self-assigned this Mar 5, 2025
@changeset-bot
Copy link

changeset-bot bot commented Mar 5, 2025

⚠️ No Changeset found

Latest commit: cfd493e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

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

@github-actions github-actions bot added the pkg: astro Related to the core `astro` package (scope) label Mar 5, 2025
@florian-lefebvre florian-lefebvre marked this pull request as ready for review March 5, 2025 15:08
Copy link
Member

@ematipico ematipico left a comment

Choose a reason for hiding this comment

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

The RFC and this PR are a bit in conflict. Also, I have some important questions

@florian-lefebvre florian-lefebvre merged commit 0f3419c into feat/fonts Mar 10, 2025
4 checks passed
@florian-lefebvre florian-lefebvre deleted the feat/fonts-as-prop branch March 10, 2025 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg: astro Related to the core `astro` package (scope)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants