Skip to content

Commit

Permalink
nit: remove tailwindConfig from imageOptions (#325)
Browse files Browse the repository at this point in the history
* nit: remove `tailwindConfig` from `imageOptions`

since it doesn't work, it's unnecessary to have it.

* chore: changesets

* nit: undo change
  • Loading branch information
dalechyn committed May 23, 2024
1 parent d457c65 commit d8aabe7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/six-birds-refuse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"frog": patch
---

Removed `tailwindConfig` from the allowed properties in `imageOptions` since it's not fully implemented in Satori.
5 changes: 4 additions & 1 deletion src/types/frame.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ export type Font = {
| { source: 'google' }
)

export type ImageOptions = Omit<ImageResponseOptions, 'fonts'> & {
export type ImageOptions = Omit<
ImageResponseOptions,
'fonts' | 'tailwindConfig'
> & {
fonts?: Font[] | undefined
}

Expand Down

0 comments on commit d8aabe7

Please sign in to comment.