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 103
103
" --spectrum-animation-duration-100" ,
104
104
" --spectrum-border-width-100" ,
105
105
" --spectrum-border-width-200" ,
106
- " --spectrum-corner-radius-100 " ,
106
+ " --spectrum-corner-radius-75 " ,
107
107
" --spectrum-focus-indicator-color" ,
108
108
" --spectrum-focus-indicator-gap" ,
109
109
" --spectrum-focus-indicator-thickness" ,
120
120
],
121
121
"system-theme" : [
122
122
" --system-swatch-border-color" ,
123
+ " --system-swatch-border-radius" ,
123
124
" --system-swatch-disabled-icon-color" ,
124
125
" --system-swatch-inner-border-color-selected"
125
126
],
Original file line number Diff line number Diff line change 62
62
.spectrum-Swatch {
63
63
--spectrum-swatch-focus-indicator-border-radius : 8px ;
64
64
--spectrum-swatch-icon-border-color : rgb (0 0 0 / 51% );
65
- --spectrum-swatch-border-radius : var (--spectrum-corner-radius-100 );
66
65
--spectrum-swatch-border-thickness : var (--spectrum-border-width-100 );
67
66
--spectrum-swatch-border-thickness-selected : var (--spectrum-border-width-200 );
68
67
--spectrum-swatch-focus-indicator-thickness : var (--spectrum-focus-indicator-thickness );
Original file line number Diff line number Diff line change 17
17
--spectrum-swatch-border-color : rgba (var (--spectrum-gray-1000-rgb ), var (--spectrum-swatch-border-color-opacity ));
18
18
--spectrum-swatch-inner-border-color-selected : var (--spectrum-gray-25 );
19
19
--spectrum-swatch-disabled-icon-color : var (--spectrum-gray-25 );
20
+ --spectrum-swatch-border-radius : var (--spectrum-corner-radius-75 );
20
21
}
21
22
}
Original file line number Diff line number Diff line change 20
20
--spectrum-swatch-border-color : rgba (var (--spectrum-gray-900-rgb ), var (--spectrum-swatch-border-color-opacity ));
21
21
--spectrum-swatch-inner-border-color-selected : var (--spectrum-gray-50 );
22
22
--spectrum-swatch-disabled-icon-color : var (--spectrum-gray-50 );
23
+ --spectrum-swatch-border-radius : var (--spectrum-corner-radius-100 );
23
24
}
24
25
}
You can’t perform that action at this time.
0 commit comments