Skip to content

Commit

Permalink
Cleanup unused variantOrder (#9829)
Browse files Browse the repository at this point in the history
* cleanup unused `variantOrder`

* update changelog
  • Loading branch information
RobinMalfait committed Nov 14, 2022
1 parent f2f1ee9 commit 30df062
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 21 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Expand Up @@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- Nothing yet!
### Fixed

- Cleanup unused `variantOrder` ([#9829](https://github.com/tailwindlabs/tailwindcss/pull/9829))

## [3.2.4] - 2022-11-11

Expand Down
2 changes: 0 additions & 2 deletions src/util/resolveConfig.js
@@ -1,7 +1,6 @@
import negateValue from './negateValue'
import corePluginList from '../corePluginList'
import configurePlugins from './configurePlugins'
import defaultConfig from '../../stubs/defaultConfig.stub'
import colors from '../public/colors'
import { defaults } from './defaults'
import { toPath } from './toPath'
Expand Down Expand Up @@ -260,7 +259,6 @@ export default function resolveConfig(configs) {
prefix: '',
important: false,
separator: ':',
variantOrder: defaultConfig.variantOrder,
},
]

Expand Down
18 changes: 0 additions & 18 deletions stubs/defaultConfig.stub.js
Expand Up @@ -949,23 +949,5 @@ module.exports = {
50: '50',
},
},
variantOrder: [
'first',
'last',
'odd',
'even',
'visited',
'checked',
'empty',
'read-only',
'group-hover',
'group-focus',
'focus-within',
'hover',
'focus',
'focus-visible',
'active',
'disabled',
],
plugins: [],
}

0 comments on commit 30df062

Please sign in to comment.