@skeletonlabs/skeleton 5.0.0-next.4 → 5.0.0-next.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/package.json +1 -1
  2. package/src/base/globals.css +19 -34
  3. package/src/base/theme.css +122 -52
  4. package/src/index.css +4 -0
  5. package/src/themes/catppuccin.css +6 -6
  6. package/src/themes/cerberus.css +12 -12
  7. package/src/themes/concord.css +6 -6
  8. package/src/themes/crimson.css +6 -6
  9. package/src/themes/fennec.css +6 -6
  10. package/src/themes/hamlindigo.css +6 -6
  11. package/src/themes/legacy.css +6 -6
  12. package/src/themes/mint.css +6 -6
  13. package/src/themes/modern.css +6 -6
  14. package/src/themes/mona.css +6 -6
  15. package/src/themes/nosh.css +6 -6
  16. package/src/themes/nouveau.css +6 -6
  17. package/src/themes/pine.css +6 -6
  18. package/src/themes/reign.css +6 -6
  19. package/src/themes/rocket.css +6 -6
  20. package/src/themes/rose.css +6 -6
  21. package/src/themes/sahara.css +6 -6
  22. package/src/themes/seafoam.css +6 -6
  23. package/src/themes/terminus.css +6 -6
  24. package/src/themes/vintage.css +6 -6
  25. package/src/themes/vox.css +6 -6
  26. package/src/themes/wintry.css +6 -6
  27. package/src/utilities/badges.css +47 -12
  28. package/src/utilities/buttons.css +99 -57
  29. package/src/utilities/cards.css +4 -3
  30. package/src/utilities/chips.css +46 -19
  31. package/src/utilities/dialogs.css +88 -0
  32. package/src/utilities/disclosures.css +62 -0
  33. package/src/utilities/dividers.css +3 -2
  34. package/src/utilities/form-core.css +49 -2
  35. package/src/utilities/form-groups.css +18 -126
  36. package/src/utilities/form-inputs.css +18 -9
  37. package/src/utilities/form-meter.css +58 -0
  38. package/src/utilities/form-progress.css +1 -1
  39. package/src/utilities/form-selects.css +8 -38
  40. package/src/utilities/form-textareas.css +15 -7
  41. package/src/utilities/masks.css +69 -0
  42. package/src/utilities/presets.css +1 -1
  43. package/src/utilities/tables.css +20 -12
  44. package/src/utilities/typography.css +101 -9
@@ -1,7 +1,10 @@
1
1
  /* Components: Chips */
2
2
 
