Shared:Storybook: add current color scheme
This commit is contained in:
parent
e77b80f227
commit
73fd154d6d
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user