Skip to content

Commit

Permalink
build: keep selector list in dist output of not pseudo-class
Browse files Browse the repository at this point in the history
A change in configuration had resulted in some regressions due to
increased specificity created in the dist output of :not selectors.
One issue was with a disabled Menu item showing a change in icon color
on hover.

The config override being removed here sets it back to the default
stage 2 configuration that allows multiple comma separated selectors
within :not(). The configuration had been converting each item in the
:not selector list into its own :not selector, increasing specificity
for each additional item.
  • Loading branch information
jawinn committed May 8, 2024
1 parent 8454996 commit 0204d7e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion postcss.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ module.exports = ({
// https://github.com/jsxtools/focus-within
"focus-within-pseudo-class": true,
"font-format-keywords": true,
"not-pseudo-class": true,
"opacity-percentage": true,
// https://github.com/csstools/postcss-plugins/tree/main/plugins/css-prefers-color-scheme
"prefers-color-scheme-query": true,
Expand Down

0 comments on commit 0204d7e

Please sign in to comment.