1
1
mirror of https://github.com/primer/css.git synced 2024-11-26 12:14:22 +03:00
css/deprecations.js

25 lines
859 B
JavaScript
Raw Normal View History

/**
Deprecated Selectors
-------------------------
These are deprecated selectors and should not be used. They include a replacement value,
which can be an array or null.
* 'deprecated-selector': 'replacement-selector' <-- Replace with this selector.
* 'deprecated-selector': ['replacement-1', 'replacement-2'] <-- Replace with one of these selectors.
* 'deprecated-selector': null <-- No option available, remove selector.
*/
2019-09-05 21:55:10 +03:00
import fs from 'fs'
const deprecations = JSON.parse(fs.readFileSync('./dist/deprecations.json'))
const deprecatedSelectors = deprecations['selectors']
const deprecatedSassVariables = deprecations['variables']
const deprecatedSassMixins = deprecations['mixins']
2019-11-01 01:48:16 +03:00
export {
deprecatedSelectors,
deprecatedSassVariables,
deprecatedSassMixins
2019-11-01 01:48:16 +03:00
}