rsnext/packages/font
Hannes Bornö fa96d870aa
Accept variable prop in google font loader (#41065)
Fixes local weight type which could break if you wrote "regular" instead of 400. Adds `variable` property to google font loader to let you define the name of the CSS variable.

## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md`

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have a helpful link attached, see `contributing.md`

## Documentation / Examples

- [ ] Make sure the linting passes by running `pnpm lint`
- [ ] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
2022-09-30 18:53:50 +00:00
..
google Font loader support in app (#40898) 2022-09-27 18:10:05 +00:00
local Font loader support in app (#40898) 2022-09-27 18:10:05 +00:00
src Accept variable prop in google font loader (#41065) 2022-09-30 18:53:50 +00:00
package.json v12.3.2-canary.16 2022-09-30 15:17:36 +02:00
README.md Add next font package (#40227) 2022-09-21 15:10:24 -07:00
tsconfig.json Add next font package (#40227) 2022-09-21 15:10:24 -07:00

@next/font

Experimental @next/font package