File tree Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -10,21 +10,32 @@ OF ANY KIND, either express or implied. See the License for the specific languag
10
10
governing permissions and limitations under the License.
11
11
*/
12
12
13
+ .spectrum-SwatchGroup {
14
+ --spectrum-swatchgroup-spacing-compact : var (--spectrum-spacing-50 );
15
+ --spectrum-swatchgroup-spacing-regular : var (--spectrum-spacing-75 );
16
+ --spectrum-swatchgroup-spacing-spacious : var (--spectrum-spacing-100 );
17
+ }
18
+
13
19
.spectrum-SwatchGroup {
14
20
display : inline-flex;
15
21
flex-direction : row;
16
22
flex-wrap : wrap;
17
23
align-items : flex-start;
18
24
justify-content : flex-start;
25
+ }
26
+
27
+ /* Regular (Default) */
28
+ .spectrum-SwatchGroup {
19
29
20
- /* regular density is default */
21
- gap : var (--spectrum-global-dimension-size-50 );
30
+ gap : var (--mod-swatchgroup-spacing-regular , var (--spectrum-swatchgroup-spacing-regular ));
22
31
}
23
32
33
+ /* Compact*/
24
34
.spectrum-SwatchGroup--compact {
25
- gap : var (--spectrum-global-dimension-size-25 );
35
+ gap : var (--mod-swatchgroup-spacing-regular , var ( --spectrum-swatchgroup-spacing-regular ) );
26
36
}
27
37
38
+ /* Spacious */
28
39
.spectrum-SwatchGroup--spacious {
29
- gap : var (--spectrum-global-dimension-size-100 );
40
+ gap : var (--mod-swatchgroup-spacing-spacious , var ( --spectrum-swatchgroup-spacing-spacious ) );
30
41
}
You can’t perform that action at this time.
0 commit comments