Skip to content

Commit

Permalink
Impelemnt a11y addon
Browse files Browse the repository at this point in the history
  • Loading branch information
MajaZarkova committed Oct 3, 2024
1 parent 0970f84 commit fb711ad
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sit-onyx/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { mergeConfig } from "vite";

const config: StorybookConfig = {
stories: ["./pages/*.mdx", "../src/**/*.stories.ts"],
addons: ["@storybook/addon-essentials", "storybook-dark-mode"],
addons: ["@storybook/addon-essentials", "storybook-dark-mode", "@storybook/addon-a11y"],
staticDirs: ["./public"],
framework: {
name: "@storybook/vue3-vite",
Expand Down
3 changes: 3 additions & 0 deletions packages/sit-onyx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,8 @@
"sass": "catalog:",
"vue": "catalog:",
"vue-component-type-helpers": "^2.1.6"
},
"dependencies": {
"@storybook/addon-a11y": "^8.3.4"
}
}
14 changes: 14 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fb711ad

Please sign in to comment.