diff --git a/scss/_variables.scss b/scss/_variables.scss index d7f8fb0128..aad3b86a6d 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -2324,6 +2324,11 @@ $quantity-selector-sm-width: 5.625rem !default; $quantity-selector-btn-padding-x: add($btn-icon-padding-x, 2px) !default; $quantity-selector-btn-padding-x-sm: add($btn-icon-padding-x-sm, 2px) !default; +$quantity-selector-btn-bg: var(--#{$prefix}body-bg) !default; +$quantity-selector-btn-border: var(--#{$prefix}border-width) solid var(--#{$prefix}border-color-translucent) !default; + +$quantity-selector-disabled-color: var(--#{$prefix}disabled-color) !default; +$quantity-selector-disabled-bg: var(--#{$prefix}body-bg) !default; $quantity-selector-icon-width: .875rem !default; $quantity-selector-icon-sm-width: .625rem !default; diff --git a/scss/forms/_quantity-selector.scss b/scss/forms/_quantity-selector.scss index 0bcfd834ea..7ca212339d 100644 --- a/scss/forms/_quantity-selector.scss +++ b/scss/forms/_quantity-selector.scss @@ -24,13 +24,18 @@ } &:disabled { - color: $gray-500; - background-color: $white; + color: $quantity-selector-disabled-color; + background-color: $quantity-selector-disabled-bg; } } button { - border: var(--#{$prefix}border-width) solid $gray-500; + background-color: $quantity-selector-btn-bg; + border: $quantity-selector-btn-border; + + &:disabled { + background-color: $quantity-selector-btn-bg; + } &:first-of-type { @include button-icon($quantity-selector-icon-remove, $size: $quantity-selector-icon-width $quantity-selector-icon-remove-height, $pseudo: "after"); diff --git a/site/content/docs/5.3/dark-mode.md b/site/content/docs/5.3/dark-mode.md index 35434394b5..c2447c513c 100644 --- a/site/content/docs/5.3/dark-mode.md +++ b/site/content/docs/5.3/dark-mode.md @@ -2621,6 +2621,123 @@ sitemap_exclude: true