Shared:Storybook: add current color scheme

This commit is contained in:
Timofey Boyko 2024-05-22 17:04:16 +03:00
parent e77b80f227
commit 73fd154d6d

View File

@ -2,7 +2,16 @@ import PropTypes from "prop-types";
import { ThemeProvider } from "../../components/theme-provider";
const ThemeWrapper = ({ theme, children }) => {
return <ThemeProvider theme={theme}>{children}</ThemeProvider>;
return (
<ThemeProvider
theme={theme}
currentColorScheme={{
main: { accent: "#4781D1", buttons: "#5299E0" },
}}
>
{children}
</ThemeProvider>
);
};
ThemeWrapper.propTypes = {