Skip to content

Commit

Permalink
chore(documentation): add palette scss file import documentation (#4127)
Browse files Browse the repository at this point in the history
  • Loading branch information
leagrdv authored Dec 17, 2024
1 parent 0300fba commit 019aac1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/four-beers-leave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-documentation': patch
---

Added scss file import documentation to palette.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Canvas, Controls, Meta } from '@storybook/blocks';
import * as paletteStories from './palettes.stories';
import StylesPackageImport from '@/shared/styles-package-import.mdx';

<Meta of={paletteStories} />

Expand All @@ -25,3 +26,5 @@ You can apply this text color to any element by using the `.palette-text` class.
<div className="hide-col-default">
<Controls of={paletteStories.Default} />
</div>

<StylesPackageImport components={['post-palettes']} />

0 comments on commit 019aac1

Please sign in to comment.