From cb58f1a687e62ceb72f54858ae56a63ec4f05a26 Mon Sep 17 00:00:00 2001 From: Patrick Fulton <360251+pfulton@users.noreply.github.com> Date: Thu, 7 Mar 2024 09:24:08 -0500 Subject: [PATCH] chore: s2 grays component-level migration (#2583) * chore: migrate gray-50 to gray-25 Migrates any instance of `--spectrum-gray-50` to use `--spectrum-gray-25` as per the S2 migration guide * chore: migrate gray-75 to gray-50 Migrates usages of `--spectrum-gray-75` to use `--spectrum-gray-50` as per the s2 migration guide. * chore: migrate gray-100 to gray-75 Migrates usages of `--spectrum-gray-100` to use `--spectrum-gray-75` as per the s2 migration guide * chore: migrate gray-200 to gray-100 Migrates usages of `--spectrum-gray-200` to use `--spectrum-gray-100` as per the s2 migration guide * chore: migrate gray-300 to gray-200 Migrates usages of `--spectrum-gray-300` to use `spectrum-gray-200` as per the s2 migration guide * chore(infieldbutton): gray-300 to gray-200 --- components/card/index.css | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/components/card/index.css b/components/card/index.css index 883f1f5934b..be808adac48 100644 --- a/components/card/index.css +++ b/components/card/index.css @@ -119,14 +119,8 @@ governing permissions and limitations under the License. .spectrum-Card--quiet, .spectrum-Card--gallery, .spectrum-Card--horizontal { - --mod-card-preview-background-color: var( - --spectrum-card-preview-background-color-quiet, - var(--spectrum-background-base-color) - ); - --spectrum-card-preview-background-color-hover: var( - --spectrum-card-background-color-hover-quiet, - var(--spectrum-gray-200) - ); + --mod-card-preview-background-color: var(--spectrum-card-preview-background-color-quiet, var(--spectrum-background-base-color)); + --spectrum-card-preview-background-color-hover: var(--spectrum-card-background-color-hover-quiet, var(--spectrum-gray-200)); } .spectrum-Card {