File tree Expand file tree Collapse file tree 5 files changed +9
-2
lines changed
Expand file tree Collapse file tree 5 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @spectrum-css/swatch " : patch
3+ ---
4+
5+ Adjust S2 corner rounding to match S2 spec.
Original file line number Diff line number Diff line change 103103 " --spectrum-animation-duration-100" ,
104104 " --spectrum-border-width-100" ,
105105 " --spectrum-border-width-200" ,
106- " --spectrum-corner-radius-100 " ,
106+ " --spectrum-corner-radius-75 " ,
107107 " --spectrum-focus-indicator-color" ,
108108 " --spectrum-focus-indicator-gap" ,
109109 " --spectrum-focus-indicator-thickness" ,
120120 ],
121121 "system-theme" : [
122122 " --system-swatch-border-color" ,
123+ " --system-swatch-border-radius" ,
123124 " --system-swatch-disabled-icon-color" ,
124125 " --system-swatch-inner-border-color-selected"
125126 ],
Original file line number Diff line number Diff line change 6262.spectrum-Swatch {
6363 --spectrum-swatch-focus-indicator-border-radius : 8px ;
6464 --spectrum-swatch-icon-border-color : rgb (0 0 0 / 51% );
65- --spectrum-swatch-border-radius : var (--spectrum-corner-radius-100 );
6665 --spectrum-swatch-border-thickness : var (--spectrum-border-width-100 );
6766 --spectrum-swatch-border-thickness-selected : var (--spectrum-border-width-200 );
6867 --spectrum-swatch-focus-indicator-thickness : var (--spectrum-focus-indicator-thickness );
Original file line number Diff line number Diff line change 1717 --spectrum-swatch-border-color : rgba (var (--spectrum-gray-1000-rgb ), var (--spectrum-swatch-border-color-opacity ));
1818 --spectrum-swatch-inner-border-color-selected : var (--spectrum-gray-25 );
1919 --spectrum-swatch-disabled-icon-color : var (--spectrum-gray-25 );
20+ --spectrum-swatch-border-radius : var (--spectrum-corner-radius-75 );
2021 }
2122}
Original file line number Diff line number Diff line change 2020 --spectrum-swatch-border-color : rgba (var (--spectrum-gray-900-rgb ), var (--spectrum-swatch-border-color-opacity ));
2121 --spectrum-swatch-inner-border-color-selected : var (--spectrum-gray-50 );
2222 --spectrum-swatch-disabled-icon-color : var (--spectrum-gray-50 );
23+ --spectrum-swatch-border-radius : var (--spectrum-corner-radius-100 );
2324 }
2425}
You can’t perform that action at this time.
0 commit comments