@storybook/addon-themes 9.1.1 → 9.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/package.json +13 -6
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @storybook/addon-themes
|
|
2
2
|
|
|
3
|
-
Storybook Addon Themes can be used
|
|
3
|
+
Storybook Addon Themes can be used to switch between multiple themes for components inside the preview in [Storybook](https://storybook.js.org?ref=readme).
|
|
4
4
|
|
|
5
5
|

|
|
6
6
|
|
|
@@ -12,7 +12,7 @@ Requires Storybook 7.0 or later. If you need to add it to your Storybook, you ca
|
|
|
12
12
|
npm i -D @storybook/addon-themes
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
Then, add following content to [`.storybook/main.js`](https://storybook.js.org/docs/configure#configure-your-storybook-project):
|
|
15
|
+
Then, add following content to [`.storybook/main.js`](https://storybook.js.org/docs/configure#configure-your-storybook-project?ref=readme):
|
|
16
16
|
|
|
17
17
|
```js
|
|
18
18
|
export default {
|
|
@@ -65,3 +65,5 @@ export const PrimaryDark = {
|
|
|
65
65
|
globals: { theme: 'dark' },
|
|
66
66
|
};
|
|
67
67
|
```
|
|
68
|
+
|
|
69
|
+
Learn more about Storybook at [storybook.js.org](https://storybook.js.org/?ref=readme).
|
package/package.json
CHANGED
|
@@ -1,15 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/addon-themes",
|
|
3
|
-
"version": "9.1.
|
|
4
|
-
"description": "Switch between
|
|
3
|
+
"version": "9.1.3",
|
|
4
|
+
"description": "Storybook Themes addon: Switch between themes from the toolbar",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"css",
|
|
7
7
|
"essentials",
|
|
8
|
+
"storybook",
|
|
8
9
|
"storybook-addon",
|
|
9
|
-
"storybook-addons",
|
|
10
10
|
"style",
|
|
11
11
|
"themes",
|
|
12
|
-
"toggle"
|
|
12
|
+
"toggle",
|
|
13
|
+
"component",
|
|
14
|
+
"components",
|
|
15
|
+
"react",
|
|
16
|
+
"vue",
|
|
17
|
+
"angular",
|
|
18
|
+
"svelte",
|
|
19
|
+
"web-components"
|
|
13
20
|
],
|
|
14
21
|
"homepage": "https://github.com/storybookjs/storybook/tree/next/code/addons/themes",
|
|
15
22
|
"bugs": {
|
|
@@ -75,7 +82,7 @@
|
|
|
75
82
|
"typescript": "^5.8.3"
|
|
76
83
|
},
|
|
77
84
|
"peerDependencies": {
|
|
78
|
-
"storybook": "^9.1.
|
|
85
|
+
"storybook": "^9.1.3"
|
|
79
86
|
},
|
|
80
87
|
"publishConfig": {
|
|
81
88
|
"access": "public"
|
|
@@ -91,7 +98,7 @@
|
|
|
91
98
|
"./src/preview.tsx"
|
|
92
99
|
]
|
|
93
100
|
},
|
|
94
|
-
"gitHead": "
|
|
101
|
+
"gitHead": "ce6a1e4a8d5ad69c699021a0b183df89cfc7b684",
|
|
95
102
|
"storybook": {
|
|
96
103
|
"displayName": "Themes",
|
|
97
104
|
"unsupportedFrameworks": [
|