Skip to content

Commit d56fd54

Browse files
geotrevze-flo
andauthored
chore: use parent theme callback
Co-authored-by: Florent <ze-flo@users.noreply.github.com>
1 parent eeedb01 commit d56fd54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/notifications/src/elements/global-alert/GlobalAlert.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const GlobalAlertComponent = forwardRef<HTMLDivElement, IGlobalAlertProps>(
4444
);
4545

4646
return (
47-
<ThemeProvider theme={lightTheme}>
47+
<ThemeProvider theme={theme => ({...theme, colors: { ...theme.colors, base: 'light' })}>
4848
<GlobalAlertContext.Provider value={useMemo(() => ({ type }), [type])}>
4949
{/* [2] */}
5050
{/* eslint-disable-next-line jsx-a11y/prefer-tag-over-role */}

0 commit comments

Comments
 (0)