1
1
mirror of https://github.com/primer/css.git synced 2024-12-23 22:24:11 +03:00

Add deprecation for headers and lead-mktg

This commit is contained in:
Tobias Ahlin 2021-05-03 14:09:26 +02:00
parent 3f3b8b8aee
commit a366a982d6

View File

@ -5,6 +5,14 @@
*/
const versionDeprecations = {
'17.0.0': [
{
selectors: [
'.h000-mktg',
'.h00-mktg',
'.lead-mktg'
],
message: `This selector is deprecated, please refer to the Marketing Typography documentation.`
},
{
selectors: ['.bg-shade-gradient'],
message: `This selector is deprecated, please use "color-bg-secondary" instead of "bg-shade-gradient".`