Skip to content

Commit

Permalink
Merge pull request #26163 from kyletsang/fix-react-inspector-link
Browse files Browse the repository at this point in the history
Documentation: Fix link to react-inspector theme
  • Loading branch information
valentinpalkovic authored Jun 9, 2024
2 parents f7b7225 + 3aaf33a commit 899b7fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code/lib/theming/src/convert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ export const convert = (inherit: ThemeVars = themes[getPreferredColorScheme()]):
}),

// Addon actions theme
// API example https://github.com/xyc/react-inspector/blob/master/src/styles/themes/chromeLight.js
// API example https://github.com/storybookjs/react-inspector/blob/master/src/styles/themes/chromeLight.tsx
addonActionsTheme: {
...(base === 'light' ? chromeLight : chromeDark),

Expand Down
2 changes: 1 addition & 1 deletion docs/configure/theming.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ Here's how you might insert a custom `<Canvas />` block:

Some addons require specific theme variables that a Storybook user must add. If you share your theme with the community, make sure to support the official API and other popular addons, so your users have a consistent experience.

For example, the popular Actions addon uses [react-inspector](https://github.com/xyc/react-inspector/blob/master/src/styles/themes/chromeLight.js), which has themes of its own. Supply additional theme variables to style it like so:
For example, the popular Actions addon uses [react-inspector](https://github.com/storybookjs/react-inspector/blob/master/src/styles/themes/chromeLight.tsx), which has themes of its own. Supply additional theme variables to style it like so:

<!-- prettier-ignore-start -->

Expand Down

0 comments on commit 899b7fc

Please sign in to comment.