@marianmeres/stuic 3.81.0 → 3.82.0
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.
|
@@ -104,6 +104,8 @@ Only one item can be open at a time:
|
|
|
104
104
|
| `--stuic-accordion-trigger-font-weight` | `--font-weight-medium` | Trigger text weight |
|
|
105
105
|
| `--stuic-accordion-trigger-bg` | `transparent` | Trigger background |
|
|
106
106
|
| `--stuic-accordion-trigger-bg-hover` | muted mix | Trigger hover background |
|
|
107
|
+
| `--stuic-accordion-chevron-size` | `16px` | Chevron icon size |
|
|
108
|
+
| `--stuic-accordion-chevron-color` | `currentColor` | Chevron icon color |
|
|
107
109
|
| `--stuic-accordion-content-padding-x` | `1rem` | Content horizontal padding |
|
|
108
110
|
| `--stuic-accordion-content-padding-y` | `0.75rem` | Content vertical padding |
|
|
109
111
|
| `--stuic-accordion-ring-width` | `2px` | Focus ring width |
|
|
@@ -21,6 +21,10 @@
|
|
|
21
21
|
transparent
|
|
22
22
|
);
|
|
23
23
|
|
|
24
|
+
/* Chevron */
|
|
25
|
+
--stuic-accordion-chevron-size: 16px;
|
|
26
|
+
--stuic-accordion-chevron-color: currentColor;
|
|
27
|
+
|
|
24
28
|
/* Content */
|
|
25
29
|
--stuic-accordion-content-padding-x: 1rem;
|
|
26
30
|
--stuic-accordion-content-padding-y: 0.75rem;
|
|
@@ -89,6 +93,9 @@
|
|
|
89
93
|
|
|
90
94
|
.stuic-accordion-chevron {
|
|
91
95
|
flex-shrink: 0;
|
|
96
|
+
width: var(--stuic-accordion-chevron-size);
|
|
97
|
+
height: var(--stuic-accordion-chevron-size);
|
|
98
|
+
color: var(--stuic-accordion-chevron-color);
|
|
92
99
|
transition: transform var(--stuic-accordion-transition, var(--stuic-transition));
|
|
93
100
|
}
|
|
94
101
|
|