File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -69,4 +69,8 @@ export const allModes = {
69
69
globalColourScheme : 'light' ,
70
70
viewport : breakpoints . leftCol ,
71
71
} ,
72
+ 'light wide' : {
73
+ globalColourScheme : 'light' ,
74
+ viewport : breakpoints . wide ,
75
+ } ,
72
76
} ;
Original file line number Diff line number Diff line change 1
1
import type { Meta , StoryObj } from '@storybook/react' ;
2
+ import { allModes } from '../../.storybook/modes' ;
2
3
import { Gallery as GalleryFixture } from '../../fixtures/generated/fe-articles/Gallery' ;
3
4
import { WithBranding } from '../components/ArticleMeta.web.stories' ;
4
5
import { ArticleDesign } from '../lib/articleFormat' ;
@@ -10,6 +11,13 @@ import { GalleryLayout } from './GalleryLayout';
10
11
const meta = {
11
12
title : 'Layouts/Gallery' ,
12
13
component : GalleryLayout ,
14
+ parameters : {
15
+ chromatic : {
16
+ modes : {
17
+ 'light wide' : allModes [ 'light wide' ] ,
18
+ } ,
19
+ } ,
20
+ } ,
13
21
} satisfies Meta < typeof GalleryLayout > ;
14
22
15
23
export default meta ;
You can’t perform that action at this time.
0 commit comments