Skip to content

Commit

Permalink
fix(colorwheel): remove global token reference
Browse files Browse the repository at this point in the history
  • Loading branch information
cdransf committed Jan 30, 2025
1 parent 3a85569 commit 378549e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/colorwheel/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down Expand Up @@ -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)));
}
}

Expand Down

0 comments on commit 378549e

Please sign in to comment.