3
3
  @utility chip {
4
+ --chip-size: var(--text-sm);
5
+
4
6
  border-radius: var(--radius-base);
7
+ corner-shape: var(--corner-shape);
5
8
 
6
9
  /* Icon Spacing */
7
10
  display: inline-flex;
@@ -15,27 +18,37 @@
15
18
  white-space: nowrap;
16
19
 
17
20
  /* Size */
18
- font-size: var(--text-xs);
19
- line-height: var(--text-xs--line-height);
20
- padding-block: --spacing(1);
21
- padding-inline: --spacing(3);
21
+ font-size: var(--chip-size);
22
+ line-height: var(--chip-size);
23
+ padding-block: calc((var(--chip-size) - --spacing(0.5)) / 2);
24
+ padding-inline: calc((var(--chip-size) - --spacing(0.5)) / 2 + var(--spacing));
25
+
26
+ /* Inner Icon Sizing */
27
+ & > :where(svg) {
28
+ width: var(--chip-size);
29
+ height: var(--chip-size);
30
+ }
22
31
 
23
32
  /* Transitions */
24
- transition-property: all;
33
+ transition-property: var(--default-transition-property);
25
34
  transition-timing-function: var(--default-transition-timing-function);
26
35
  transition-duration: var(--default-transition-duration);
27
36
 
28
- @variant hover {
29
- filter: brightness(125%);
30
- @variant dark {
31
- filter: brightness(75%);
37
+ @variant not-disabled {
38
+ @variant hover {
39
+ filter: brightness(125%);
40
+ @variant dark {
41
+ filter: brightness(75%);
42
+ }
32
43
  }
33
44
  }
34
45
  }
35
46
 
36
47
  @utility chip-icon {
37
- box-sizing: content-box;
48
+ --chip-size: var(--text-sm);
49
+
38
50
  border-radius: var(--radius-base);
51
+ corner-shape: var(--corner-shape);
39
52
 
40
53
  /* Center Icons */
41
54
  display: inline-flex;
@@ -47,15 +60,29 @@
47
60
  white-space: nowrap;
48
61
 
49
62
  /* Size */
50
- font-size: var(--text-xs);
51
- width: var(--text-xs);
52
- height: var(--text-xs);
53
- padding: --spacing(1.5);
54
-
55
- @variant hover {
56
- filter: brightness(125%);
57
- @variant dark {
58
- filter: brightness(75%);
63
+ font-size: var(--chip-size);
64
+ line-height: var(--chip-size);
65
+ width: calc(var(--chip-size) * 2 - --spacing(0.5));
66
+ height: calc(var(--chip-size) * 2 - --spacing(0.5));
67
+ padding: calc((var(--chip-size) - --spacing(0.5)) / 2);
68
+
69
+ /* Inner Icon Sizing */
70
+ & > :where(svg) {
71
+ width: var(--chip-size);
72
+ height: var(--chip-size);
73
+ }
74
+
75
+ /* Transitions */
76
+ transition-property: var(--default-transition-property);
77
+ transition-timing-function: var(--default-transition-timing-function);
78
+ transition-duration: var(--default-transition-duration);
79
+
80
+ @variant not-disabled {
81
+ @variant hover {
82
+ filter: brightness(125%);
83
+ @variant dark {
84
+ filter: brightness(75%);
85
+ }
59
86
  }
60
87
  }
61
88
  }
@@ -0,0 +1,88 @@
1
+ /* Components: Dialogs */
2
+
3
+ @utility dialog {
4
+ --dialog-top: 50%;
5
+ --dialog-left: 50%;
6
+ --dialog-translate: -50% -50%;
7
+ --dialog-width: fit-content;
8
+ --dialog-height: fit-content;
9
+ --dialog-max-width: 640px;
10
+ --dialog-radius: var(--radius-container);
11
+ --dialog-backdrop: color-mix(in oklab, var(--color-surface-50-950) 75%, transparent);
12
+
13
+ border-radius: var(--dialog-radius);
14
+ width: var(--dialog-width);
15
+ height: var(--dialog-height);
16
+ max-width: var(--dialog-max-width);
17
+ padding: --spacing(4);
18
+
19
+ /* Position */
20
+ top: var(--dialog-top);
21
+ left: var(--dialog-left);
22
+ translate: var(--dialog-translate);
23
+
24
+ /* Flex Layout */
25
+ flex-direction: column;
26
+ gap: --spacing(4);
27
+
28
+ /* Handle semantic element flex sizing. */
29
+ & > header,
30
+ & > footer {
31
+ flex-shrink: 0;
32
+ }
33
+ & > article {
34
+ flex-grow: 1;
35
+ }
36
+
37
+ &[open] {
38
+ display: flex;
39
+ }
40
+
41
+ /* Backdrop */
42
+ &::backdrop {
43
+ background-color: var(--dialog-backdrop);
44
+ }
45
+ }
46
+
47
+ /* Variants --- */
48
+
49
+ @utility dialog-fullscreen {
50
+ --dialog-top: 0;
51
+ --dialog-left: 0;
52
+ --dialog-translate: none;
53
+ --dialog-width: 100%;
54
+ --dialog-height: 100%;
55
+ --dialog-max-width: none;
56
+ --dialog-radius: 0;
57
+ --dialog-backdrop: transparent;
58
+
59
+ max-height: none;
60
+ margin: 0;
61
+ }
62
+
63
+ /* Animations --- */
64
+
65
+ @utility animate-dialog {
66
+ --anim-duration: 250ms;
67
+
68
+ &,
69
+ &::backdrop {
70
+ transition:
71
+ display var(--anim-duration) allow-discrete,
72
+ overlay var(--anim-duration) allow-discrete,
73
+ opacity var(--anim-duration);
74
+ opacity: 0;
75
+ }
76
+
77
+ &[open],
78
+ &[open]::backdrop {
79
+ opacity: 1;
80
+ }
81
+
82
+ @starting-style {
83
+ &[open],
84
+ &[open]::backdrop {
85
+ opacity: 0;
86
+ }
87
+ }
88
+ }
@@ -0,0 +1,62 @@
1
+ /* Components: Disclosures */
2
+
3
+ @utility disclosure-group {
4
+ width: 100%;
5
+ display: flex;
6
+ flex-direction: column;
7
+ gap: --spacing(4);
8
+ }
9
+
10
+ @utility disclosure {
11
+ --disclosure-size: var(--text-base);
12
+
13
+ interpolate-size: allow-keywords;
14
+
15
+ width: 100%;
16
+
17
+ & summary {
18
+ border-radius: var(--radius-base);
19
+ width: 100%;
20
+ text-align: start;
21
+
22
+ /* Size */
23
+ font-size: var(--disclosure-size);
24
+ line-height: var(--disclosure-size);
25
+ padding-block: calc((var(--disclosure-size) - --spacing(0.5)) / 2);
26
+ padding-inline: calc((var(--disclosure-size) - --spacing(0.5)) / 2 + var(--spacing));
27
+
28
+ /* Inner Icon Sizing */
29
+ & > :where(svg) {
30
+ width: var(--disclosure-size);
31
+ height: var(--disclosure-size);
32
+ }
33
+
34
+ /* Transitions */
35
+ transition-property: var(--default-transition-property);
36
+ transition-timing-function: var(--default-transition-timing-function);
37
+ transition-duration: var(--default-transition-duration);
38
+
39
+ @variant not-disabled {
40
+ @variant hover {
41
+ @apply preset-tonal-primary;
42
+ }
43
+ }
44
+ }
45
+
46
+ &::details-content {
47
+ block-size: 0;
48
+ overflow-y: clip;
49
+ transition:
50
+ content-visibility var(--default-transition-duration) allow-discrete,
51
+ block-size var(--default-transition-duration) var(--default-transition-timing-function);
52
+ }
53
+
54
+ &[open]::details-content {
55
+ block-size: auto;
56
+ }
57
+ }
58
+
59
+ @utility disclosure-content {
60
+ padding-block: calc((var(--disclosure-size, var(--text-base)) - --spacing(0.5)) / 2);
61
+ padding-inline: calc((var(--disclosure-size, var(--text-base)) - --spacing(0.5)) / 2 + var(--spacing));
62
+ }
@@ -2,7 +2,7 @@
2
2
 
3
3
  /* Horizontal Rule */
4
4
  @utility hr {
5
- border-color: var(--color-surface-200-800);
5
+ border-color: var(--color-surface-300-700);
6
6
  border-top-width: 1px;
7
7
  display: block;
8
8
  width: 100%;
@@ -10,8 +10,9 @@
10
10
 
11
11
  /* Vertical Rule */
12
12
  @utility vr {
13
- border-color: var(--color-surface-200-800);
13
+ border-color: var(--color-surface-300-700);
14
14
  border-left-width: 1px;
15
15
  display: inline-block;
16
16
  height: 100%;
17
+ min-height: 16px;
17
18
  }
@@ -1,13 +1,18 @@
1
1
  /* Components: Forms (Core) */
2
2
 
3
3
  @utility fieldset {
4
+ border: 1px solid var(--color-surface-200-800);
5
+ border-radius: var(--radius-container);
4
6
  display: block;
7
+ padding: --spacing(4);
5
8
  width: 100%;
6
9
  }
7
10
 
8
11
  @utility legend {
9
- display: block;
10
- width: 100%;
12
+ font-size: var(--text-xs);
13
+ line-height: var(--text-xs--line-height);
14
+ font-weight: var(--font-weight-medium);
15
+ padding-inline: --spacing(2);
11
16
  }
12
17
 
13
18
  @utility label {
@@ -25,3 +30,45 @@
25
30
  font-weight: var(--font-weight-medium);
26
31
  text-decoration-line: none;
27
32
  }
33
+
34
+ /* Field Sizes --- */
35
+
36
+ @utility field-xs {
37
+ --field-size: var(--text-xs);
38
+ }
39
+ @utility field-sm {
40
+ --field-size: var(--text-sm);
41
+ }
42
+ @utility field-base {
43
+ --field-size: var(--text-base);
44
+ }
45
+ @utility field-lg {
46
+ --field-size: var(--text-lg);
47
+ }
48
+ @utility field-xl {
49
+ --field-size: var(--text-xl);
50
+ }
51
+ @utility field-2xl {
52
+ --field-size: var(--text-2xl);
53
+ }
54
+ @utility field-3xl {
55
+ --field-size: var(--text-3xl);
56
+ }
57
+ @utility field-4xl {
58
+ --field-size: var(--text-4xl);
59
+ }
60
+ @utility field-5xl {
61
+ --field-size: var(--text-5xl);
62
+ }
63
+ @utility field-6xl {
64
+ --field-size: var(--text-6xl);
65
+ }
66
+ @utility field-7xl {
67
+ --field-size: var(--text-7xl);
68
+ }
69
+ @utility field-8xl {
70
+ --field-size: var(--text-8xl);
71
+ }
72
+ @utility field-9xl {
73
+ --field-size: var(--text-9xl);
74
+ }
@@ -1,137 +1,29 @@
1
1
  /* Components: Forms > Input Group */
2
2
 
3
- @utility input-group {
4
- border-radius: var(--radius-base);
3
+ @utility field-group {
5
4
  display: grid;
6
- align-items: stretch;
7
- overflow: hidden;
5
+ gap: --spacing(1);
8
6
 
9
- /* Edges */
10
- outline-color: transparent;
11
- border-width: 0;
12
- --tw-ring-inset: inset;
13
- --tw-ring-color: var(--color-surface-200-800);
14
- --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 var(--default-ring-width) var(--tw-ring-color, currentColor);
15
- box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
7
+ & .label {
8
+ border-radius: var(--radius-base);
9
+ corner-shape: var(--corner-shape);
16
10
 
17
- /* Child Edges */
18
- & > :first-child {
19
- border-top-left-radius: var(--radius-base);
20
- border-bottom-left-radius: var(--radius-base);
21
- }
22
- & > :last-child {
23
- border-top-right-radius: var(--radius-base);
24
- border-bottom-right-radius: var(--radius-base);
11
+ display: flex;
12
+ justify-content: center;
13
+ align-items: center;
14
+ height: 100%;
15
+ padding-inline: --spacing(3);
25
16
  }
26
17
 
27
- /* Dividers */
28
- & > * + * {
29
- border-left-width: 1px !important;
30
- border-color: var(--color-surface-200-800);
18
+ & > *:not(:last-child) {
19
+ border-start-end-radius: 0;
20
+ border-end-end-radius: 0;
21
+ corner-shape: initial;
31
22
  }
32
- }
33
-
34
- /* Children: Cell --- */
35
-
36
- @utility ig-cell {
37
- font-size: var(--text-sm);
38
- display: flex;
39
- justify-content: center;
40
- align-items: center;
41
- padding-inline: --spacing(4);
42
- }
43
-
44
- /* Children: Form Elements --- */
45
- /* We recreate a subset of form element styles here */
46
- /* These are purpose-built to work in the group */
47
-
48
- @utility ig-input {
49
- background-color: transparent;
50
- display: block;
51
- width: 100%;
52
-
53
- /* Size */
54
- font-size: var(--text-base);
55
- line-height: var(--text-base--line-height);
56
- padding-block: --spacing(1);
57
- padding-inline: --spacing(3);
58
-
59
- /* Edges */
60
- outline-color: transparent;
61
- border-width: 0;
62
- --tw-ring-inset: inset;
63
-
64
- @variant active {
65
- --tw-ring-color: var(--color-primary-500);
66
- }
67
- @variant focus {
68
- --tw-ring-color: var(--color-primary-500);
69
- }
70
- @variant focus-within {
71
- --tw-ring-color: var(--color-primary-500);
72
- }
73
- }
74
-
75
- @utility ig-select {
76
- background-color: transparent;
77
- display: block;
78
- width: 100%;
79
-
80
- /* Size */
81
- font-size: var(--text-base);
82
- line-height: var(--text-base--line-height);
83
- padding-block: --spacing(1);
84
-
85
- /* Edges */
86
- outline-color: transparent;
87
- border-width: 0;
88
- --tw-ring-inset: inset;
89
-
90
- @variant active {
91
- --tw-ring-color: var(--color-primary-500);
92
- }
93
- @variant focus {
94
- --tw-ring-color: var(--color-primary-500);
95
- }
96
- @variant focus-within {
97
- --tw-ring-color: var(--color-primary-500);
98
- }
99
-
100
- /* Option --- */
101
-
102
- & option {
103
- background-color: var(--color-surface-50-950);
104
- color: var(--color-surface-950-50);
105
- }
106
- }
107
-
108
- @utility ig-btn {
109
- /* Icon Spacing */
110
- display: inline-flex;
111
- flex-direction: row;
112
- align-items: center;
113
- justify-content: center;
114
- gap: --spacing(2);
115
-
116
- /* Typography */
117
- text-decoration-line: none;
118
- white-space: nowrap;
119
-
120
- /* Size */
121
- font-size: var(--text-base);
122
- line-height: var(--text-base--line-height);
123
- padding-block: --spacing(1);
124
- padding-inline: --spacing(4);
125
-
126
- /* Transitions */
127
- transition-property: all;
128
- transition-timing-function: var(--default-transition-timing-function);
129
- transition-duration: var(--default-transition-duration);
130
23
 
131
- @variant hover {
132
- filter: brightness(125%);
133
- @variant dark {
134
- filter: brightness(75%);
135
- }
24
+ & > *:not(:first-child) {
25
+ border-start-start-radius: 0;
26
+ border-end-start-radius: 0;
27
+ corner-shape: initial;
136
28
  }
137
29
  }
@@ -1,25 +1,33 @@
1
1
  /* Components: Forms > Input */
2
2
 
3
3
  @utility input {
4
- background-color: transparent;
4
+ --field-size: var(--text-base);
5
+
6
+ background-color: var(--color-surface-50-950);
7
+ color: var(--color-surface-950-50);
5
8
  border-radius: var(--radius-base);
6
9
  display: block;
7
10
  width: 100%;
8
11
 
9
12
  /* Size */
10
- font-size: var(--text-base);
11
- line-height: var(--text-base--line-height);
12
- padding-block: --spacing(1);
13
- padding-inline: --spacing(3);
13
+ font-size: var(--field-size);
14
+ line-height: var(--field-size);
15
+ padding-block: calc((var(--field-size) - --spacing(0.5)) / 2);
16
+ padding-inline: calc((var(--field-size) - --spacing(0.5)) / 2 + var(--spacing));
14
17
 
15
18
  /* Edges */
16
19
  outline-color: transparent;
17
20
  border-width: 0;
18
21
  --tw-ring-inset: inset;
19
- --tw-ring-color: var(--color-surface-200-800);
22
+ --tw-ring-color: var(--color-surface-300-700);
20
23
  --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 var(--default-ring-width) var(--tw-ring-color, currentColor);
21
24
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
22
25
 
26
+ /* Placeholder */
27
+ &::placeholder {
28
+ color: var(--field-placeholder);
29
+ }
30
+
23
31
  @variant active {
24
32
  --tw-ring-color: var(--color-primary-500);
25
33
  }
@@ -44,7 +52,7 @@
44
52
  font-size: var(--text-xs);
45
53
  height: var(--text-xs--line-height);
46
54
  padding-block: --spacing(0);
47
- padding-inline: --spacing(3);
55
+ padding-inline: --spacing(2);
48
56
  }
49
57
 
50
58
  /* Range Input --- */
@@ -61,12 +69,13 @@
61
69
 
62
70
  &[type='color'] {
63
71
  border-radius: var(--radius-base);
64
- width: --spacing(8.5);
65
- height: --spacing(8.5);
72
+ width: --spacing(10);
73
+ height: --spacing(10);
66
74
  padding: 0;
67
75
  border: none;
68
76
  outline: none;
69
77
  -webkit-appearance: none;
78
+ appearance: none;
70
79
  }
71
80
  &[type='color']::-webkit-color-swatch-wrapper {
72
81
  padding: 0;
@@ -0,0 +1,58 @@
1
+ /* Components: Forms > Meter */
2
+
3
+ /*
4
+ BROWSER CONSISTENCY WARNING:
5
+ Safari ignores most of the styles provided here.
6
+ Meter exposes three value states (optimum, suboptimum, even-less-good)
7
+ that map to success, warning, and error colors respectively.
8
+ */
9
+
10
+ @utility meter {
11
+ -webkit-appearance: none;
12
+ -moz-appearance: none;
13
+ appearance: none;
14
+
15
+ border-radius: var(--radius-base);
16
+ background: var(--color-surface-200-800);
17
+ width: 100%;
18
+ height: --spacing(2);
19
+ padding: 0;
20
+ overflow: hidden;
21
+
22
+ /* Inner wrapper (WebKit) */
23
+ &::-webkit-meter-inner-element {
24
+ padding: 0;
25
+ margin: 0;
26
+ height: 100%;
27
+ }
28
+
29
+ /* Track (WebKit) */
30
+ &::-webkit-meter-bar {
31
+ border: none;
32
+ border-radius: var(--radius-base);
33
+ background: var(--color-surface-200-800);
34
+ height: 100%;
35
+ }
36
+
37
+ /* Value states (WebKit) */
38
+ &::-webkit-meter-optimum-value {
39
+ background: var(--color-success-500);
40
+ }
41
+ &::-webkit-meter-suboptimum-value {
42
+ background: var(--color-warning-500);
43
+ }
44
+ &::-webkit-meter-even-less-good-value {
45
+ background: var(--color-error-500);
46
+ }
47
+
48
+ /* Value states (Firefox) */
49
+ &::-moz-meter-bar {
50
+ background: var(--color-success-500);
51
+ }
52
+ &:-moz-meter-sub-optimum::-moz-meter-bar {
53
+ background: var(--color-warning-500);
54
+ }
55
+ &:-moz-meter-sub-sub-optimum::-moz-meter-bar {
56
+ background: var(--color-error-500);
57
+ }
58
+ }
@@ -6,7 +6,7 @@
6
6
  */
7
7
 
8
8
  @utility progress {
9
- webkit-appearance: none;
9
+ -webkit-appearance: none;
10
10
  -moz-appearance: none;
11
11
  appearance: none;
12
12
 
@@ -1,22 +1,18 @@
1
1
  /* Components: Forms > Select */
2
2
 
3
- /*
4
- BROWSER CONSISTENCY WARNING:
5
- Select (especially Size and Multiple) are notoriously difficult to style
6
- consistently cross-browser, so all styles adhere to progress enhancement.
7
- We've styled this element within the confines of that browser's capabilities.
8
- */
9
-
10
3
  @utility select {
11
- background-color: transparent;
4
+ --field-size: var(--text-base);
5
+
6
+ background-color: var(--color-surface-50-950);
7
+ color: var(--color-surface-950-50);
12
8
  border-radius: var(--radius-base);
13
9
  display: block;
14
10
  width: 100%;
15
11
 
16
12
  /* Size */
17
- font-size: var(--text-base);
18
- line-height: var(--text-base--line-height);
19
- padding-block: --spacing(1);
13
+ font-size: var(--field-size);
14
+ line-height: var(--field-size);
15
+ padding-block: calc((var(--field-size) - --spacing(0.5)) / 2);
20
16
 
21
17
  /*
22
18
  WARNING
@@ -28,7 +24,7 @@
28
24
  outline-color: transparent;
29
25
  border-width: 0;
30
26
  --tw-ring-inset: inset;
31
- --tw-ring-color: var(--color-surface-200-800);
27
+ --tw-ring-color: var(--color-surface-300-700);
32
28
  --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 var(--default-ring-width) var(--tw-ring-color, currentColor);
33
29
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
34
30
 
@@ -42,32 +38,6 @@
42
38
  --tw-ring-color: var(--color-primary-500);
43
39
  }
44
40
 
45
- /* Multiple & Size --- */
46
-
47
- & > * + * {
48
- margin-top: --spacing(2);
49
- }
50
-
51
- &[multiple] {
52
- border-radius: var(--radius-container);
53
- padding: --spacing(1);
54
-
55
- & optgroup,
56
- & option {
57
- background-color: transparent;
58
- }
59
- }
60
-
61
- &[size] {
62
- border-radius: var(--radius-container);
63
- padding: --spacing(1);
64
-
65
- & optgroup,
66
- & option {
67
- background-color: transparent;
68
- }
69
- }
70
-
71
41
  /* Optgroup --- */
72
42
 
73
43
  & optgroup {