Skip to content

Commit

Permalink
fix: improve storybook styles
Browse files Browse the repository at this point in the history
  • Loading branch information
elevatebart committed Jan 13, 2025
1 parent 2a56ba8 commit 6691575
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions ui/.storybook/preview.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import {setup} from "@storybook/vue3";
import {createI18n} from "vue-i18n";
import {withThemeByClassName} from "@storybook/addon-themes";
import initApp from "../src/utils/init";
import stores from "../src/stores/store";
import {withThemeByClassName} from "@storybook/addon-themes";

import "../src/styles/vendor.scss";
import "../src/styles/app.scss";
Expand Down Expand Up @@ -29,12 +30,19 @@ const preview = {
dark: "dark",
},
defaultTheme: "light",
}),
})
]
};

const i18n = createI18n({
locale: "en",
messages: {en},
legacy: false,
});

setup((app) => {
initApp(app, [], stores, en);
app.use(i18n);
});

export default preview;

0 comments on commit 6691575

Please sign in to comment.