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
🎨 Enforces Theme type for styled-components useTheme hook
Ensures that the `useTheme` hook is correctly typed as `Theme` from the
`ColorSchemeProvider` across various components. This provides type safety
when accessing theme properties, preventing potential runtime errors.
Specifically, the changes involve casting the result of `useTheme()` to `Theme`
in components such as `AccordionHead`, `Button`, `SearchBox`, `SearchInput`,
and `Slider`.
0 commit comments