Skip to content

Commit

Permalink
chore(documentation): add deprecated message on accent colors (#3195)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidritter-dotcom authored Jul 16, 2024
1 parent 71b9abd commit ea56419
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/famous-emus-appear.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-documentation': patch
---

Deprecated accent colors.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ Inverted buttons don't need special classes anymore, just use any of the [backgr

### Accent colors

<div className="alert alert-md alert-warning">
<h2 className="alert-heading">The accent colors are deprecated</h2>
<p>The CSS classes to apply to the buttons will be removed in the future.</p>
</div>

There are a number of accent colors that you can apply to buttons instead of the usual colors.

<Canvas of={ButtonStories.AccentColors} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ These colors are also available via the **Sass map** `$signal-background-colors`
</section>

## Accent colors

<div className="alert alert-md alert-warning">
<h2 className="alert-heading">The accent colors are deprecated</h2>
<p>Its CSS and SASS variables will be removed in the future.</p>
</div>

These colors are also available via the **Sass map** `$accent-colors`.

<section className="color-swatch__section">
Expand Down

0 comments on commit ea56419

Please sign in to comment.