1
1
mirror of https://github.com/primer/css.git synced 2024-11-26 23:56:04 +03:00

Add marketing paddings on all sides to deprecation list

This commit is contained in:
Tobias Ahlin Bjerrome 2021-04-30 14:50:15 +02:00
parent e710a57c97
commit a5c90ba759

View File

@ -5,6 +5,17 @@
*/
const versionDeprecations = {
'17.0.0': [
{
selectors: [
'.p-7',
'.p-8',
'.p-9',
'.p-10',
'.p-11',
'.p-12'
],
message: `This selector is deprecated, please use pt-X, pr-X, pb-X, and pl-X to set paddings on all sides above spacing level 6.`
},
{
selectors: ['.bg-shade-gradient'],
message: `This selector is deprecated, please use "color-bg-secondary" instead of "bg-shade-gradient".`