Tailwindcss config missing function types #53853
Unanswered
nandi95
asked this question in
Issues with a @types package
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently only constant values are supported in the config:
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/tailwindcss/tailwind-config.d.ts#L132
However there is an option to reference other values by using a function wich gets the
theme
function passed in.https://tailwindcss.com/docs/theme#referencing-other-values
Beta Was this translation helpful? Give feedback.
All reactions