Skip to content

Commit b0032fb

Browse files
authored
Merge pull request #1219 from mfranzke/fix-docs-patternstate-custom-color
fix(docs): fixed css code for custom patternstates color
2 parents 55b6787 + 8995241 commit b0032fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/docs/src/docs/pattern-states.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ The three default states included with Pattern Lab might not be enough for every
4545
You can use the following as your CSS template for new pattern states:
4646

4747
```css
48-
{% raw %}.newpatternstate:before {
49-
color: #B10DC9 !important;
48+
{% raw %}.pl-c-pattern-state--newpatternstate {
49+
background-color: #B10DC9;
5050
}{% endraw %}
5151
```
5252

0 commit comments

Comments
 (0)