busbud / tailwind-buddy

Tailwind Buddy: Your Friendly Helper for Composing Tailwind Classes 🎨
https://busbud.github.io/tailwind-buddy/
12 stars 1 forks source link

make screens overridable #3

Closed flozero closed 2 months ago

flozero commented 4 months ago

Today Due to typescript typing knowledge limitation. I was not able to make the override of type of screens

I tried an approach to make a global interface Screens that I would override if present otherwise taking the default one.

You can find this by searching for

// interface GlobalScreens {
//     screens: string[];
// }

That would let us give to the options a screens options and make all the auto complete works when we do have a responsive variants.

The requirements are:

Open to any other approach but this need to meet the two requirements.