mirror of
https://github.com/primer/css.git
synced 2024-12-24 14:42:26 +03:00
Merge pull request #1380 from primer/tobiasahlin/dont-confuse-sizes-with-breakpoints
Marketing: use size modifiers that don't look like breakpoints modifiers
This commit is contained in:
commit
d7209ce182
5
.changeset/thirty-experts-exist.md
Normal file
5
.changeset/thirty-experts-exist.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@primer/css": major
|
||||
---
|
||||
|
||||
Marketing: use size modifiers that don't look like breakpoints modifiers
|
@ -79,10 +79,6 @@ const versionDeprecations = {
|
||||
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".`
|
||||
},
|
||||
{
|
||||
selectors: ['.color-border-overlay'],
|
||||
message: `Please use the ".color-border-primary" class instead of ".color-border-overlay".`
|
||||
|
@ -95,12 +95,12 @@
|
||||
|
||||
// Size modifiers
|
||||
|
||||
.btn-sm-mktg {
|
||||
.btn-small-mktg {
|
||||
// stylelint-disable-next-line primer/spacing
|
||||
padding: rem(10px) rem($spacer-3) rem(13px);
|
||||
}
|
||||
|
||||
.btn-lg-mktg {
|
||||
.btn-large-mktg {
|
||||
// stylelint-disable-next-line primer/spacing
|
||||
padding: 20px 30px 23px !important;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user