Skip to content

Commit

Permalink
Disable focus-visible-pseudo-class plugin to fix primary Button (#1552)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrohan authored Oct 28, 2022
1 parent 8211b26 commit 746696f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/metal-chicken-applaud.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/view-components": patch
---

Disable focus-visible-pseudo-class plugin to fix primary Button
3 changes: 2 additions & 1 deletion postcss.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ module.exports = {
stage: 2,
// https://preset-env.cssdb.org/features/#stage-2
features: {
'nesting-rules': true
'nesting-rules': true,
'focus-visible-pseudo-class': false
}
}),
require('cssnano'),
Expand Down

0 comments on commit 746696f

Please sign in to comment.