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 = {
6969 globalColourScheme : 'light' ,
7070 viewport : breakpoints . leftCol ,
7171 } ,
72+ 'light wide' : {
73+ globalColourScheme : 'light' ,
74+ viewport : breakpoints . wide ,
75+ } ,
7276} ;
Original file line number Diff line number Diff line change 11import type { Meta , StoryObj } from '@storybook/react' ;
2+ import { allModes } from '../../.storybook/modes' ;
23import { Gallery as GalleryFixture } from '../../fixtures/generated/fe-articles/Gallery' ;
34import { WithBranding } from '../components/ArticleMeta.web.stories' ;
45import { ArticleDesign } from '../lib/articleFormat' ;
@@ -10,6 +11,13 @@ import { GalleryLayout } from './GalleryLayout';
1011const meta = {
1112 title : 'Layouts/Gallery' ,
1213 component : GalleryLayout ,
14+ parameters : {
15+ chromatic : {
16+ modes : {
17+ 'light wide' : allModes [ 'light wide' ] ,
18+ } ,
19+ } ,
20+ } ,
1321} satisfies Meta < typeof GalleryLayout > ;
1422
1523export default meta ;
You can’t perform that action at this time.
0 commit comments