From 182db6addb694240e6f6b118fd93eb1c2c2faede Mon Sep 17 00:00:00 2001 From: imagoiq <12294151+imagoiq@users.noreply.github.com> Date: Wed, 6 Mar 2024 16:49:06 +0100 Subject: [PATCH] Lint --- packages/styles/src/components/form-select.scss | 15 +++++++++++---- .../src/variables/components/_form-select.scss | 10 ++++++++-- .../variables/components/_form-validation.scss | 5 ++++- 3 files changed, 23 insertions(+), 7 deletions(-) diff --git a/packages/styles/src/components/form-select.scss b/packages/styles/src/components/form-select.scss index 23d1e702ee..acf709a07d 100644 --- a/packages/styles/src/components/form-select.scss +++ b/packages/styles/src/components/form-select.scss @@ -40,7 +40,8 @@ } &.is-valid { - background-image: var(--form-select-indicator-success), var(--form-select-indicator), var(--bs-form-select-bg-icon, none); + background-image: var(--form-select-indicator-success), var(--form-select-indicator), + var(--bs-form-select-bg-icon, none); } &.is-invalid { @@ -66,14 +67,20 @@ @include utilities.high-contrast-mode() { --form-select-indicator: #{b.escape-svg(form-select.$form-select-indicator-hcm-dark)}; - --form-select-indicator-success: #{b.escape-svg(form-select.$form-select-indicator-success-hcm-dark)}; + --form-select-indicator-success: #{b.escape-svg( + form-select.$form-select-indicator-success-hcm-dark + )}; --form-select-indicator-error: #{b.escape-svg(form-select.$form-select-indicator-error-hcm-dark)}; background-image: b.escape-svg(form-select.$form-select-indicator-hcm-dark); @media (prefers-color-scheme: light) { --form-select-indicator: #{b.escape-svg(form-select.$form-select-indicator-hcm-light)}; - --form-select-indicator-success: #{b.escape-svg(form-select.$form-select-indicator-success-hcm-light)}; - --form-select-indicator-error: #{b.escape-svg(form-select.$form-select-indicator-error-hcm-light)}; + --form-select-indicator-success: #{b.escape-svg( + form-select.$form-select-indicator-success-hcm-light + )}; + --form-select-indicator-error: #{b.escape-svg( + form-select.$form-select-indicator-error-hcm-light + )}; background-image: b.escape-svg(form-select.$form-select-indicator-hcm-light); } diff --git a/packages/styles/src/variables/components/_form-select.scss b/packages/styles/src/variables/components/_form-select.scss index 893eefed8e..06d106c3db 100644 --- a/packages/styles/src/variables/components/_form-select.scss +++ b/packages/styles/src/variables/components/_form-select.scss @@ -30,5 +30,11 @@ $form-select-indicator-success-hcm-light: url(icons.get-colored-svg-url( )) !default; $form-select-indicator-error: url(icons.get-colored-svg-url('2104', color.$error-red)) !default; -$form-select-indicator-error-hcm-dark: url(icons.get-colored-svg-url('2104', color.$white)) !default; -$form-select-indicator-error-hcm-light: url(icons.get-colored-svg-url('2104', color.$black)) !default; +$form-select-indicator-error-hcm-dark: url(icons.get-colored-svg-url( + '2104', + color.$white +)) !default; +$form-select-indicator-error-hcm-light: url(icons.get-colored-svg-url( + '2104', + color.$black +)) !default; diff --git a/packages/styles/src/variables/components/_form-validation.scss b/packages/styles/src/variables/components/_form-validation.scss index 1b4757c5bc..bf1280c968 100644 --- a/packages/styles/src/variables/components/_form-validation.scss +++ b/packages/styles/src/variables/components/_form-validation.scss @@ -15,7 +15,10 @@ $form-feedback-icon-valid-hcm-dark: url(icons.get-colored-svg-url('2105', color. $form-feedback-icon-valid-hcm-light: url(icons.get-colored-svg-url('2105', color.$black)) !default; $form-feedback-icon-invalid: url(icons.get-colored-svg-url('2104', color.$error-red)) !default; $form-feedback-icon-invalid-hcm-dark: url(icons.get-colored-svg-url('2104', color.$white)) !default; -$form-feedback-icon-invalid-hcm-light: url(icons.get-colored-svg-url('2104', color.$black)) !default; +$form-feedback-icon-invalid-hcm-light: url(icons.get-colored-svg-url( + '2104', + color.$black +)) !default; // Design System custom variables $form-feedback-padding-x: button.$input-btn-padding-x !default;