Skip to content

Commit d3d0bba

Browse files
authored
Merge branch 'main' into tobiasahlin/dont-confuse-sizes-with-breakpoints
2 parents 4ac3974 + 134a345 commit d3d0bba

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

deprecations.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
const versionDeprecations = {
77
'17.0.0': [
88
{
9-
selectors: [
10-
'.h000-mktg',
11-
'.h00-mktg',
12-
'.lead-mktg'
13-
],
9+
variables: ['$h000-size', '$h000-size-mobile'],
10+
message: `This variable is deprecated, please refer to the Marketing Typography documentation.`
11+
},
12+
{
13+
selectors: ['.h000-mktg', '.h00-mktg', '.lead-mktg'],
1414
message: `This selector is deprecated, please refer to the Marketing Typography documentation.`
1515
},
1616
{

src/marketing/support/variables.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// stylelint-disable unit-no-unknown
12
// Typography
23
$marketing-font-path: "/fonts/" !default;
34

src/marketing/type/typography.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
.h6-mktg {
99
font-family: $font-mktg;
1010
font-feature-settings: $mktg-font-feature-settings;
11+
// stylelint-disable-next-line primer/typography
1112
font-weight: $mktg-header-weight-default !important;
1213
letter-spacing: $mktg-header-spacing-default !important;
1314
}

0 commit comments

Comments
 (0)