Cleanup unused variantOrder (#9829)

* cleanup unused `variantOrder`

* update changelog
This commit is contained in:
Robin Malfait 2022-11-14 12:18:44 +01:00 committed by GitHub
parent f2f1ee9b55
commit 30df062a85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 21 deletions

View File

@ -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

View File

@ -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'
@ -260,7 +259,6 @@ export default function resolveConfig(configs) {
prefix: '',
important: false,
separator: ':',
variantOrder: defaultConfig.variantOrder,
},
]

View File

@ -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: [],
}