@repobuddy/storybook 0.11.0 → 0.11.1

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.
@@ -1,4 +1,5 @@
1
1
  import type { CSSProperties } from '@just-web/css';
2
+ import type { ThemeVars } from 'storybook/internal/theming';
2
3
  /**
3
4
  * Configuration parameters for `storybook-dark-mode`.
4
5
  */
@@ -23,6 +24,10 @@ export interface DarkModeParam {
23
24
  * This only works when using `withStoryRoot`.
24
25
  */
25
26
  lightStyle?: CSSProperties | undefined;
27
+ /** Dark theme variables */
28
+ dark?: ThemeVars;
29
+ /** Light theme variables */
30
+ light?: ThemeVars;
26
31
  /** Element to apply theme classes to ('html' or 'body') */
27
32
  classTarget?: 'html' | 'body' | undefined;
28
33
  /** Whether to apply theme styles to preview iframe */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@repobuddy/storybook",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "description": "Storybook repo buddy",
5
5
  "keywords": [
6
6
  "storybook",
@@ -1,4 +1,5 @@
1
1
  import type { CSSProperties } from '@just-web/css'
2
+ import type { ThemeVars } from 'storybook/internal/theming'
2
3
 
3
4
  /**
4
5
  * Configuration parameters for `storybook-dark-mode`.
@@ -24,6 +25,10 @@ export interface DarkModeParam {
24
25
  * This only works when using `withStoryRoot`.
25
26
  */
26
27
  lightStyle?: CSSProperties | undefined
28
+ /** Dark theme variables */
29
+ dark?: ThemeVars
30
+ /** Light theme variables */
31
+ light?: ThemeVars
27
32
  /** Element to apply theme classes to ('html' or 'body') */
28
33
  classTarget?: 'html' | 'body' | undefined
29
34
  /** Whether to apply theme styles to preview iframe */