From 378549ebbb82d27cb222fa08e1ed662f2c1065ff Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Wed, 29 Jan 2025 18:51:00 -0800 Subject: [PATCH] fix(colorwheel): remove global token reference --- components/colorwheel/index.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/colorwheel/index.css b/components/colorwheel/index.css index 5ca403a0fc..809477cfc3 100644 --- a/components/colorwheel/index.css +++ b/components/colorwheel/index.css @@ -26,6 +26,8 @@ --spectrum-colorwheel-colorarea-margin: var(--spectrum-color-wheel-color-area-margin); + --spectrum-colorwheel-fill-color-disabled: var(--spectrum-disabled-background-color); + /* stylelint-disable-next-line spectrum-tools/no-unused-custom-properties -- used with JS in calculating the clip-path paths and colorarea-container-size */ --_track-width: var(--mod-colorwheel-track-width, var(--spectrum-colorwheel-track-width)); /* stylelint-disable-next-line spectrum-tools/no-unused-custom-properties -- used with JS in calculating the clip-path paths and colorarea-container-size */ @@ -145,7 +147,7 @@ &.is-disabled { pointer-events: none; - background: var(--highcontrast-colorwheel-fill-color-disabled, var(--mod-colorwheel-fill-color-disabled, var(--spectrum-disabled-background-color))); + background: var(--highcontrast-colorwheel-fill-color-disabled, var(--mod-colorwheel-fill-color-disabled, var(--spectrum-colorwheel-fill-color-disabled))); } }