add group-focus variant

master
Brad Cornes 2020-04-23 22:20:46 +01:00
parent 4174b98485
commit d89883b658
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@ export default function getVariants({ config, version, postcss }) {
semver.gte(version, '1.0.0-beta.1') && variants.push('default') semver.gte(version, '1.0.0-beta.1') && variants.push('default')
semver.gte(version, '1.1.0') && semver.gte(version, '1.1.0') &&
variants.push('first', 'last', 'odd', 'even', 'disabled', 'visited') variants.push('first', 'last', 'odd', 'even', 'disabled', 'visited')
semver.gte(version, '1.3.0') && variants.push('group-focus')
let plugins = config.plugins let plugins = config.plugins
if (!Array.isArray(plugins)) { if (!Array.isArray(plugins)) {