From 00e963fefbafe6d8e4dce555f68e3e9856b2bc8f Mon Sep 17 00:00:00 2001 From: "louismaxime.piton" Date: Wed, 25 Oct 2023 09:59:27 +0200 Subject: [PATCH] fix(review) --- scss/_variables.scss | 10 ++++---- scss/forms/_quantity-selector.scss | 6 ++--- site/content/docs/5.3/dark-mode.md | 40 +++++++++++++++--------------- 3 files changed, 28 insertions(+), 28 deletions(-) diff --git a/scss/_variables.scss b/scss/_variables.scss index dc0d85698c..a1b99a07c4 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -2307,14 +2307,14 @@ $quantity-selector-sm-width: 5.5rem !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-icon-width: .875rem !default; -$quantity-selector-icon-sm-width: .625rem !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-button-bg: var(--#{$prefix}body-bg) !default; -$quantity-selector-button-border: var(--#{$prefix}border-width) solid var(--#{$prefix}border-color-translucent) !default; + +$quantity-selector-icon-width: .875rem !default; +$quantity-selector-icon-sm-width: .625rem !default; $quantity-selector-icon-add: $add-icon !default; $quantity-selector-icon-add-sm: $add-icon-sm !default; diff --git a/scss/forms/_quantity-selector.scss b/scss/forms/_quantity-selector.scss index 3df9030c6c..4d5e73c148 100644 --- a/scss/forms/_quantity-selector.scss +++ b/scss/forms/_quantity-selector.scss @@ -25,11 +25,11 @@ } button { - background-color: $quantity-selector-button-bg; - border: $quantity-selector-button-border; + background-color: $quantity-selector-btn-bg; + border: $quantity-selector-btn-border; &:disabled { - background-color: $quantity-selector-button-bg; + background-color: $quantity-selector-btn-bg; } &:first-of-type { diff --git a/site/content/docs/5.3/dark-mode.md b/site/content/docs/5.3/dark-mode.md index 111214496f..c2447c513c 100644 --- a/site/content/docs/5.3/dark-mode.md +++ b/site/content/docs/5.3/dark-mode.md @@ -2628,19 +2628,19 @@ sitemap_exclude: true
- -
- -
@@ -2651,19 +2651,19 @@ sitemap_exclude: true
- -
- -
@@ -2674,19 +2674,19 @@ sitemap_exclude: true
- -
- -
@@ -2697,19 +2697,19 @@ sitemap_exclude: true
- -
- -
@@ -2720,19 +2720,19 @@ sitemap_exclude: true
- -
- -