Skip to content

Commit

Permalink
Remove text-transform from Polaris React (#8255)
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-b-rose authored Feb 3, 2023
1 parent 37cacc5 commit a766dec
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 35 deletions.
3 changes: 0 additions & 3 deletions polaris-react/src/components/AppProvider/AppProvider.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ body {
font-size: var(--p-font-size-100);
line-height: var(--p-font-line-height-2);
font-weight: var(--p-font-weight-regular);

// stylelint-disable-next-line -- generated by polaris-migrator DO NOT COPY
text-transform: initial;
letter-spacing: initial;

// stylelint-disable-next-line -- generated by polaris-migrator DO NOT COPY
Expand Down
2 changes: 0 additions & 2 deletions polaris-react/src/components/Banner/Banner.scss
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,6 @@
font-size: var(--p-font-size-100);
font-weight: var(--p-font-weight-medium);
line-height: var(--p-font-line-height-1);
// stylelint-disable-next-line -- generated by polaris-migrator DO NOT COPY
text-transform: initial;
letter-spacing: initial;
color: var(--p-text);

Expand Down
4 changes: 0 additions & 4 deletions polaris-react/src/components/Button/Button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@
font-size: var(--p-font-size-100);
font-weight: var(--p-font-weight-medium);
line-height: var(--p-font-line-height-1);
// stylelint-disable-next-line -- generated by polaris-migrator DO NOT COPY
text-transform: initial;
letter-spacing: initial;
// stylelint-disable-next-line -- generated by polaris-migrator DO NOT COPY
position: relative;
Expand Down Expand Up @@ -464,8 +462,6 @@
font-size: var(--p-font-size-200);
font-weight: var(--p-font-weight-medium);
line-height: var(--p-font-line-height-2);
// stylelint-disable-next-line -- generated by polaris-migrator DO NOT COPY
text-transform: initial;
letter-spacing: initial;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
font-size: var(--p-font-size-75);
font-weight: var(--p-font-weight-medium);
line-height: var(--p-font-line-height-1);
// stylelint-disable-next-line -- generated by polaris-migrator DO NOT COPY
text-transform: initial;
letter-spacing: initial;
// stylelint-disable-next-line -- generated by polaris-migrator DO NOT COPY
display: flex;
Expand Down
2 changes: 0 additions & 2 deletions polaris-react/src/components/FooterHelp/FooterHelp.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,5 @@
font-weight: var(--p-font-weight-regular);
line-height: var(--p-font-line-height-2);
border: none;
// stylelint-disable-next-line -- generated by polaris-migrator DO NOT COPY
text-transform: initial;
letter-spacing: initial;
}
2 changes: 0 additions & 2 deletions polaris-react/src/components/Frame/Frame.scss
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,6 @@
font-size: var(--p-font-size-100);
font-weight: var(--p-font-weight-medium);
line-height: var(--p-font-line-height-1);
// stylelint-disable-next-line -- generated by polaris-migrator DO NOT COPY
text-transform: initial;
letter-spacing: initial;
color: var(--p-text);

Expand Down
2 changes: 0 additions & 2 deletions polaris-react/src/components/Navigation/Navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -533,8 +533,6 @@ $disabled-fade: 0.6;
}

.SectionHeading {
// stylelint-disable-next-line -- generated by polaris-migrator DO NOT COPY
text-transform: none; // Adding this intentionally to override the default subheading styling.
// stylelint-disable-next-line -- generated by polaris-migrator DO NOT COPY
display: flex;
// stylelint-disable-next-line -- generated by polaris-migrator DO NOT COPY
Expand Down
2 changes: 0 additions & 2 deletions polaris-react/src/components/Select/Select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,6 @@
font-size: var(--p-font-size-200);
font-weight: var(--p-font-weight-regular);
line-height: var(--p-font-line-height-2);
// stylelint-disable-next-line -- generated by polaris-migrator DO NOT COPY
text-transform: initial;
letter-spacing: initial;
// stylelint-disable-next-line -- generated by polaris-migrator DO NOT COPY
position: absolute;
Expand Down
2 changes: 0 additions & 2 deletions polaris-react/src/components/TextField/TextField.scss
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ $spinner-icon-size: 12px;
font-size: var(--p-font-size-200);
font-weight: var(--p-font-weight-regular);
line-height: var(--p-font-line-height-2);
// stylelint-disable-next-line -- generated by polaris-migrator DO NOT COPY
text-transform: initial;
letter-spacing: initial;
// stylelint-disable-next-line -- generated by polaris-migrator DO NOT COPY
position: relative;
Expand Down
14 changes: 0 additions & 14 deletions polaris-react/src/styles/shared/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
font-size: 13px;
font-weight: var(--p-font-weight-semibold);
line-height: var(--p-font-line-height-1);
// stylelint-disable-next-line -- generated by polaris-migrator DO NOT COPY
text-transform: uppercase;

@media #{$p-breakpoints-md-up} {
font-size: var(--p-font-size-75);
Expand All @@ -39,9 +37,6 @@
font-weight: var(--p-font-weight-regular);
line-height: var(--p-font-line-height-3);
border: none;

// stylelint-disable-next-line -- generated by polaris-migrator DO NOT COPY
text-transform: initial;
letter-spacing: initial;

@media #{$p-breakpoints-md-up} {
Expand All @@ -54,9 +49,6 @@
font-size: 15px;
font-weight: var(--p-font-weight-regular);
line-height: var(--p-font-line-height-2);

// stylelint-disable-next-line -- generated by polaris-migrator DO NOT COPY
text-transform: initial;
letter-spacing: initial;

@media #{$p-breakpoints-md-up} {
Expand All @@ -69,9 +61,6 @@
font-size: 15px;
font-weight: var(--p-font-weight-medium);
line-height: var(--p-font-line-height-1);

// stylelint-disable-next-line -- generated by polaris-migrator DO NOT COPY
text-transform: initial;
letter-spacing: initial;

@media #{$p-breakpoints-md-up} {
Expand All @@ -84,9 +73,6 @@
font-size: 17px;
font-weight: var(--p-font-weight-medium);
line-height: var(--p-font-line-height-2);

// stylelint-disable-next-line -- generated by polaris-migrator DO NOT COPY
text-transform: initial;
letter-spacing: initial;

@media #{$p-breakpoints-md-up} {
Expand Down

0 comments on commit a766dec

Please sign in to comment.