Skip to content

Commit

Permalink
feat(colorwheel): address undefined tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
cdransf committed Nov 14, 2024
1 parent 0899f96 commit 3a12421
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/colorwheel/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ governing permissions and limitations under the License.
--spectrum-colorwheel-width: var(--spectrum-color-wheel-width);
--spectrum-colorwheel-min-width: var(--spectrum-color-wheel-minimum-width);
--spectrum-colorwheel-height: var(--spectrum-color-wheel-width);

/* @TODO: leveraging the rgb token in this case to achieve the desired border color implementation as rgb + opacity are required by the `rgba` function. */
--spectrum-colorwheel-border-color-rgb: var(--spectrum-gray-1000-rgb);

/* @TODO: using explicit value as `color-wheel-border-opacity` is undefined. */
--spectrum-colorwheel-border-opacity: 0.1;
--spectrum-colorwheel-border-color: rgba(var(--spectrum-colorwheel-border-color-rgb), var(--spectrum-colorwheel-border-opacity));
--spectrum-colorwheel-border-width: var(--spectrum-border-width-100);
Expand Down

0 comments on commit 3a12421

Please sign in to comment.