Skip to content

Commit

Permalink
fix(components): update heading-01 to productive-heading-01 (#4399)
Browse files Browse the repository at this point in the history
  • Loading branch information
emyarod authored and abbeyhrt committed Oct 28, 2019
1 parent 6d0b0c0 commit 14e8d29
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions packages/components/demo/scss/_markdown-page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@

ul,
ol {
@include type-style('heading-01');
@include type-style('productive-heading-01');
margin-left: 1.5rem;
margin-bottom: 1rem;
line-height: 1.75;
Expand Down Expand Up @@ -331,7 +331,7 @@
}

blockquote + p strong {
@include type-style('heading-01');
@include type-style('productive-heading-01');
color: $brand-01;
}

Expand Down
2 changes: 1 addition & 1 deletion packages/components/demo/scss/_page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ td {
}

h1 {
@include type-style('heading-01');
@include type-style('productive-heading-01');
font-weight: 300;
line-height: 1.25;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
}

.#{$prefix}--data-table thead {
@include type-style('heading-01');
@include type-style('productive-heading-01');
background-color: $ui-03;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@

.#{$prefix}--date-picker__month .flatpickr-current-month,
.flatpickr-month .flatpickr-current-month {
@include type-style('heading-01');
@include type-style('productive-heading-01');
padding: 0;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@
opacity: 1;
}
.flatpickr-current-month {
@include type-style('heading-01');
@include type-style('productive-heading-01');

color: inherit;
position: absolute;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
// TODO: sync with type
.#{$prefix}--file--label {
@include reset;
@include type-style('heading-01');
@include type-style('productive-heading-01');
color: $text-01;
margin-bottom: $carbon--spacing-03;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
}

.#{$prefix}--inline-notification__title {
@include type-style('heading-01');
@include type-style('productive-heading-01');
margin: 0 $carbon--spacing-02 0 0;
line-height: rem(24px);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
}

.#{$prefix}--toast-notification__title {
@include type-style('heading-01');
@include type-style('productive-heading-01');

font-weight: 600;
margin-top: 1rem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
.#{$prefix}--structured-list-th {
@include reset;
@include padding-th;
@include type-style('heading-01');
@include type-style('productive-heading-01');
display: table-cell;
font-weight: 600;
height: rem(40px);
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/components/tabs/_tabs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@
display: flex;
.#{$prefix}--tabs__nav-link {
color: $text-01;
@include type-style('heading-01');
@include type-style('productive-heading-01');
border-bottom: 3px solid $interactive-01;
}

Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/components/tooltip/_tooltip.scss
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@
}

.#{$prefix}--tooltip__heading {
@include carbon--type-style('heading-01');
@include carbon--type-style('productive-heading-01');
margin-bottom: $spacing-03;
}

Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/components/ui-shell/_side-nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@
//----------------------------------------------------------------------------
.#{$prefix}--side-nav__submenu[aria-haspopup='true'] {
@include button-reset($width: true);
@include type-style('heading-01');
@include type-style('productive-heading-01');
@include focus-outline('reset');
padding: 0 mini-units(2);
display: flex;
Expand Down Expand Up @@ -483,7 +483,7 @@
.#{$prefix}--header__menu-title[role='menuitem'][aria-expanded='true']
+ .#{$prefix}--header__menu {
@include focus-outline('reset');
@include type-style('heading-01');
@include type-style('productive-heading-01');
position: relative;
display: flex;
align-items: center;
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/components/ui-shell/_switcher.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
}

.#{$prefix}--switcher__item-link {
@include carbon--type-style('heading-01');
@include carbon--type-style('productive-heading-01');
display: block;
height: $spacing-07;
text-decoration: none;
Expand Down

0 comments on commit 14e8d29

Please sign in to comment.