Skip to content

Commit 1dce4dd

Browse files
committed
chore(colorwheel): update changeset
1 parent 83fed16 commit 1dce4dd

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.changeset/giant-windows-smoke.md

+10-3
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,22 @@
66

77
This change migrates the colorwheel component to S2. It adds the `--spectrum-colorwheel-border-color-rgb` and `--spectrum-colorwheel-border-opacity` custom properties. It updates `--spectrum-colorwheel-border-color` to leverage these tokens in an `rgba(...)` function.
88

9-
This removes the `spectrum-ColorWheel-border` and associated template DOM node as the outside/underlying border are no longer present in the S2 designs.
9+
This removes the `spectrum-ColorWheel-border` and associated template DOM node as the outside/underlying border are no longer present in the S2 designs. `::before` and `::after` pseudo elements are now used to draw the exterior and interior borders that overlay the exterior and interior edges of the color wheel.
10+
11+
Support is provided for the `240px` and `192px` sizes outlined in the design requirements.
12+
13+
The `forced-colors` media query has been moved to the bottom of the file consistent with with our other component implementations.
14+
15+
Stories, tests and documentation have been updated to be consistent with these changes.
1016

1117
The following mods have been removed:
1218

1319
```css
1420
--mod-colorwheel-height
15-
--mod-colorwheel-path-borders
16-
--mod-colorwheel-track-width
1721
--mod-colorwheel-width
22+
--mod-colorwheel-min-width
23+
--mod-colorwheel-path-borders
24+
--mod-colorwheel-colorarea-margin
1825
```
1926

2027
The mod `--mod-colorwheel-track-width` has been added.

0 commit comments

Comments
 (0)