1
1
import type { Meta , StoryFn } from '@storybook/react-vite'
2
2
import { Placeholder } from '../Placeholder'
3
3
import { PageLayout } from './PageLayout'
4
- import classes from './PageLayout.dev.stories.module.css'
5
4
6
5
const meta : Meta = {
7
6
title : 'Components/PageLayout/Dev' ,
@@ -347,11 +346,11 @@ export const Default: StoryFn = args => (
347
346
padding = { args . padding }
348
347
rowGap = { args . rowGap }
349
348
columnGap = { args . columnGap }
350
- className = { classes . DebugPageLayout }
349
+ sx = { { border : '1px solid red' } }
351
350
>
352
351
< PageLayout . Header
353
352
padding = { args [ 'Header.padding' ] }
354
- className = { classes . SuccessColor }
353
+ sx = { { color : 'var(--fgColor-success)' } }
355
354
divider = { {
356
355
narrow : args [ 'Header.divider.narrow' ] ,
357
356
regular : args [ 'Header.divider.regular' ] ,
@@ -366,7 +365,7 @@ export const Default: StoryFn = args => (
366
365
< Placeholder height = { args [ 'Header placeholder height' ] } label = "Header" />
367
366
</ PageLayout . Header >
368
367
< PageLayout . Content
369
- className = { classes . SuccessColor }
368
+ sx = { { color : 'var(--fgColor-success)' } }
370
369
width = { args [ 'Content.width' ] }
371
370
padding = { args [ 'Content.padding' ] }
372
371
hidden = { {
@@ -378,7 +377,7 @@ export const Default: StoryFn = args => (
378
377
< Placeholder height = { args [ 'Content placeholder height' ] } label = "Content" />
379
378
</ PageLayout . Content >
380
379
< PageLayout . Pane
381
- className = { classes . SuccessColor }
380
+ sx = { { color : 'var(--fgColor-success)' } }
382
381
position = { {
383
382
narrow : args [ 'Pane.position.narrow' ] ,
384
383
regular : args [ 'Pane.position.regular' ] ,
@@ -403,7 +402,7 @@ export const Default: StoryFn = args => (
403
402
< Placeholder height = { args [ 'Pane placeholder height' ] } label = "Pane" />
404
403
</ PageLayout . Pane >
405
404
< PageLayout . Footer
406
- className = { classes . SuccessColor }
405
+ sx = { { color : 'var(--fgColor-success)' } }
407
406
padding = { args [ 'Footer.padding' ] }
408
407
divider = { {
409
408
narrow : args [ 'Footer.divider.narrow' ] ,
0 commit comments