1
1
mirror of https://github.com/primer/css.git synced 2024-11-10 16:07:25 +03:00

Merge branch 'main' into tobiasahlin/dont-confuse-sizes-with-breakpoints

This commit is contained in:
Jon Rohan 2021-05-05 10:00:42 -07:00 committed by GitHub
commit d3d0bba565
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 5 deletions

View File

@ -6,11 +6,11 @@
const versionDeprecations = {
'17.0.0': [
{
selectors: [
'.h000-mktg',
'.h00-mktg',
'.lead-mktg'
],
variables: ['$h000-size', '$h000-size-mobile'],
message: `This variable is deprecated, please refer to the Marketing Typography documentation.`
},
{
selectors: ['.h000-mktg', '.h00-mktg', '.lead-mktg'],
message: `This selector is deprecated, please refer to the Marketing Typography documentation.`
},
{

View File

@ -1,3 +1,4 @@
// stylelint-disable unit-no-unknown
// Typography
$marketing-font-path: "/fonts/" !default;

View File

@ -8,6 +8,7 @@
.h6-mktg {
font-family: $font-mktg;
font-feature-settings: $mktg-font-feature-settings;
// stylelint-disable-next-line primer/typography
font-weight: $mktg-header-weight-default !important;
letter-spacing: $mktg-header-spacing-default !important;
}