Skip to content

Commit

Permalink
fix: allow for plugin options to be passed
Browse files Browse the repository at this point in the history
  • Loading branch information
BJJLangedijk committed Apr 11, 2024
1 parent 836ff3f commit 76b3e99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export type SdObjType<T extends Record<string, any>> = {

export type TailwindOptions = Pick<TailwindConfig, 'content' | 'darkMode'> & {
plugins: Array<
'typography' | 'forms' | 'aspect-ratio' | 'line-clamp' | 'container-queries'
'typography' | ['typography', { className?: string, target?: 'modern' | 'legacy' }] | 'forms' | ['forms', { strategy?: 'base' | 'class' }] | 'aspect-ratio' | 'line-clamp' | 'container-queries'
>
}
export type TailwindFormatType = 'js' | 'cjs'
Expand Down

0 comments on commit 76b3e99

Please sign in to comment.