Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
stephiescastle committed Jun 28, 2024
1 parent 615d5e7 commit c15d415
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 29 deletions.
27 changes: 0 additions & 27 deletions apps/vue-storybook/.storybook/themeStore.ts

This file was deleted.

4 changes: 2 additions & 2 deletions apps/vue-storybook/.storybook/withGlobals.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useEffect, useGlobals } from '@storybook/preview-api'
import { useThemeStore } from './themeStore'
type Explorer1Theme = 'defaultTheme' | 'ThemeInternal' | 'ThemeEdu'
import { useThemeStore } from '@explorer-1/vue/src/store/theme'
import { type Explorer1Theme } from '@explorer-1/vue/src/interfaces'

export const getConfig = (config) => {
// default values
Expand Down
10 changes: 10 additions & 0 deletions packages/vue/src/components/BlockCard/BlockCard.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@ import BlockCard from './BlockCard.vue'
export default {
title: 'Components/Blocks/BlockCard',
component: BlockCard,
decorators: [
() => ({
template: `<div id="storyDecorator" class="lg:w-1/3"><story/></div>`
})
],
parameters: {
html: {
root: '#storyDecorator'
}
},
excludeStories: /.*Data$/
}

Expand Down

0 comments on commit c15d415

Please sign in to comment.