You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The resolvedGrayColor is currently typed using the GrayColor type, which includes "auto" (which is not a resolved value).
I'd like to propose changing the types so that the resolvedGrayColor type excludes "auto".
Implementation ideas:
change the type of GrayColor to exclude "auto" and change the theme input type for grayColor to GrayColor | "auto" (which could be explicitly named something like ResolvableGrayColor if desirable)
add a new ResolvedGrayColor = Exclude<GrayColor | "auto"> type
The text was updated successfully, but these errors were encountered:
The
resolvedGrayColor
is currently typed using theGrayColor
type, which includes"auto"
(which is not a resolved value).I'd like to propose changing the types so that the
resolvedGrayColor
type excludes"auto"
.Implementation ideas:
GrayColor
to exclude"auto"
and change the theme input type forgrayColor
toGrayColor | "auto"
(which could be explicitly named something likeResolvableGrayColor
if desirable)ResolvedGrayColor = Exclude<GrayColor | "auto">
typeThe text was updated successfully, but these errors were encountered: