Skip to content

Commit

Permalink
Change code example to safelistPatterns instead of whitelistPatterns
Browse files Browse the repository at this point in the history
  • Loading branch information
weaversam8 authored Oct 14, 2020
1 parent f41f0ac commit 27a57c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ title: "The atomic web toolkit for pragmatists"
<p>
<strong>Add <code class="code">~*</code> and <code class="code">!*</code> classes to your <a href="https://purgecss.com/safelisting.html">PurgeCSS class safelist</a>,
if applicable.</strong> Because of an issue with PurgeCSS, it erroneously removes modifier classes that only set CSS variables (like <code class="code">~urge</code>
and <code class="code">!low</code>). Add the following to your PurgeCSS config: <code class="code">whitelistPatterns: [/^~/, /^!/]</code>.
and <code class="code">!low</code>). Add the following to your PurgeCSS config: <code class="code">safelistPatterns: [/^~/, /^!/]</code>.
</p>
</aside>
</div>
Expand Down

0 comments on commit 27a57c3

Please sign in to comment.