@eqtylab/equality 4.10.2 → 4.12.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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,76 @@
2
2
 
3
3
  Notable changes to Equality are recorded here, following [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
4
4
 
5
+ ## 4.12.0 - 2026-10-12
6
+
7
+ `Tabs` respond to hover, and filled `Tabs` match `SegmentedControls`. Two `SegmentedControls`
8
+ fixes come with it. No code needs to change.
9
+
10
+ ### Changed
11
+
12
+ - Hovering an inactive tab brightens its label. Filled tabs also show a faint fill inset inside
13
+ the track, and transparent tabs a faint underline where the active indicator sits. As on
14
+ `Button`, hover only applies on devices that can hover.
15
+ - Filled tabs share the `SegmentedControls` track and indicator: a translucent edge and sunken
16
+ inner shadow on the track, and an active fill inset 2px inside it with 3px corners and the
17
+ raised control shadow.
18
+ - The active indicator is a single element that slides beneath the labels instead of over them.
19
+ A one-tab move takes 250ms with the `SegmentedControls` easing, longer moves take a little
20
+ longer, up to 400ms, and reduced motion turns the slide off.
21
+ - Tab triggers have a pointer cursor and animate only colour, over 250ms. This includes
22
+ `TabsTrigger` used on its own, which no longer fades into its disabled opacity.
23
+
24
+ ### Fixed
25
+
26
+ - The keyboard focus ring on filled tabs is drawn inside the tab. Before, the track clipped it to
27
+ a sliver on one edge.
28
+ - The keyboard focus ring on the active segment of `SegmentedControls` is visible in light mode.
29
+ The background band meant to separate it from the indicator was the same width as the ring, so
30
+ the ring merged into the indicator's fill.
31
+ - Hover on `SegmentedControls` only applies on devices that can hover, as on `Button`, so a tapped
32
+ segment no longer stays highlighted on a touch screen.
33
+ - `SegmentedControls` no longer logs a `useLayoutEffect` warning when server-rendered with
34
+ React 18.
35
+
36
+ ### Deprecated
37
+
38
+ - The `id` prop on `Tabs`. It is optional and ignored, and only existed to pair the old animated
39
+ indicator across renders.
40
+
41
+ ## 4.11.0 - 2026-10-06
42
+
43
+ A visual refresh of `Button`. No props, variants or sizes change and no code needs to change.
44
+ Components built on `Button`, such as `RadioDropdown`, `FilterDropdown`, `SortSelector`,
45
+ `DateRangePicker` and `Pagination`, pick up the new look.
46
+
47
+ ### Changed
48
+
49
+ - Filled variants (`primary`, `danger`, `warning`, `secondary`) have the sharp 1px rim light of
50
+ the active segment in `SegmentedControls`, over a soft top-to-bottom sheen, with a subtle drop
51
+ shadow and no visible border. In light mode the shadow is faintly tinted with the button's own
52
+ colour.
53
+ - `tertiary` stays white in light mode and near black in dark, with the same soft sheen and lift
54
+ as the filled variants and a translucent edge in place of its grey border. In dark mode the top
55
+ of that edge is brighter, as a rim light.
56
+ - Every variant except `link` and `navigation` has a pressed state. Transitions use the same
57
+ 250ms easing as `SegmentedControls`, animate only colour, shadow and underline, and respect
58
+ reduced motion.
59
+ - Hover is gentler. In dark mode filled variants lighten slightly instead of darkening into a
60
+ muddy tone, and `primary` and `danger` keep their white text above 4.5:1 while hovered.
61
+ - Disabled buttons have no shadow.
62
+ - The gap between a button's icon and its label is 6px, as in `SegmentedControls`, up from 4px.
63
+ - The active segment in `SegmentedControls` shares the filled button's shadow, so in light mode
64
+ it is faintly tinted with the segment's colour and in dark mode its drop shadow is deeper. The
65
+ track's grey border is the same translucent edge as `tertiary`.
66
+ - A selected `DateRangePicker` day matches a filled button, including its pressed state.
67
+ - Hovering a danger `Toast` turns its action the `danger` button colour instead of dark red with
68
+ red text, and the action's outline no longer makes it 2px wider than in other toasts.
69
+
70
+ ### Fixed
71
+
72
+ - Hover colours on `Button`, `DateRangePicker` days and the `Badge` close button only apply on
73
+ devices that can hover, so a tapped control no longer stays highlighted on a touch screen.
74
+
5
75
  ## 4.10.2 - 2026-10-06
6
76
 
7
77
  ### Fixed
@@ -63,6 +63,7 @@
63
63
  border-radius: calc(infinity * 1px);
64
64
  --tw-border-style: none;
65
65
  border-style: none;
66
+ background-image: none;
66
67
  padding: calc(0.25rem * 0);
67
68
  & svg {
68
69
  width: calc(0.25rem * 3);
@@ -85,9 +86,13 @@
85
86
  background-color: var(--badge-bg-color);
86
87
  color: var(--badge-fg-color);
87
88
  }
88
- .badge .closable-btn:hover:not(:disabled) {
89
- background-color: var(--badge-fg-color);
90
- color: var(--badge-bg-color);
89
+ .badge .closable-btn:not(:disabled) {
90
+ &:hover {
91
+ @media (hover: hover) {
92
+ background-color: var(--badge-fg-color);
93
+ color: var(--badge-bg-color);
94
+ }
95
+ }
91
96
  }
92
97
  .badge--sm .closable-btn {
93
98
  width: calc(0.25rem * 3);
@@ -6,15 +6,20 @@
6
6
  --tw-font-weight: 500;
7
7
  font-weight: 500;
8
8
  white-space: nowrap;
9
- transition-property: all;
9
+ transition-property: color,background-color,border-color,box-shadow,text-decoration-color,text-underline-offset;
10
10
  transition-timing-function: var(--tw-ease, cubic-bezier(0.4, 0, 0.2, 1));
11
11
  transition-duration: var(--tw-duration, 150ms);
12
- --tw-duration: 300ms;
13
- transition-duration: 300ms;
12
+ --tw-duration: 250ms;
13
+ transition-duration: 250ms;
14
+ --tw-ease: cubic-bezier(0.32, 0.72, 0, 1);
15
+ transition-timing-function: cubic-bezier(0.32, 0.72, 0, 1);
16
+ @media (prefers-reduced-motion: reduce) {
17
+ transition-property: none;
18
+ }
14
19
  display: flex;
15
20
  align-items: center;
16
21
  justify-content: center;
17
- gap: calc(0.25rem * 1);
22
+ gap: calc(0.25rem * 1.5);
18
23
  cursor: pointer;
19
24
  &:disabled {
20
25
  cursor: not-allowed;
@@ -22,6 +27,10 @@
22
27
  &:disabled {
23
28
  opacity: 50%;
24
29
  }
30
+ &:disabled {
31
+ --tw-shadow: 0 0 #0000;
32
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
33
+ }
25
34
  & svg {
26
35
  pointer-events: none;
27
36
  }
@@ -49,122 +58,173 @@
49
58
  outline-style: none;
50
59
  }
51
60
  }
52
- .button--primary {
53
- --mix-color: var(--color-button-primary-fill);
54
- background-color: var(--mix-color);
61
+ .button--filled {
62
+ --button-edge-inset: 1px;
55
63
  border-style: var(--tw-border-style);
56
- border-width: 1px;
57
- border-color: var(--color-button-primary-border, color(display-p3 0.5242 0.2903 0.7705));
58
- color: var(--color-button-primary-text, color(display-p3 1 1 1));
64
+ border-width: 0px;
65
+ background-color: var(--mix-color);
66
+ background-image: linear-gradient(
67
+ to bottom,
68
+ rgb(255 255 255 / 0.1),
69
+ rgb(255 255 255 / 0) 35%,
70
+ rgb(0 0 0 / 0.06)
71
+ );
59
72
  text-decoration-line: none;
73
+ --tw-shadow: 0 1px 2px var(--tw-shadow-color, rgb(0 0 0 / 0.18)), 0 2px 6px -2px var(--tw-shadow-color, var(--mix-color, transparent)), inset 0 1px 0 var(--tw-shadow-color, rgb(255 255 255 / 0.25));
74
+ @supports (color: color-mix(in lab, red, red)) {
75
+ --tw-shadow: 0 1px 2px var(--tw-shadow-color, rgb(0 0 0 / 0.18)), 0 2px 6px -2px var(--tw-shadow-color, color-mix(in oklch, var(--mix-color, transparent) 25%, transparent)), inset 0 1px 0 var(--tw-shadow-color, rgb(255 255 255 / 0.25));
76
+ }
77
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
78
+ &:where(html[data-equality-theme=dark], html[data-equality-theme=dark] *, [data-equality-theme=dark] .root, [data-equality-theme=dark] .root *) {
79
+ --tw-shadow: 0 1px 2px var(--tw-shadow-color, rgb(0 0 0 / 0.45)), inset 0 1px 0 var(--tw-shadow-color, rgb(255 255 255 / 0.25));
80
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
81
+ }
82
+ &:active {
83
+ &:not(*:disabled) {
84
+ --tw-shadow: inset 0 1px 2px var(--tw-shadow-color, rgb(0 0 0 / 0.2));
85
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
86
+ }
87
+ }
88
+ }
89
+ .button--filled:not(:disabled),
90
+ .button--tertiary:not(:disabled) {
60
91
  &:hover {
61
92
  @media (hover: hover) {
62
- &:not(*:disabled) {
63
- background-color: var(--mix-color);
64
- @supports (color: color-mix(in lab, red, red)) {
65
- background-color: color-mix(in oklch, var(--mix-color), black var(--hover-darken, 20%));
66
- }
67
- }
93
+ background-color: var(--button-hover-fill);
68
94
  }
69
95
  }
70
96
  }
97
+ .button--primary,
98
+ .button--danger,
99
+ .button--warning {
100
+ --button-hover-fill: var(--mix-color);
101
+ @supports (color: color-mix(in lab, red, red)) {
102
+ --button-hover-fill: color-mix(in oklch, var(--mix-color), black 16%);
103
+ }
104
+ &:where(html[data-equality-theme=dark], html[data-equality-theme=dark] *, [data-equality-theme=dark] .root, [data-equality-theme=dark] .root *) {
105
+ --button-hover-fill: var(--mix-color);
106
+ @supports (color: color-mix(in lab, red, red)) {
107
+ --button-hover-fill: color-mix(in oklch, var(--mix-color), white 6%);
108
+ }
109
+ }
110
+ }
111
+ .button--primary {
112
+ --mix-color: var(--color-button-primary-fill);
113
+ color: var(--color-button-primary-text, color(display-p3 1 1 1));
114
+ }
71
115
  .button--danger {
72
116
  --mix-color: var(--color-button-danger-fill);
73
- background-color: var(--mix-color);
74
- border-style: var(--tw-border-style);
75
- border-width: 1px;
76
- border-color: var(--color-button-danger-border, color(display-p3 0.5698 0.1873 0.1674));
77
117
  color: var(--color-button-danger-text, color(display-p3 1 1 1));
78
- text-decoration-line: none;
79
- &:hover {
80
- @media (hover: hover) {
81
- &:not(*:disabled) {
82
- background-color: var(--mix-color);
83
- @supports (color: color-mix(in lab, red, red)) {
84
- background-color: color-mix(in oklch, var(--mix-color), black var(--hover-darken, 20%));
85
- }
86
- }
87
- }
88
- }
89
118
  }
90
119
  .button--warning {
91
120
  --mix-color: var(--color-button-warning-fill);
92
- background-color: var(--mix-color);
93
- border-style: var(--tw-border-style);
94
- border-width: 1px;
95
- border-color: var(--color-button-warning-border, color(display-p3 0.6345 0.463 0.1863));
96
121
  color: var(--color-button-warning-text, color(display-p3 1 1 1));
97
- text-decoration-line: none;
98
- &:hover {
99
- @media (hover: hover) {
100
- &:not(*:disabled) {
101
- background-color: var(--mix-color);
102
- @supports (color: color-mix(in lab, red, red)) {
103
- background-color: color-mix(in oklch, var(--mix-color), black var(--hover-darken, 20%));
104
- }
105
- }
106
- }
107
- }
108
122
  }
109
123
  .button--secondary {
110
124
  --mix-color: var(--color-button-secondary-fill);
111
- background-color: var(--mix-color);
112
- border-style: var(--tw-border-style);
113
- border-width: 1px;
114
- border-color: var(--color-button-secondary-border, color(display-p3 0.0861 0.0861 0.0861));
115
- color: var(--color-button-secondary-text, color(display-p3 1 1 1));
116
- text-decoration-line: none;
117
- &:hover {
118
- @media (hover: hover) {
119
- &:not(*:disabled) {
120
- background-color: var(--mix-color);
121
- @supports (color: color-mix(in lab, red, red)) {
122
- background-color: color-mix(in oklch, var(--mix-color), white var(--hover-lighten, 20%));
123
- }
124
- }
125
- }
125
+ --button-hover-fill: var(--mix-color);
126
+ @supports (color: color-mix(in lab, red, red)) {
127
+ --button-hover-fill: color-mix(in oklch, var(--mix-color), white 18%);
126
128
  }
129
+ color: var(--color-button-secondary-text, color(display-p3 1 1 1));
127
130
  &:where(html[data-equality-theme=dark], html[data-equality-theme=dark] *, [data-equality-theme=dark] .root, [data-equality-theme=dark] .root *) {
128
- &:hover {
129
- @media (hover: hover) {
130
- &:not(*:disabled) {
131
- background-color: var(--mix-color);
132
- @supports (color: color-mix(in lab, red, red)) {
133
- background-color: color-mix(in oklch, var(--mix-color), black var(--hover-darken, 20%));
134
- }
135
- }
136
- }
131
+ --button-hover-fill: var(--mix-color);
132
+ @supports (color: color-mix(in lab, red, red)) {
133
+ --button-hover-fill: color-mix(in oklch, var(--mix-color), black 12%);
137
134
  }
138
135
  }
139
136
  }
140
137
  .button--tertiary {
141
138
  --mix-color: var(--color-button-tertiary-fill);
142
- background-color: var(--mix-color);
139
+ --button-hover-fill: var(--mix-color);
140
+ @supports (color: color-mix(in lab, red, red)) {
141
+ --button-hover-fill: color-mix(in oklch, var(--mix-color), var(--color-text-primary) 5%);
142
+ }
143
143
  border-style: var(--tw-border-style);
144
144
  border-width: 1px;
145
- border-color: var(--color-button-tertiary-border, color(display-p3 0.7432 0.7432 0.7432));
145
+ background-color: var(--mix-color);
146
+ background-origin: border-box;
147
+ border-color: color-mix(in srgb, color(display-p3 0 0 0) 16%, transparent);
148
+ @supports (color: color-mix(in lab, red, red)) {
149
+ border-color: color-mix(in oklch, var(--color-text-primary) 16%, transparent);
150
+ }
151
+ &:where(html[data-equality-theme=dark], html[data-equality-theme=dark] *, [data-equality-theme=dark] .root, [data-equality-theme=dark] .root *) {
152
+ border-color: color-mix(in srgb, color(display-p3 0 0 0) 22%, transparent);
153
+ @supports (color: color-mix(in lab, red, red)) {
154
+ border-color: color-mix(in oklch, var(--color-text-primary) 22%, transparent);
155
+ }
156
+ }
157
+ &:where(html[data-equality-theme=dark], html[data-equality-theme=dark] *, [data-equality-theme=dark] .root, [data-equality-theme=dark] .root *) {
158
+ border-top-color: color-mix(in srgb, color(display-p3 0 0 0) 34%, transparent);
159
+ @supports (color: color-mix(in lab, red, red)) {
160
+ border-top-color: color-mix(in oklch, var(--color-text-primary) 34%, transparent);
161
+ }
162
+ }
163
+ background-image: linear-gradient(
164
+ to bottom,
165
+ transparent 35%,
166
+ rgb(0 0 0 / 0.04)
167
+ );
168
+ &:where(html[data-equality-theme=dark], html[data-equality-theme=dark] *, [data-equality-theme=dark] .root, [data-equality-theme=dark] .root *) {
169
+ background-image: linear-gradient(
170
+ to bottom,
171
+ rgb(255 255 255 / 0.06),
172
+ rgb(255 255 255 / 0) 35%,
173
+ rgb(0 0 0 / 0.1)
174
+ );
175
+ }
146
176
  color: var(--color-button-tertiary-text, color(display-p3 0 0 0));
147
177
  text-decoration-line: none;
148
- &:hover {
149
- @media (hover: hover) {
178
+ --tw-shadow: 0 1px 2px var(--tw-shadow-color, rgb(0 0 0 / 0.13)), 0 2px 6px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.09));
179
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
180
+ &:where(html[data-equality-theme=dark], html[data-equality-theme=dark] *, [data-equality-theme=dark] .root, [data-equality-theme=dark] .root *) {
181
+ --tw-shadow: 0 1px 2px var(--tw-shadow-color, rgb(0 0 0 / 0.45));
182
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
183
+ }
184
+ &:active {
185
+ &:not(*:disabled) {
186
+ --tw-shadow: 0 0 #0000;
187
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
188
+ }
189
+ }
190
+ &:active {
191
+ &:not(*:disabled) {
192
+ --tw-inset-shadow: inset 0 1px 2px var(--tw-inset-shadow-color, rgb(0 0 0 / 0.08));
193
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
194
+ }
195
+ }
196
+ &:where(html[data-equality-theme=dark], html[data-equality-theme=dark] *, [data-equality-theme=dark] .root, [data-equality-theme=dark] .root *) {
197
+ &:active {
150
198
  &:not(*:disabled) {
151
- background-color: var(--mix-color);
152
- @supports (color: color-mix(in lab, red, red)) {
153
- background-color: color-mix(in oklch, var(--mix-color), black var(--hover-darken, 20%));
154
- }
199
+ --tw-inset-shadow: inset 0 1px 2px var(--tw-inset-shadow-color, rgb(0 0 0 / 0.35));
200
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
155
201
  }
156
202
  }
157
203
  }
158
- &:hover {
159
- @media (hover: hover) {
160
- &:where(html[data-equality-theme=dark], html[data-equality-theme=dark] *, [data-equality-theme=dark] .root, [data-equality-theme=dark] .root *) {
161
- &:not(*:disabled) {
162
- background-color: var(--mix-color);
163
- @supports (color: color-mix(in lab, red, red)) {
164
- background-color: color-mix(in oklch, var(--mix-color), white var(--hover-lighten, 20%));
165
- }
166
- }
167
- }
204
+ &:where(html[data-equality-theme=dark], html[data-equality-theme=dark] *, [data-equality-theme=dark] .root, [data-equality-theme=dark] .root *) {
205
+ --mix-color: color-mix(
206
+ in oklch,
207
+ color(display-p3 1 1 1),
208
+ color(display-p3 0 0 0) 3%
209
+ );
210
+ @supports (color: color-mix(in lab, red, red)) {
211
+ --mix-color: color-mix(
212
+ in oklch,
213
+ var(--color-button-tertiary-fill),
214
+ var(--color-text-primary) 3%
215
+ );
216
+ }
217
+ --button-hover-fill: color-mix(
218
+ in oklch,
219
+ color(display-p3 1 1 1),
220
+ color(display-p3 0 0 0) 20%
221
+ );
222
+ @supports (color: color-mix(in lab, red, red)) {
223
+ --button-hover-fill: color-mix(
224
+ in oklch,
225
+ var(--color-button-tertiary-fill),
226
+ var(--color-text-primary) 20%
227
+ );
168
228
  }
169
229
  }
170
230
  }
@@ -237,18 +297,18 @@
237
297
  .size--sm:not(.button--link) {
238
298
  height: calc(0.25rem * 7);
239
299
  border-radius: var(--radius-md, 0.375rem);
240
- padding-inline: calc(0.25rem * 2);
300
+ padding-inline: calc(calc(0.25rem * 2) + var(--button-edge-inset,0px));
241
301
  }
242
302
  .size--md:not(.button--link) {
243
303
  height: calc(0.25rem * 10);
244
304
  border-radius: var(--radius-md, 0.375rem);
245
- padding-inline: calc(0.25rem * 3);
305
+ padding-inline: calc(calc(0.25rem * 3) + var(--button-edge-inset,0px));
246
306
  padding-block: calc(0.25rem * 2);
247
307
  }
248
308
  .size--lg:not(.button--link) {
249
309
  height: calc(0.25rem * 11);
250
310
  border-radius: var(--radius-md, 0.375rem);
251
- padding-inline: calc(0.25rem * 8);
311
+ padding-inline: calc(calc(0.25rem * 8) + var(--button-edge-inset,0px));
252
312
  }
253
313
  @property --tw-font-weight {
254
314
  syntax: "*";
@@ -258,6 +318,10 @@
258
318
  syntax: "*";
259
319
  inherits: false;
260
320
  }
321
+ @property --tw-ease {
322
+ syntax: "*";
323
+ inherits: false;
324
+ }
261
325
  @property --tw-shadow {
262
326
  syntax: "*";
263
327
  inherits: false;
@@ -100,6 +100,7 @@
100
100
  border-radius: var(--radius-md, 0.375rem);
101
101
  padding: calc(0.25rem * 0);
102
102
  border-color: transparent;
103
+ background-image: none;
103
104
  --tw-shadow: 0 0 #0000;
104
105
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
105
106
  &:active {
@@ -121,8 +122,12 @@
121
122
  }
122
123
  }
123
124
  }
124
- .calendar-grid .calendar-day-btn:hover:not(:disabled) {
125
- background-color: var(--calendar-day-hover-fill);
125
+ .calendar-grid .calendar-day-btn:not(:disabled) {
126
+ &:hover {
127
+ @media (hover: hover) {
128
+ background-color: var(--calendar-day-hover-fill);
129
+ }
130
+ }
126
131
  }
127
132
  .calendar-grid .calendar-day-btn--in-range {
128
133
  --mix-color: color-mix(in srgb, color(display-p3 0.6266 0.4562 0.8302) 25%, transparent);
@@ -155,12 +160,29 @@
155
160
  --calendar-day-hover-fill: color-mix(in oklch, var(--mix-color), black 16%);
156
161
  }
157
162
  color: var(--color-button-primary-text, color(display-p3 1 1 1));
158
- border-color: var(--mix-color);
163
+ border-style: var(--tw-border-style);
164
+ border-width: 0px;
165
+ background-image: linear-gradient(
166
+ to bottom,
167
+ rgb(255 255 255 / 0.1),
168
+ rgb(255 255 255 / 0) 35%,
169
+ rgb(0 0 0 / 0.06)
170
+ );
171
+ --tw-shadow: 0 1px 2px var(--tw-shadow-color, rgb(0 0 0 / 0.18)), 0 2px 6px -2px var(--tw-shadow-color, var(--mix-color, transparent)), inset 0 1px 0 var(--tw-shadow-color, rgb(255 255 255 / 0.25));
159
172
  @supports (color: color-mix(in lab, red, red)) {
160
- border-color: color-mix(in oklch,var(--mix-color),black 12%);
173
+ --tw-shadow: 0 1px 2px var(--tw-shadow-color, rgb(0 0 0 / 0.18)), 0 2px 6px -2px var(--tw-shadow-color, color-mix(in oklch, var(--mix-color, transparent) 25%, transparent)), inset 0 1px 0 var(--tw-shadow-color, rgb(255 255 255 / 0.25));
161
174
  }
162
- --tw-shadow: 0 1px 2px var(--tw-shadow-color, rgb(0 0 0/0.2)), inset 0 1px 0 var(--tw-shadow-color, rgb(255 255 255/0.25));
163
175
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
176
+ &:where(html[data-equality-theme=dark], html[data-equality-theme=dark] *, [data-equality-theme=dark] .root, [data-equality-theme=dark] .root *) {
177
+ --tw-shadow: 0 1px 2px var(--tw-shadow-color, rgb(0 0 0 / 0.45)), inset 0 1px 0 var(--tw-shadow-color, rgb(255 255 255 / 0.25));
178
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
179
+ }
180
+ &:active {
181
+ &:not(*:disabled) {
182
+ --tw-shadow: inset 0 1px 2px var(--tw-shadow-color, rgb(0 0 0 / 0.2));
183
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
184
+ }
185
+ }
164
186
  &:where(html[data-equality-theme=dark], html[data-equality-theme=dark] *, [data-equality-theme=dark] .root, [data-equality-theme=dark] .root *) {
165
187
  --calendar-day-hover-fill: var(--mix-color);
166
188
  @supports (color: color-mix(in lab, red, red)) {
@@ -262,3 +284,8 @@
262
284
  inherits: false;
263
285
  initial-value: 0 0 #0000;
264
286
  }
287
+ @property --tw-border-style {
288
+ syntax: "*";
289
+ inherits: false;
290
+ initial-value: solid;
291
+ }