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

Deprecate bg-shade-gradient

This commit is contained in:
Tobias Ahlin 2021-04-28 10:17:20 +02:00
parent 517e94458a
commit 1fef65910e
3 changed files with 4 additions and 6 deletions

View File

@ -5,6 +5,10 @@
*/
const versionDeprecations = {
'17.0.0': [
{
selectors: ['.bg-shade-gradient'],
message: `This selector is deprecated, please use "color-bg-secondary" instead of "bg-shade-gradient".`
},
{
selectors: ['.btn-large-mktg'],
message: `Please use the ".btn-lg-mktg" class instead of "btn-large-mktg".`

View File

@ -5,5 +5,4 @@
@import "./filters.scss";
@import "./layout.scss";
@import "./margin.scss";
@import "./misc.scss";
@import "./padding.scss";

View File

@ -1,5 +0,0 @@
.bg-shade-gradient {
background-image: linear-gradient(180deg, var(--color-mktg-bg-shade-gradient-top), var(--color-mktg-bg-shade-gradient-bottom)) !important;
background-repeat: no-repeat !important;
background-size: 100% 200px !important;
}