diff --git a/UNRELEASED.md b/UNRELEASED.md
index b3b0e821eab..19a9acbbc39 100644
--- a/UNRELEASED.md
+++ b/UNRELEASED.md
@@ -6,8 +6,8 @@ Use [the changelog guidelines](/documentation/Versioning%20and%20changelog.md) t
### Enhancements
-- Update `VisuallyHidden` styles to not use `top` or `clip` ([#4641](https://github.com/Shopify/polaris-react/pull/4641)).
-- Added `PlainAction` type to `ComplexAction`. ([#4489](https://github.com/Shopify/polaris-react/pull/4489)
+- Updated `VisuallyHidden` styles to not use `top` or `clip` ([#4641](https://github.com/Shopify/polaris-react/pull/4641)).
+- Added `PlainAction` type to `ComplexAction`. ([#4489](https://github.com/Shopify/polaris-react/pull/4489))
### Bug fixes
@@ -23,6 +23,7 @@ Use [the changelog guidelines](/documentation/Versioning%20and%20changelog.md) t
### Code quality
-Clean up Button styling and $button-filled mixin([#4635](https://github.com/Shopify/polaris-react/pull/4635))
+- Cleaned up Button styling and $button-filled mixin([#4635](https://github.com/Shopify/polaris-react/pull/4635))
+- Removed miscellaneous css custom properties ([#4620](https://github.com/Shopify/polaris-react/pull/4620))
### Deprecations
diff --git a/documentation/Color system.md b/documentation/Color system.md
index 60acf505880..ea033ea8106 100644
--- a/documentation/Color system.md
+++ b/documentation/Color system.md
@@ -268,14 +268,8 @@ Used to decorate elements where color does convey a specific meaning in componen
| `--p-button-drop-shadow` | `0 1px 0 rgba(0, 0, 0, 0.05)` |
| `--p-button-inner-shadow` | `inset 0 -1px 0 rgba(0, 0, 0, 0.2)` |
| `--p-button-pressed-inner-shadow` | `inset 0 1px 0 rgba(0, 0, 0, 0.15)` |
-| `--p-override-none` | `none` |
-| `--p-override-transparent` | `transparent` |
-| `--p-override-one` | `1` |
-| `--p-override-visible` | `visible` |
-| `--p-override-zero` | `0` |
| `--p-override-loading-z-index` | `514` |
| `--p-button-font-weight` | `500` |
-| `--p-non-null-content` | `''` |
| `--p-choice-size` | `2rem` |
| `--p-icon-size` | `1rem` |
| `--p-choice-margin` | `0.1rem` |
@@ -285,7 +279,6 @@ Used to decorate elements where color does convey a specific meaning in componen
| `--p-banner-border-highlight` | `inset 0 0.1rem 0 0 var(--p-border-highlight-subdued), inset 0 0 0 0.1rem var(--p-border-highlight-subdued)` |
| `--p-banner-border-warning` | `inset 0 0.1rem 0 0 var(--p-border-warning-subdued), inset 0 0 0 0.1rem var(--p-border-warning-subdued)` |
| `--p-banner-border-critical` | `inset 0 0.1rem 0 0 var(--p-border-critical-subdued), inset 0 0 0 0.1rem var(--p-border-critical-subdued)` |
-| `--p-badge-mix-blend-mode` | `luminosity` |
| `--p-thin-border-subdued` | `0.1rem solid var(--p-border-subdued)` |
| `--p-text-field-spinner-offset` | `0.2rem` |
| `--p-text-field-focus-ring-offset` | `-0.4rem` |
@@ -297,5 +290,4 @@ Used to decorate elements where color does convey a specific meaning in componen
| `--p-ease` | `cubic-bezier(0.4, 0.22, 0.28, 1)` |
| `--p-range-slider-thumb-size-base` | `1.6rem` |
| `--p-range-slider-thumb-size-active` | `2.4rem` |
-| `--p-range-slider-thumb-scale` | `1.5` |
| `--p-badge-font-weight` | `400` |
diff --git a/src/components/Badge/Badge.scss b/src/components/Badge/Badge.scss
index 1ff0553070f..fdd32e9b67d 100644
--- a/src/components/Badge/Badge.scss
+++ b/src/components/Badge/Badge.scss
@@ -15,7 +15,6 @@ $pip-spacing: ($height - $pip-size) / 2;
align-items: center;
padding: $vertical-padding $horizontal-padding;
background-color: var(--p-surface-neutral);
- border: var(--p-override-zero);
border-radius: $height;
font-size: rem(13px);
line-height: $extra-small-height;
diff --git a/src/components/Banner/Banner.scss b/src/components/Banner/Banner.scss
index eb7b6ffb38b..5747e0f22e3 100644
--- a/src/components/Banner/Banner.scss
+++ b/src/components/Banner/Banner.scss
@@ -214,7 +214,6 @@ $spinner-size: rem(20px);
}
.Heading {
- padding-top: var(--p-override-none);
word-break: break-word;
}
diff --git a/src/components/Breadcrumbs/Breadcrumbs.scss b/src/components/Breadcrumbs/Breadcrumbs.scss
index 516ff89e9a3..d8169db93b2 100644
--- a/src/components/Breadcrumbs/Breadcrumbs.scss
+++ b/src/components/Breadcrumbs/Breadcrumbs.scss
@@ -9,7 +9,9 @@ $icon-size: rem(20px);
position: relative;
display: flex;
align-items: center;
+ justify-content: center;
min-height: control-height();
+ min-width: control-height();
color: var(--p-text-subdued);
text-decoration: none;
margin: 0;
@@ -24,10 +26,6 @@ $icon-size: rem(20px);
&:active {
background-color: var(--p-surface-pressed);
-
- .ContentWrapper {
- background: var(--p-override-transparent);
- }
}
&:hover,
@@ -42,9 +40,6 @@ $icon-size: rem(20px);
// stylelint-disable selector-max-specificity
&:focus {
outline: none;
- .ContentWrapper {
- background: var(--p-override-transparent);
- }
}
&:focus:not(:active) {
@@ -53,21 +48,6 @@ $icon-size: rem(20px);
// stylelint-enable selector-max-specificity
}
-.ContentWrapper {
- position: relative;
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 0;
- margin-left: 0;
- background: transparent;
- height: control-slim-height();
- width: control-slim-height();
- border-radius: var(--p-border-radius-wide);
- will-change: background;
- transition: background duration() easing();
-}
-
.Content {
@include truncate;
position: relative;
diff --git a/src/components/Breadcrumbs/Breadcrumbs.tsx b/src/components/Breadcrumbs/Breadcrumbs.tsx
index f2c706dbaee..6401d34a770 100644
--- a/src/components/Breadcrumbs/Breadcrumbs.tsx
+++ b/src/components/Breadcrumbs/Breadcrumbs.tsx
@@ -23,12 +23,12 @@ export function Breadcrumbs({breadcrumbs}: BreadcrumbsProps) {
const {content} = breadcrumb;
const contentMarkup = (
-
+ <>