From 5863d584246c12b12619570e73f482babebd2259 Mon Sep 17 00:00:00 2001 From: imagoiq <12294151+imagoiq@users.noreply.github.com> Date: Wed, 13 Dec 2023 15:46:39 +0100 Subject: [PATCH] Lint --- packages/styles/src/components/form-select.scss | 16 +++++++++------- .../variables/components/_form-validation.scss | 3 ++- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/packages/styles/src/components/form-select.scss b/packages/styles/src/components/form-select.scss index 095c5fab28..b100489650 100644 --- a/packages/styles/src/components/form-select.scss +++ b/packages/styles/src/components/form-select.scss @@ -32,28 +32,30 @@ &.success, &.is-invalid { - background-position: right b.$form-select-padding-x * 2.5 center, - b.$form-select-bg-position; + background-position: + right b.$form-select-padding-x * 2.5 center, + b.$form-select-bg-position; &.form-select-lg { - background-position: right b.$form-select-padding-x * 3 center, - b.$form-select-bg-position; + background-position: + right b.$form-select-padding-x * 3 center, + b.$form-select-bg-position; } } &:disabled { background-image: b.escape-svg(form-select.$form-select-indicator-disabled), - var(--bs-form-select-bg-img), var(--bs-form-select-bg-icon, none); + var(--bs-form-select-bg-img), var(--bs-form-select-bg-icon, none); } &.success { background-image: b.escape-svg(form-select.$form-select-indicator-success), - var(--bs-form-select-bg-img), var(--bs-form-select-bg-icon, none); + var(--bs-form-select-bg-img), var(--bs-form-select-bg-icon, none); } &.is-invalid { background-image: b.escape-svg(form-select.$form-select-indicator-error), - var(--bs-form-select-bg-img), var(--bs-form-select-bg-icon, none); + var(--bs-form-select-bg-img), var(--bs-form-select-bg-icon, none); } @include utilities.high-contrast-mode() { diff --git a/packages/styles/src/variables/components/_form-validation.scss b/packages/styles/src/variables/components/_form-validation.scss index dd5b80534e..33084fb24a 100644 --- a/packages/styles/src/variables/components/_form-validation.scss +++ b/packages/styles/src/variables/components/_form-validation.scss @@ -23,6 +23,7 @@ $form-feedback-invalid-bg: color.$error !default; $form-feedback-invalid-text: color.$white !default; $form-feedback-custom-color: color.$success !default; $form-feedback-custom-bg: color.$success !default; -$form-feedback-invalid-box-shadow: 0 0 0 forms.$input-focus-width rgba($form-feedback-invalid-color, 0.25) !default; +$form-feedback-invalid-box-shadow: 0 0 0 forms.$input-focus-width + rgba($form-feedback-invalid-color, 0.25) !default; $form-feedback-custom-text: color.$white !default; $form-feedback-custom-box-shadow: 0 0 0 0.2rem rgba($form-feedback-custom-color, 0.25) !default;