Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom GapValue & Colors type definition #6707

Closed
firmanjml opened this issue Oct 15, 2023 · 0 comments · Fixed by #6713
Closed

Custom GapValue & Colors type definition #6707

firmanjml opened this issue Oct 15, 2023 · 0 comments · Fixed by #6713

Comments

@firmanjml
Copy link

firmanjml commented Oct 15, 2023

Is your feature request related to a problem? Please describe

I have modified my bootstrap theme to have more Spacers, Gap, custom Colors and custom Variants.
But the typed definition for this library is restricting GapValue to exceed more than 5.

Describe the solution you'd like

I would like to request for modification in the type.d.ts of GapValue to have custom numbers instead of until 5.
type GapValue = 0 | 1 | 2 | 3 | 4 | 5 | number;
type Color = 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | 'white' | 'muted' | string;

Describe alternatives you've considered

No response

Additional context

No response

@firmanjml firmanjml changed the title Feature Custom GapValue & Colors type definition Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant