[FEATURE] Make a true gradual adoption API #116
Labels
feature request
New feature or request
good first issue
Good for newcomers
P3
Priority Level 3 Issue
public api proposal
Proposals for Hashi's public API
Detailed Description
Make the gradual adoption API more... well... gradual.
Let the design tokens be imported like querying a GraphQL API; Making it possible to just get the right amount of design tokens for a project.
Context
I saw this code snippet from the tailwind config of clubs.
And I thought it would be pretty cool if this sort of API was implemented first-class in the gradual adoption feature instead of making the code hacky.
Possible implementation
API Proposal:
Also, provide auto-completion through the Tailwind 3.1 types, or through custom JSDoc blocks, or through Typescript type declaration files.
Additional information
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: