Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
alexasselin008 committed Nov 13, 2023
1 parent b230846 commit 5157f7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/styled-system/src/StyledSystemProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export interface StyledSystemProviderProps extends BreakpointProviderProps, Comp
* - Managing color scheme (light, dark, auto)
* - Optionally adding body styles to the document
*/
export function StyledSystemProvider({ children, withBodyStyle = false, withCssVariables = true, colorScheme = "light", defaultColorScheme, unsupportedMatchMediaBreakpoint = DefaultUnsupportedMatchMediaBreakpoint, className, ...rest }: StyledSystemProviderProps) {
export function StyledSystemProvider({ children, withBodyStyle = false, withCssVariables = true, colorScheme = "light", defaultColorScheme = "light", unsupportedMatchMediaBreakpoint = DefaultUnsupportedMatchMediaBreakpoint, className, ...rest }: StyledSystemProviderProps) {
const [remoteColorScheme, setRemoteColorScheme] = useState<ColorScheme>();
const computedColorScheme = useColorScheme(remoteColorScheme ?? colorScheme, defaultColorScheme);

Expand Down

0 comments on commit 5157f7d

Please sign in to comment.