@eqtylab/equality 5.6.0 → 6.0.0-next.1
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 +63 -0
- package/dist/button.module.module.css.module.css +17 -12
- package/dist/command.module.module.css.module.css +8 -21
- package/dist/display-field.module.module.css.module.css +8 -6
- package/dist/dropdown-menu.module.module.css.module.css +9 -7
- package/dist/icon-button.module.module.css.module.css +8 -8
- package/dist/input.module.module.css.module.css +11 -9
- package/dist/nav-list.module.module.css.module.css +12 -11
- package/dist/nav.module.module.css.module.css +11 -17
- package/dist/pagination.module.module.css.module.css +4 -4
- package/dist/segmented-controls.module.module.css.module.css +17 -11
- package/dist/select.module.module.css.module.css +9 -10
- package/dist/table-components.module.module.css.module.css +3 -2
- package/dist/tabs-components.module.module.css.module.css +4 -4
- package/dist/tabs.module.module.css.module.css +2 -2
- package/dist/theme-decisions-scoped.css +22 -6
- package/dist/theme-decisions.css +23 -7
- package/dist/theme-utilities.css +4 -0
- package/dist/theme.module.module.css.module.css +19 -1
- package/dist/timeline.module.module.css.module.css +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,69 @@
|
|
|
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
|
+
## 6.0.0 - 2026-11-19
|
|
6
|
+
|
|
7
|
+
Controls and rows move to one scale: 28, 36 and 44. The default control drops from 40 to 36, and
|
|
8
|
+
menu rows grow from 32 to 36. If your app copied a 40px height from Equality to line something up
|
|
9
|
+
with a control, search for it: it now sits 4px taller than the control beside it.
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
| Part | Height | Text | Side padding |
|
|
14
|
+
| ------------------------------------------------------------------------- | ---------- | -------- | ------------ |
|
|
15
|
+
| `Button` `md` | 40 to 36 | 14 | 12 |
|
|
16
|
+
| `Button` `lg` | 44 | 14 to 16 | 32 to 16 |
|
|
17
|
+
| `Button` `sm` | 28 | 12 | 8 |
|
|
18
|
+
| `IconButton` `md` | 40 to 36 | | |
|
|
19
|
+
| `IconButton` `xs`, `sm`, `lg` | 24, 28, 44 | | |
|
|
20
|
+
| `SegmentedControls` `md` | 40 to 36 | 14 | 12 |
|
|
21
|
+
| `SegmentedControls` `lg` | 44 | 14 to 16 | 16 |
|
|
22
|
+
| `Input`, `SearchBar`, `Select` trigger | 40 to 36 | 14 | 8, 8, 12 |
|
|
23
|
+
| `Tabs` list | 40 to 36 | 18 | 12 |
|
|
24
|
+
| `Table` header | 40 to 36 | 14 | |
|
|
25
|
+
| `Table` row | 36 | 14 | 16 |
|
|
26
|
+
| `Timeline` `md` marker | 40 to 36 | | |
|
|
27
|
+
| `Nav` rail item | 40 to 36 | | |
|
|
28
|
+
| `NavSwitcher` and the `Nav` panel title | 32 to 36 | 14 | 8 |
|
|
29
|
+
| `NavList` row | 36 | 14 | 8 |
|
|
30
|
+
| `DropdownMenu`, `RadioDropdown`, `SortSelector` and `FilterDropdown` rows | 32 to 36 | 14 | 8 |
|
|
31
|
+
| `Select` option | 32 to 36 | 14 | 8 |
|
|
32
|
+
| `Command` row | 32 to 36 | 14 | 8 |
|
|
33
|
+
| `Command` row in a `CommandDialog` | 44 to 36 | 14 | 8 |
|
|
34
|
+
| `DisplayField` | 38 to 36 | 14 | 12 |
|
|
35
|
+
| `DateRangePicker` day | 40 to 36 | 14 | |
|
|
36
|
+
|
|
37
|
+
- Large `Button` side padding halves, from 32 to 16. This is the largest single move.
|
|
38
|
+
- The gap between an icon and its text grows from 6 to 8 on every `md` and `lg` `Button`, link
|
|
39
|
+
buttons included, and on `md` and `lg` segments.
|
|
40
|
+
- A row that wraps keeps its padding and grows; 36 is its minimum.
|
|
41
|
+
- `Command`'s input bar stays 36. The field inside it now fits: it was 40, or 48 in a
|
|
42
|
+
`CommandDialog`, and overflowed the bar.
|
|
43
|
+
- `Tabs` triggers fill the list's height. `Input` centres its text without vertical padding.
|
|
44
|
+
- The `Nav` switcher is as tall as the rail's first item, so the panel header no longer nudges it
|
|
45
|
+
down to line the two up.
|
|
46
|
+
|
|
47
|
+
### Added
|
|
48
|
+
|
|
49
|
+
- Control size decisions: `--eq-control-xs-height`, `-sm-height`, `-md-height` and `-lg-height`;
|
|
50
|
+
a font size, line height and gap for `sm`, `md` and `lg`; and
|
|
51
|
+
`--eq-control-padding-x-condensed`, `-normal` and `-spacious`. A control or row you build
|
|
52
|
+
yourself reads these, such as `h-(--eq-control-md-height)`, so it follows the scale.
|
|
53
|
+
|
|
54
|
+
### Deprecated
|
|
55
|
+
|
|
56
|
+
- `--eq-list-item-height`. Use `--eq-control-md-height`.
|
|
57
|
+
- `--eq-list-item-padding-x`. Use `--eq-control-padding-x-condensed`.
|
|
58
|
+
- `--eq-list-item-gap`. Use `--eq-control-md-gap`.
|
|
59
|
+
- `--eq-list-item-font-size`. Use `--eq-control-md-font-size`.
|
|
60
|
+
|
|
61
|
+
Each keeps its value until a later major release removes it, but nothing in Equality reads it any
|
|
62
|
+
more, so a site's override of one no longer takes effect. Override the name that replaces it.
|
|
63
|
+
|
|
64
|
+
### Removed
|
|
65
|
+
|
|
66
|
+
- `--eq-control-height`. Use `--eq-control-md-height`, which the `Nav` rail now reads.
|
|
67
|
+
|
|
5
68
|
## 5.6.0 - 2026-11-18
|
|
6
69
|
|
|
7
70
|
### Added
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */
|
|
2
2
|
.button {
|
|
3
3
|
border-radius: var(--radius-md, 0.375rem);
|
|
4
|
-
font-size:
|
|
5
|
-
line-height: var(--tw-leading,
|
|
4
|
+
font-size: var(--eq-control-md-font-size);
|
|
5
|
+
line-height: var(--tw-leading,var(--eq-control-md-line-height));
|
|
6
6
|
--tw-font-weight: 500;
|
|
7
7
|
font-weight: 500;
|
|
8
8
|
white-space: nowrap;
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
display: flex;
|
|
20
20
|
align-items: center;
|
|
21
21
|
justify-content: center;
|
|
22
|
-
gap:
|
|
22
|
+
gap: var(--eq-control-md-gap);
|
|
23
23
|
cursor: pointer;
|
|
24
24
|
&:disabled {
|
|
25
25
|
cursor: not-allowed;
|
|
@@ -334,24 +334,29 @@
|
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
336
|
.size--sm {
|
|
337
|
-
|
|
338
|
-
|
|
337
|
+
gap: var(--eq-control-sm-gap);
|
|
338
|
+
font-size: var(--eq-control-sm-font-size);
|
|
339
|
+
line-height: var(--tw-leading,var(--eq-control-sm-line-height));
|
|
339
340
|
}
|
|
340
341
|
.size--sm:not(.button--link) {
|
|
341
|
-
height:
|
|
342
|
+
height: var(--eq-control-sm-height);
|
|
342
343
|
border-radius: var(--radius-md, 0.375rem);
|
|
343
|
-
padding-inline: calc(
|
|
344
|
+
padding-inline: calc(var(--eq-control-padding-x-condensed) + var(--button-edge-inset,0px));
|
|
344
345
|
}
|
|
345
346
|
.size--md:not(.button--link) {
|
|
346
|
-
height:
|
|
347
|
+
height: var(--eq-control-md-height);
|
|
347
348
|
border-radius: var(--radius-md, 0.375rem);
|
|
348
|
-
padding-inline: calc(
|
|
349
|
-
|
|
349
|
+
padding-inline: calc(var(--eq-control-padding-x-normal) + var(--button-edge-inset,0px));
|
|
350
|
+
}
|
|
351
|
+
.size--lg {
|
|
352
|
+
gap: var(--eq-control-lg-gap);
|
|
353
|
+
font-size: var(--eq-control-lg-font-size);
|
|
354
|
+
line-height: var(--tw-leading,var(--eq-control-lg-line-height));
|
|
350
355
|
}
|
|
351
356
|
.size--lg:not(.button--link) {
|
|
352
|
-
height:
|
|
357
|
+
height: var(--eq-control-lg-height);
|
|
353
358
|
border-radius: var(--radius-md, 0.375rem);
|
|
354
|
-
padding-inline: calc(
|
|
359
|
+
padding-inline: calc(var(--eq-control-padding-x-spacious) + var(--button-edge-inset,0px));
|
|
355
360
|
}
|
|
356
361
|
@property --tw-font-weight {
|
|
357
362
|
syntax: "*";
|
|
@@ -28,20 +28,6 @@
|
|
|
28
28
|
padding: calc(0.25rem * 0);
|
|
29
29
|
}
|
|
30
30
|
.command-dialog-content-inner {
|
|
31
|
-
&[data-slot="command-input-wrapper"] {
|
|
32
|
-
:is(& *) {
|
|
33
|
-
height: calc(0.25rem * 12);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
& [cmdk-input] {
|
|
37
|
-
height: calc(0.25rem * 12);
|
|
38
|
-
}
|
|
39
|
-
& [cmdk-item] {
|
|
40
|
-
padding-inline: calc(0.25rem * 2);
|
|
41
|
-
}
|
|
42
|
-
& [cmdk-item] {
|
|
43
|
-
padding-block: calc(0.25rem * 3);
|
|
44
|
-
}
|
|
45
31
|
& [cmdk-item] svg {
|
|
46
32
|
width: calc(0.25rem * 5);
|
|
47
33
|
height: calc(0.25rem * 5);
|
|
@@ -71,7 +57,7 @@
|
|
|
71
57
|
border-bottom-style: var(--tw-border-style);
|
|
72
58
|
border-bottom-width: 1px;
|
|
73
59
|
border-color: var(--color-border-overlay, color(display-p3 0.8011 0.807 0.814));
|
|
74
|
-
height:
|
|
60
|
+
height: var(--eq-control-md-height);
|
|
75
61
|
padding-inline: calc(0.25rem * 3);
|
|
76
62
|
display: flex;
|
|
77
63
|
align-items: center;
|
|
@@ -103,9 +89,9 @@
|
|
|
103
89
|
outline-offset: 2px;
|
|
104
90
|
}
|
|
105
91
|
display: flex;
|
|
106
|
-
height:
|
|
92
|
+
height: 100%;
|
|
107
93
|
width: 100%;
|
|
108
|
-
padding-block: calc(0.25rem *
|
|
94
|
+
padding-block: calc(0.25rem * 0);
|
|
109
95
|
&:disabled {
|
|
110
96
|
cursor: not-allowed;
|
|
111
97
|
}
|
|
@@ -160,14 +146,15 @@
|
|
|
160
146
|
outline: 2px solid transparent;
|
|
161
147
|
outline-offset: 2px;
|
|
162
148
|
}
|
|
163
|
-
font-size:
|
|
164
|
-
line-height: var(--tw-leading,
|
|
149
|
+
font-size: var(--eq-control-md-font-size);
|
|
150
|
+
line-height: var(--tw-leading,var(--eq-control-md-line-height));
|
|
165
151
|
display: flex;
|
|
166
152
|
align-items: center;
|
|
167
153
|
gap: calc(0.25rem * 2);
|
|
168
154
|
position: relative;
|
|
169
|
-
|
|
170
|
-
padding-
|
|
155
|
+
min-height: var(--eq-control-md-height);
|
|
156
|
+
padding-inline: var(--eq-control-padding-x-condensed);
|
|
157
|
+
padding-block: calc((var(--eq-control-md-height) - var(--eq-control-md-line-height)) / 2);
|
|
171
158
|
cursor: pointer;
|
|
172
159
|
-webkit-user-select: none;
|
|
173
160
|
user-select: none;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */
|
|
2
2
|
.display-field {
|
|
3
|
-
font-size:
|
|
4
|
-
line-height: var(--tw-leading,
|
|
3
|
+
font-size: var(--eq-control-md-font-size);
|
|
4
|
+
line-height: var(--tw-leading,var(--eq-control-md-line-height));
|
|
5
5
|
text-overflow: clip;
|
|
6
6
|
color: var(--color-text-primary, color(display-p3 0 0 0));
|
|
7
7
|
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
border-color: var(--color-border, color(display-p3 0.7432 0.7432 0.7432));
|
|
13
13
|
background-color: var(--color-popover-background, color(display-p3 0.9738 0.9799 0.9872));
|
|
14
14
|
display: flex;
|
|
15
|
-
height:
|
|
15
|
+
height: var(--eq-control-md-height);
|
|
16
16
|
width: 100%;
|
|
17
17
|
overflow: clip;
|
|
18
18
|
--tw-ring-offset-color: var(--color-background, color(display-p3 1 1 1));
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
align-items: center;
|
|
52
52
|
gap: calc(0.25rem * 1);
|
|
53
53
|
padding-inline: calc(0.25rem * 2);
|
|
54
|
-
font-size:
|
|
55
|
-
line-height: var(--tw-leading,
|
|
54
|
+
font-size: var(--eq-control-md-font-size);
|
|
55
|
+
line-height: var(--tw-leading,var(--eq-control-md-line-height));
|
|
56
56
|
--tw-font-weight: 500;
|
|
57
57
|
font-weight: 500;
|
|
58
58
|
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
|
|
@@ -65,8 +65,10 @@
|
|
|
65
65
|
display: block;
|
|
66
66
|
width: 100%;
|
|
67
67
|
overflow-y: clip;
|
|
68
|
+
align-content: center;
|
|
69
|
+
align-self: stretch;
|
|
68
70
|
padding-inline: calc(0.25rem * 3);
|
|
69
|
-
padding-block: calc(0.25rem *
|
|
71
|
+
padding-block: calc(0.25rem * 0);
|
|
70
72
|
font-family: var(--font-mono);
|
|
71
73
|
}
|
|
72
74
|
.actions {
|
|
@@ -55,9 +55,10 @@
|
|
|
55
55
|
}
|
|
56
56
|
.dropdown-menu-trigger,
|
|
57
57
|
.dropdown-menu-item {
|
|
58
|
-
|
|
59
|
-
padding-
|
|
60
|
-
|
|
58
|
+
min-height: var(--eq-control-md-height);
|
|
59
|
+
padding-inline: var(--eq-control-padding-x-condensed);
|
|
60
|
+
padding-block: calc((var(--eq-control-md-height) - var(--eq-control-md-line-height)) / 2);
|
|
61
|
+
gap: var(--eq-control-md-gap);
|
|
61
62
|
& svg {
|
|
62
63
|
pointer-events: none;
|
|
63
64
|
}
|
|
@@ -71,8 +72,9 @@
|
|
|
71
72
|
}
|
|
72
73
|
.dropdown-menu-checkbox-item,
|
|
73
74
|
.dropdown-menu-radio-item {
|
|
74
|
-
|
|
75
|
-
padding-
|
|
75
|
+
min-height: var(--eq-control-md-height);
|
|
76
|
+
padding-block: calc((var(--eq-control-md-height) - var(--eq-control-md-line-height)) / 2);
|
|
77
|
+
padding-right: var(--eq-control-padding-x-condensed);
|
|
76
78
|
padding-left: calc(0.25rem * 8);
|
|
77
79
|
}
|
|
78
80
|
.dropdown-menu-trigger,
|
|
@@ -252,18 +254,18 @@
|
|
|
252
254
|
justify-content: center;
|
|
253
255
|
}
|
|
254
256
|
.dropdown-menu-item-indicator-checkbox {
|
|
255
|
-
top: calc(0.25rem * 2.25);
|
|
256
257
|
width: calc(0.25rem * 3.5);
|
|
257
258
|
height: calc(0.25rem * 3.5);
|
|
259
|
+
top: calc((var(--eq-control-md-height) - calc(0.25rem * 3.5)) / 2);
|
|
258
260
|
border-radius: 0.25rem;
|
|
259
261
|
border-style: var(--tw-border-style);
|
|
260
262
|
border-width: 1px;
|
|
261
263
|
border-color: var(--color-text-secondary, color(display-p3 0.1792 0.1792 0.1792));
|
|
262
264
|
}
|
|
263
265
|
.dropdown-menu-item-indicator-radio {
|
|
264
|
-
top: calc(0.25rem * 1.5);
|
|
265
266
|
height: calc(0.25rem * 5);
|
|
266
267
|
width: calc(0.25rem * 4);
|
|
268
|
+
top: calc((var(--eq-control-md-height) - calc(0.25rem * 5)) / 2);
|
|
267
269
|
}
|
|
268
270
|
.dropdown-menu-checkbox-item[data-state='checked'] .dropdown-menu-item-indicator-checkbox {
|
|
269
271
|
border-color: var(--color-button-primary-border, color(display-p3 0.5242 0.2903 0.7705));
|
|
@@ -37,23 +37,23 @@
|
|
|
37
37
|
display: flex;
|
|
38
38
|
}
|
|
39
39
|
.size--xs {
|
|
40
|
-
width:
|
|
41
|
-
height:
|
|
40
|
+
width: var(--eq-control-xs-height);
|
|
41
|
+
height: var(--eq-control-xs-height);
|
|
42
42
|
border-radius: var(--radius-md, 0.375rem);
|
|
43
43
|
}
|
|
44
44
|
.size--sm {
|
|
45
|
-
width:
|
|
46
|
-
height:
|
|
45
|
+
width: var(--eq-control-sm-height);
|
|
46
|
+
height: var(--eq-control-sm-height);
|
|
47
47
|
border-radius: var(--radius-md, 0.375rem);
|
|
48
48
|
}
|
|
49
49
|
.size--md {
|
|
50
|
-
width:
|
|
51
|
-
height:
|
|
50
|
+
width: var(--eq-control-md-height);
|
|
51
|
+
height: var(--eq-control-md-height);
|
|
52
52
|
border-radius: var(--radius-md, 0.375rem);
|
|
53
53
|
}
|
|
54
54
|
.size--lg {
|
|
55
|
-
width:
|
|
56
|
-
height:
|
|
55
|
+
width: var(--eq-control-lg-height);
|
|
56
|
+
height: var(--eq-control-lg-height);
|
|
57
57
|
border-radius: var(--radius-md, 0.375rem);
|
|
58
58
|
}
|
|
59
59
|
.icon-btn--primary {
|
|
@@ -10,9 +10,10 @@
|
|
|
10
10
|
border-width: 1px;
|
|
11
11
|
border-color: var(--color-border, color(display-p3 0.7432 0.7432 0.7432));
|
|
12
12
|
background-color: var(--color-background, color(display-p3 1 1 1));
|
|
13
|
-
padding:
|
|
13
|
+
padding-inline: var(--eq-control-padding-x-condensed);
|
|
14
|
+
padding-block: calc(0.25rem * 0);
|
|
14
15
|
display: flex;
|
|
15
|
-
height:
|
|
16
|
+
height: var(--eq-control-md-height);
|
|
16
17
|
width: 100%;
|
|
17
18
|
border-radius: var(--radius-md, 0.375rem);
|
|
18
19
|
color: var(--color-text-primary, color(display-p3 0 0 0));
|
|
@@ -23,8 +24,8 @@
|
|
|
23
24
|
line-height: var(--tw-leading, calc(1.5 / 1));
|
|
24
25
|
text-overflow: ellipsis;
|
|
25
26
|
@media (width >= 48rem) {
|
|
26
|
-
font-size:
|
|
27
|
-
line-height: var(--tw-leading,
|
|
27
|
+
font-size: var(--eq-control-md-font-size);
|
|
28
|
+
line-height: var(--tw-leading,var(--eq-control-md-line-height));
|
|
28
29
|
}
|
|
29
30
|
&::file-selector-button {
|
|
30
31
|
--tw-font-weight: 500;
|
|
@@ -78,12 +79,13 @@
|
|
|
78
79
|
border-color: var(--color-border, color(display-p3 0.7432 0.7432 0.7432));
|
|
79
80
|
background-color: var(--color-background, color(display-p3 1 1 1));
|
|
80
81
|
display: flex;
|
|
81
|
-
height:
|
|
82
|
+
height: var(--eq-control-md-height);
|
|
82
83
|
width: 100%;
|
|
83
84
|
align-items: center;
|
|
84
|
-
gap:
|
|
85
|
+
gap: var(--eq-control-md-gap);
|
|
85
86
|
border-radius: var(--radius-md, 0.375rem);
|
|
86
|
-
padding:
|
|
87
|
+
padding-inline: var(--eq-control-padding-x-condensed);
|
|
88
|
+
padding-block: calc(0.25rem * 0);
|
|
87
89
|
&:has(*:is(:disabled)) {
|
|
88
90
|
cursor: not-allowed;
|
|
89
91
|
}
|
|
@@ -139,8 +141,8 @@
|
|
|
139
141
|
line-height: var(--tw-leading, calc(1.5 / 1));
|
|
140
142
|
text-overflow: ellipsis;
|
|
141
143
|
@media (width >= 48rem) {
|
|
142
|
-
font-size:
|
|
143
|
-
line-height: var(--tw-leading,
|
|
144
|
+
font-size: var(--eq-control-md-font-size);
|
|
145
|
+
line-height: var(--tw-leading,var(--eq-control-md-line-height));
|
|
144
146
|
}
|
|
145
147
|
&::file-selector-button {
|
|
146
148
|
--tw-font-weight: 500;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
display: flex;
|
|
15
15
|
align-items: center;
|
|
16
16
|
gap: calc(0.25rem * 2);
|
|
17
|
-
padding-inline: var(--eq-
|
|
17
|
+
padding-inline: var(--eq-control-padding-x-condensed);
|
|
18
18
|
padding-top: calc(var(--eq-list-group-gap) - var(--eq-list-gap));
|
|
19
19
|
font-size: var(--eq-list-label-font-size);
|
|
20
20
|
--tw-font-weight: 500;
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
)
|
|
49
49
|
> li
|
|
50
50
|
.nav-list-items[data-depth='1']:not(.nav-list-expandable-items) {
|
|
51
|
-
margin-left: calc(var(--eq-list-item-icon-size) + var(--eq-
|
|
51
|
+
margin-left: calc(var(--eq-list-item-icon-size) + var(--eq-control-md-gap));
|
|
52
52
|
}
|
|
53
53
|
.nav-list-separator {
|
|
54
54
|
margin: calc(0.25rem * 0);
|
|
@@ -67,21 +67,21 @@
|
|
|
67
67
|
}
|
|
68
68
|
.nav-list-item {
|
|
69
69
|
display: flex;
|
|
70
|
-
height: var(--eq-
|
|
70
|
+
height: var(--eq-control-md-height);
|
|
71
71
|
min-height: var(--eq-touch-target);
|
|
72
72
|
width: 100%;
|
|
73
73
|
min-width: calc(0.25rem * 0);
|
|
74
74
|
align-items: center;
|
|
75
|
-
gap: var(--eq-
|
|
75
|
+
gap: var(--eq-control-md-gap);
|
|
76
76
|
border-radius: var(--radius-md, 0.375rem);
|
|
77
77
|
border-style: var(--tw-border-style);
|
|
78
78
|
border-width: 1px;
|
|
79
79
|
border-color: transparent;
|
|
80
80
|
background-color: transparent;
|
|
81
|
-
padding-inline: var(--eq-
|
|
81
|
+
padding-inline: var(--eq-control-padding-x-condensed);
|
|
82
82
|
text-align: left;
|
|
83
83
|
text-decoration-line: none;
|
|
84
|
-
font-size: var(--eq-
|
|
84
|
+
font-size: var(--eq-control-md-font-size);
|
|
85
85
|
color: var(--color-text-secondary, color(display-p3 0.1792 0.1792 0.1792));
|
|
86
86
|
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
|
|
87
87
|
transition-timing-function: var(--tw-ease, cubic-bezier(0.4, 0, 0.2, 1));
|
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
> :is([data-slot='nav-list-item'], [data-slot='nav-list-expandable-trigger'])
|
|
214
214
|
> .nav-list-item-prefix
|
|
215
215
|
) {
|
|
216
|
-
--nav-list-child-indent: calc(var(--eq-list-item-icon-size) + var(--eq-
|
|
216
|
+
--nav-list-child-indent: calc(var(--eq-list-item-icon-size) + var(--eq-control-md-gap));
|
|
217
217
|
}
|
|
218
218
|
.nav-list-items.nav-list-expandable-items {
|
|
219
219
|
margin-left: calc(0.25rem * 0);
|
|
@@ -221,21 +221,22 @@
|
|
|
221
221
|
border-left-width: 0px;
|
|
222
222
|
}
|
|
223
223
|
.nav-list-expandable-items > li > .nav-list-item {
|
|
224
|
-
padding-left: calc(var(--eq-
|
|
224
|
+
padding-left: calc(var(--eq-control-padding-x-condensed) + var(--nav-list-child-indent));
|
|
225
225
|
}
|
|
226
226
|
.nav-list-expandable-items .nav-list-items.nav-list-expandable-items {
|
|
227
227
|
border-left-style: var(--tw-border-style);
|
|
228
228
|
border-left-width: 1px;
|
|
229
229
|
border-color: var(--color-border-raised, color(display-p3 0.7383 0.7441 0.751));
|
|
230
230
|
margin-left: calc(
|
|
231
|
-
var(--eq-
|
|
231
|
+
var(--eq-control-padding-x-condensed) + var(--nav-list-child-indent) +
|
|
232
|
+
var(--eq-list-item-icon-size) / 2
|
|
232
233
|
);
|
|
233
234
|
}
|
|
234
235
|
.nav-list-expandable-items .nav-list-expandable-items .nav-list-items.nav-list-expandable-items {
|
|
235
|
-
margin-left: calc(var(--eq-
|
|
236
|
+
margin-left: calc(var(--eq-control-padding-x-condensed) + var(--eq-list-item-icon-size) / 2);
|
|
236
237
|
}
|
|
237
238
|
.nav-list-expandable-items .nav-list-expandable-items > li > .nav-list-item {
|
|
238
|
-
padding-left: var(--eq-
|
|
239
|
+
padding-left: var(--eq-control-padding-x-condensed);
|
|
239
240
|
}
|
|
240
241
|
.nav-list-items[data-depth='0'] > .nav-list-expandable > .nav-list-expandable-trigger {
|
|
241
242
|
--tw-font-weight: 500;
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
}
|
|
51
51
|
.nav-rail-item {
|
|
52
52
|
display: flex;
|
|
53
|
-
width: var(--eq-control-height);
|
|
54
|
-
height: var(--eq-control-height);
|
|
53
|
+
width: var(--eq-control-md-height);
|
|
54
|
+
height: var(--eq-control-md-height);
|
|
55
55
|
min-height: var(--eq-touch-target);
|
|
56
56
|
min-width: var(--eq-touch-target);
|
|
57
57
|
align-items: center;
|
|
@@ -87,13 +87,17 @@
|
|
|
87
87
|
text-overflow: ellipsis;
|
|
88
88
|
white-space: nowrap;
|
|
89
89
|
padding-inline: calc(0.25rem * 2);
|
|
90
|
-
padding-top: calc(0.25rem * 5.5);
|
|
91
|
-
padding-bottom: calc(0.25rem * 1.5);
|
|
92
90
|
font-size: 0.875rem;
|
|
93
91
|
line-height: var(--tw-leading, calc(1.25 / 0.875));
|
|
94
92
|
--tw-font-weight: 600;
|
|
95
93
|
font-weight: 600;
|
|
96
94
|
color: var(--color-text-primary, color(display-p3 0 0 0));
|
|
95
|
+
--nav-title-padding: calc(
|
|
96
|
+
(max(var(--eq-control-md-height), var(--eq-touch-target)) - var(--eq-control-md-line-height)) /
|
|
97
|
+
2
|
|
98
|
+
);
|
|
99
|
+
padding-top: calc(calc(0.25rem * 4) + var(--nav-title-padding));
|
|
100
|
+
padding-bottom: var(--nav-title-padding);
|
|
97
101
|
background-color: inherit;
|
|
98
102
|
}
|
|
99
103
|
.nav-panel-header:has(> .nav-switcher-heading) {
|
|
@@ -102,20 +106,10 @@
|
|
|
102
106
|
padding-top: calc(0.25rem * 4);
|
|
103
107
|
padding-bottom: calc(0.25rem * 0);
|
|
104
108
|
}
|
|
105
|
-
.nav-rail + .nav-panel .nav-panel-header:has(> .nav-switcher-heading) {
|
|
106
|
-
padding-top: calc(
|
|
107
|
-
calc(0.25rem * 4) +
|
|
108
|
-
(
|
|
109
|
-
max(var(--eq-control-height), var(--eq-touch-target)) -
|
|
110
|
-
max(calc(0.25rem * 8), var(--eq-touch-target))
|
|
111
|
-
) /
|
|
112
|
-
2
|
|
113
|
-
);
|
|
114
|
-
}
|
|
115
109
|
.nav-switcher-heading {
|
|
116
110
|
margin: calc(0.25rem * 0);
|
|
117
111
|
display: flex;
|
|
118
|
-
height:
|
|
112
|
+
height: var(--eq-control-md-height);
|
|
119
113
|
min-height: var(--eq-touch-target);
|
|
120
114
|
min-width: calc(0.25rem * 0);
|
|
121
115
|
align-items: center;
|
|
@@ -152,7 +146,7 @@
|
|
|
152
146
|
}
|
|
153
147
|
.nav-switcher-heading .nav-switcher {
|
|
154
148
|
display: flex;
|
|
155
|
-
height:
|
|
149
|
+
height: var(--eq-control-md-height);
|
|
156
150
|
min-height: var(--eq-touch-target);
|
|
157
151
|
width: 100%;
|
|
158
152
|
min-width: calc(0.25rem * 0);
|
|
@@ -247,7 +241,7 @@
|
|
|
247
241
|
background: var(--color-background-overlay);
|
|
248
242
|
}
|
|
249
243
|
.nav-switcher-list:has(.nav-switcher-footer) {
|
|
250
|
-
scroll-padding-bottom:
|
|
244
|
+
scroll-padding-bottom: calc(var(--eq-control-md-height) + calc(0.25rem * 3));
|
|
251
245
|
}
|
|
252
246
|
.nav-switcher-list .nav-switcher-action,
|
|
253
247
|
.nav-switcher-list .nav-switcher-retry {
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
white-space: nowrap;
|
|
23
23
|
}
|
|
24
24
|
.items-per-page-trigger.items-per-page-trigger {
|
|
25
|
-
font-size:
|
|
26
|
-
line-height: var(--tw-leading,
|
|
27
|
-
height:
|
|
25
|
+
font-size: var(--eq-control-sm-font-size);
|
|
26
|
+
line-height: var(--tw-leading,var(--eq-control-sm-line-height));
|
|
27
|
+
height: var(--eq-control-sm-height);
|
|
28
28
|
width: auto;
|
|
29
|
-
padding-inline:
|
|
29
|
+
padding-inline: var(--eq-control-padding-x-condensed);
|
|
30
30
|
padding-block: calc(0.25rem * 0);
|
|
31
31
|
}
|
|
32
32
|
.items-per-page-trigger.items-per-page-trigger:focus-visible {
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
z-index: 10;
|
|
34
34
|
display: flex;
|
|
35
35
|
align-items: center;
|
|
36
|
-
gap:
|
|
36
|
+
gap: var(--eq-control-md-gap);
|
|
37
37
|
height: 100%;
|
|
38
|
-
padding-inline:
|
|
39
|
-
font-size:
|
|
40
|
-
line-height: var(--tw-leading,
|
|
38
|
+
padding-inline: var(--eq-control-padding-x-normal);
|
|
39
|
+
font-size: var(--eq-control-md-font-size);
|
|
40
|
+
line-height: var(--tw-leading,var(--eq-control-md-line-height));
|
|
41
41
|
--tw-font-weight: 500;
|
|
42
42
|
font-weight: 500;
|
|
43
43
|
white-space: nowrap;
|
|
@@ -106,24 +106,30 @@
|
|
|
106
106
|
padding-inline: calc(0.25rem * 0);
|
|
107
107
|
}
|
|
108
108
|
.size--sm {
|
|
109
|
-
height:
|
|
109
|
+
height: var(--eq-control-sm-height);
|
|
110
110
|
}
|
|
111
111
|
.size--sm .segment {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
112
|
+
gap: var(--eq-control-sm-gap);
|
|
113
|
+
padding-inline: var(--eq-control-padding-x-condensed);
|
|
114
|
+
font-size: var(--eq-control-sm-font-size);
|
|
115
|
+
line-height: var(--tw-leading,var(--eq-control-sm-line-height));
|
|
115
116
|
}
|
|
116
117
|
.size--sm .segment--icon-only {
|
|
118
|
+
gap: calc(0.25rem * 0);
|
|
117
119
|
padding-inline: calc(0.25rem * 0);
|
|
118
120
|
}
|
|
119
121
|
.size--md {
|
|
120
|
-
height:
|
|
122
|
+
height: var(--eq-control-md-height);
|
|
121
123
|
}
|
|
122
124
|
.size--lg {
|
|
123
|
-
height:
|
|
125
|
+
height: var(--eq-control-lg-height);
|
|
126
|
+
}
|
|
127
|
+
.size--lg .segment {
|
|
128
|
+
font-size: var(--eq-control-lg-font-size);
|
|
129
|
+
line-height: var(--tw-leading,var(--eq-control-lg-line-height));
|
|
124
130
|
}
|
|
125
131
|
.size--lg .segment:not(.segment--icon-only) {
|
|
126
|
-
padding-inline:
|
|
132
|
+
padding-inline: var(--eq-control-padding-x-spacious);
|
|
127
133
|
}
|
|
128
134
|
.variant--primary {
|
|
129
135
|
--segment-active-fill: var(--color-button-primary-fill);
|
|
@@ -3,11 +3,10 @@
|
|
|
3
3
|
--mix-color: var(--color-border);
|
|
4
4
|
--hover-darken: 12%;
|
|
5
5
|
--hover-lighten: 12%;
|
|
6
|
-
font-size:
|
|
7
|
-
line-height: var(--tw-leading,
|
|
8
|
-
padding-inline:
|
|
9
|
-
|
|
10
|
-
height: calc(0.25rem * 10);
|
|
6
|
+
font-size: var(--eq-control-md-font-size);
|
|
7
|
+
line-height: var(--tw-leading,var(--eq-control-md-line-height));
|
|
8
|
+
padding-inline: var(--eq-control-padding-x-normal);
|
|
9
|
+
height: var(--eq-control-md-height);
|
|
11
10
|
width: 100%;
|
|
12
11
|
border-radius: var(--radius-md, 0.375rem);
|
|
13
12
|
border-style: var(--tw-border-style);
|
|
@@ -17,7 +16,7 @@
|
|
|
17
16
|
display: flex;
|
|
18
17
|
align-items: center;
|
|
19
18
|
justify-content: space-between;
|
|
20
|
-
gap:
|
|
19
|
+
gap: var(--eq-control-md-gap);
|
|
21
20
|
--tw-ring-offset-color: var(--color-background, color(display-p3 1 1 1));
|
|
22
21
|
&:focus-visible {
|
|
23
22
|
--tw-ring-color: var(--color-focus-ring, color(display-p3 0.5242 0.2903 0.7705));
|
|
@@ -225,11 +224,11 @@
|
|
|
225
224
|
&:focus {
|
|
226
225
|
background-color: var(--color-list-item-hover) !important;
|
|
227
226
|
}
|
|
228
|
-
|
|
229
|
-
padding-
|
|
230
|
-
padding-
|
|
227
|
+
min-height: var(--eq-control-md-height);
|
|
228
|
+
padding-inline: var(--eq-control-padding-x-condensed);
|
|
229
|
+
padding-block: calc((var(--eq-control-md-height) - var(--eq-control-md-line-height)) / 2);
|
|
231
230
|
position: relative;
|
|
232
|
-
gap:
|
|
231
|
+
gap: var(--eq-control-md-gap);
|
|
233
232
|
}
|
|
234
233
|
.select-item-indicator {
|
|
235
234
|
display: flex;
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
grid-column: 1 / -1;
|
|
62
62
|
}
|
|
63
63
|
.table-head {
|
|
64
|
-
height:
|
|
64
|
+
height: var(--eq-control-md-height);
|
|
65
65
|
align-content: center;
|
|
66
66
|
text-align: left;
|
|
67
67
|
--tw-font-weight: 500;
|
|
@@ -88,8 +88,9 @@
|
|
|
88
88
|
gap: calc(0.25rem * 4);
|
|
89
89
|
grid-template-columns: subgrid;
|
|
90
90
|
grid-column: 1 / -1;
|
|
91
|
+
min-height: var(--eq-control-md-height);
|
|
91
92
|
padding-inline: calc(0.25rem * 4);
|
|
92
|
-
padding-block: calc(
|
|
93
|
+
padding-block: calc((var(--eq-control-md-height) - var(--eq-control-md-line-height)) / 2);
|
|
93
94
|
}
|
|
94
95
|
.table-body .table-row:nth-child(even) {
|
|
95
96
|
background-color: color-mix(in srgb, color(display-p3 0 0 0) 3%, transparent);
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */
|
|
2
2
|
.tabs-list {
|
|
3
3
|
color: var(--color-text-secondary, color(display-p3 0.1792 0.1792 0.1792));
|
|
4
|
-
height:
|
|
5
|
-
min-height: calc(0.25rem * 10);
|
|
4
|
+
height: var(--eq-control-md-height);
|
|
6
5
|
display: flex;
|
|
7
6
|
align-items: center;
|
|
8
7
|
}
|
|
@@ -21,8 +20,9 @@
|
|
|
21
20
|
@media (prefers-reduced-motion: reduce) {
|
|
22
21
|
transition-property: none;
|
|
23
22
|
}
|
|
24
|
-
|
|
25
|
-
padding-
|
|
23
|
+
align-self: stretch;
|
|
24
|
+
padding-inline: var(--eq-control-padding-x-normal);
|
|
25
|
+
padding-block: calc(0.25rem * 0);
|
|
26
26
|
font-size: 1.125rem;
|
|
27
27
|
line-height: var(--tw-leading, calc(1.75 / 1.125));
|
|
28
28
|
--tw-font-weight: 500;
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
}
|
|
41
41
|
.tabs-trigger--filled {
|
|
42
42
|
width: 100%;
|
|
43
|
-
padding-inline:
|
|
44
|
-
padding-block: calc(0.25rem *
|
|
43
|
+
padding-inline: var(--eq-control-padding-x-normal);
|
|
44
|
+
padding-block: calc(0.25rem * 0);
|
|
45
45
|
color: var(--color-text-secondary, color(display-p3 0.1792 0.1792 0.1792));
|
|
46
46
|
&::before {
|
|
47
47
|
content: '';
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
========================================================= */
|
|
8
8
|
|
|
9
9
|
.root {
|
|
10
|
-
/* list-item: one selectable row
|
|
11
|
-
--eq-list-item-height: --spacing(9); /* 36 */
|
|
12
|
-
--eq-list-item-padding-x: --spacing(2); /* 8 */
|
|
13
|
-
--eq-list-item-gap: --spacing(2); /* 8, icon to text */
|
|
10
|
+
/* list-item: one selectable row */
|
|
11
|
+
--eq-list-item-height: --spacing(9); /* 36. Deprecated: use --eq-control-md-height */
|
|
12
|
+
--eq-list-item-padding-x: --spacing(2); /* 8. Deprecated: use --eq-control-padding-x-condensed */
|
|
13
|
+
--eq-list-item-gap: --spacing(2); /* 8, icon to text. Deprecated: use --eq-control-md-gap */
|
|
14
14
|
--eq-list-item-icon-size: --spacing(4); /* 16 */
|
|
15
|
-
--eq-list-item-font-size: --theme(--text-sm); /* 14 */
|
|
15
|
+
--eq-list-item-font-size: --theme(--text-sm); /* 14. Deprecated: use --eq-control-md-font-size */
|
|
16
16
|
--eq-list-item-muted-color: var(--color-text-tertiary);
|
|
17
17
|
/* list: the rows together */
|
|
18
18
|
--eq-list-gap: --spacing(0.5); /* 2, between items */
|
|
@@ -33,7 +33,23 @@
|
|
|
33
33
|
var(--color-text-secondary)
|
|
34
34
|
);
|
|
35
35
|
/* control: a stand-alone element */
|
|
36
|
-
--eq-control-height: --spacing(
|
|
36
|
+
--eq-control-xs-height: --spacing(6); /* 24 */
|
|
37
|
+
--eq-control-sm-height: --spacing(7); /* 28 */
|
|
38
|
+
--eq-control-md-height: --spacing(9); /* 36 */
|
|
39
|
+
--eq-control-lg-height: --spacing(11); /* 44 */
|
|
40
|
+
/* Font size and line height change together: line heights are lengths, not ratios of the size. */
|
|
41
|
+
--eq-control-sm-font-size: --theme(--text-xs); /* 12 */
|
|
42
|
+
--eq-control-sm-line-height: --spacing(4); /* 16 */
|
|
43
|
+
--eq-control-md-font-size: --theme(--text-sm); /* 14 */
|
|
44
|
+
--eq-control-md-line-height: --spacing(5); /* 20 */
|
|
45
|
+
--eq-control-lg-font-size: --theme(--text-base); /* 16 */
|
|
46
|
+
--eq-control-lg-line-height: --spacing(6); /* 24 */
|
|
47
|
+
--eq-control-padding-x-condensed: --spacing(2); /* 8 */
|
|
48
|
+
--eq-control-padding-x-normal: --spacing(3); /* 12 */
|
|
49
|
+
--eq-control-padding-x-spacious: --spacing(4); /* 16 */
|
|
50
|
+
--eq-control-sm-gap: --spacing(1.5); /* 6, icon to text */
|
|
51
|
+
--eq-control-md-gap: --spacing(2); /* 8, icon to text */
|
|
52
|
+
--eq-control-lg-gap: --spacing(2); /* 8, icon to text */
|
|
37
53
|
/* touch: the minimum tap target */
|
|
38
54
|
--eq-touch-target: 0px;
|
|
39
55
|
|
package/dist/theme-decisions.css
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
changes every component's compiled CSS. */
|
|
3
3
|
/* Never read var(--spacing) or var(--text-*) here: the theme is inline, so consumer builds leave them undefined. */
|
|
4
4
|
|
|
5
|
-
/* DECISIONS: Equality's names, --eq-{thing}-{property}. Parts read only these: h-(--eq-
|
|
5
|
+
/* DECISIONS: Equality's names, --eq-{thing}-{property}. Parts read only these: h-(--eq-control-md-height).
|
|
6
6
|
theme-decisions-scoped.css is generated from this file: run `pnpm build:decisions` after
|
|
7
7
|
changing it, or tests/theme-css.test.ts fails. */
|
|
8
8
|
html {
|
|
9
|
-
/* list-item: one selectable row
|
|
10
|
-
--eq-list-item-height: --spacing(9); /* 36 */
|
|
11
|
-
--eq-list-item-padding-x: --spacing(2); /* 8 */
|
|
12
|
-
--eq-list-item-gap: --spacing(2); /* 8, icon to text */
|
|
9
|
+
/* list-item: one selectable row */
|
|
10
|
+
--eq-list-item-height: --spacing(9); /* 36. Deprecated: use --eq-control-md-height */
|
|
11
|
+
--eq-list-item-padding-x: --spacing(2); /* 8. Deprecated: use --eq-control-padding-x-condensed */
|
|
12
|
+
--eq-list-item-gap: --spacing(2); /* 8, icon to text. Deprecated: use --eq-control-md-gap */
|
|
13
13
|
--eq-list-item-icon-size: --spacing(4); /* 16 */
|
|
14
|
-
--eq-list-item-font-size: --theme(--text-sm); /* 14 */
|
|
14
|
+
--eq-list-item-font-size: --theme(--text-sm); /* 14. Deprecated: use --eq-control-md-font-size */
|
|
15
15
|
--eq-list-item-muted-color: var(--color-text-tertiary);
|
|
16
16
|
/* list: the rows together */
|
|
17
17
|
--eq-list-gap: --spacing(0.5); /* 2, between items */
|
|
@@ -32,7 +32,23 @@ html {
|
|
|
32
32
|
var(--color-text-secondary)
|
|
33
33
|
);
|
|
34
34
|
/* control: a stand-alone element */
|
|
35
|
-
--eq-control-height: --spacing(
|
|
35
|
+
--eq-control-xs-height: --spacing(6); /* 24 */
|
|
36
|
+
--eq-control-sm-height: --spacing(7); /* 28 */
|
|
37
|
+
--eq-control-md-height: --spacing(9); /* 36 */
|
|
38
|
+
--eq-control-lg-height: --spacing(11); /* 44 */
|
|
39
|
+
/* Font size and line height change together: line heights are lengths, not ratios of the size. */
|
|
40
|
+
--eq-control-sm-font-size: --theme(--text-xs); /* 12 */
|
|
41
|
+
--eq-control-sm-line-height: --spacing(4); /* 16 */
|
|
42
|
+
--eq-control-md-font-size: --theme(--text-sm); /* 14 */
|
|
43
|
+
--eq-control-md-line-height: --spacing(5); /* 20 */
|
|
44
|
+
--eq-control-lg-font-size: --theme(--text-base); /* 16 */
|
|
45
|
+
--eq-control-lg-line-height: --spacing(6); /* 24 */
|
|
46
|
+
--eq-control-padding-x-condensed: --spacing(2); /* 8 */
|
|
47
|
+
--eq-control-padding-x-normal: --spacing(3); /* 12 */
|
|
48
|
+
--eq-control-padding-x-spacious: --spacing(4); /* 16 */
|
|
49
|
+
--eq-control-sm-gap: --spacing(1.5); /* 6, icon to text */
|
|
50
|
+
--eq-control-md-gap: --spacing(2); /* 8, icon to text */
|
|
51
|
+
--eq-control-lg-gap: --spacing(2); /* 8, icon to text */
|
|
36
52
|
/* touch: the minimum tap target */
|
|
37
53
|
--eq-touch-target: 0px;
|
|
38
54
|
|
package/dist/theme-utilities.css
CHANGED
|
@@ -6,6 +6,10 @@
|
|
|
6
6
|
@apply focus-visible:outline-none;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
+
@utility control-row-padding {
|
|
10
|
+
padding-block: calc((var(--eq-control-md-height) - var(--eq-control-md-line-height)) / 2);
|
|
11
|
+
}
|
|
12
|
+
|
|
9
13
|
@utility control-track {
|
|
10
14
|
@apply border-control-edge dark:border-control-edge-dark border;
|
|
11
15
|
@apply inset-shadow-control-sunken dark:inset-shadow-control-sunken-dark;
|
|
@@ -295,6 +295,9 @@
|
|
|
295
295
|
.table-row {
|
|
296
296
|
display: table-row;
|
|
297
297
|
}
|
|
298
|
+
.h-\(--eq-control-md-height\) {
|
|
299
|
+
height: var(--eq-control-md-height);
|
|
300
|
+
}
|
|
298
301
|
.w-56 {
|
|
299
302
|
width: calc(0.25rem * 56);
|
|
300
303
|
}
|
|
@@ -927,7 +930,22 @@
|
|
|
927
930
|
var(--color-text-primary),
|
|
928
931
|
var(--color-text-secondary)
|
|
929
932
|
);
|
|
930
|
-
--eq-control-height: calc(0.25rem *
|
|
933
|
+
--eq-control-xs-height: calc(0.25rem * 6);
|
|
934
|
+
--eq-control-sm-height: calc(0.25rem * 7);
|
|
935
|
+
--eq-control-md-height: calc(0.25rem * 9);
|
|
936
|
+
--eq-control-lg-height: calc(0.25rem * 11);
|
|
937
|
+
--eq-control-sm-font-size: 0.75rem;
|
|
938
|
+
--eq-control-sm-line-height: calc(0.25rem * 4);
|
|
939
|
+
--eq-control-md-font-size: 0.875rem;
|
|
940
|
+
--eq-control-md-line-height: calc(0.25rem * 5);
|
|
941
|
+
--eq-control-lg-font-size: 1rem;
|
|
942
|
+
--eq-control-lg-line-height: calc(0.25rem * 6);
|
|
943
|
+
--eq-control-padding-x-condensed: calc(0.25rem * 2);
|
|
944
|
+
--eq-control-padding-x-normal: calc(0.25rem * 3);
|
|
945
|
+
--eq-control-padding-x-spacious: calc(0.25rem * 4);
|
|
946
|
+
--eq-control-sm-gap: calc(0.25rem * 1.5);
|
|
947
|
+
--eq-control-md-gap: calc(0.25rem * 2);
|
|
948
|
+
--eq-control-lg-gap: calc(0.25rem * 2);
|
|
931
949
|
--eq-touch-target: 0px;
|
|
932
950
|
--color-list-item-current: color-mix(in srgb, color(display-p3 0 0 0) 10%, transparent);
|
|
933
951
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
height: calc(0.25rem * 3);
|
|
35
35
|
}
|
|
36
36
|
.timeline--md .timeline-marker {
|
|
37
|
-
width:
|
|
38
|
-
height:
|
|
37
|
+
width: var(--eq-control-md-height);
|
|
38
|
+
height: var(--eq-control-md-height);
|
|
39
39
|
}
|
|
40
40
|
.timeline--md .timeline-marker > * {
|
|
41
41
|
width: calc(0.25rem * 5);
|