@eqtylab/equality 2.5.0 → 3.0.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/dist/global-theme-config.css +9 -1
- package/dist/index.cjs +13 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +13 -4
- package/dist/index.js.map +1 -1
- package/dist/theme-preflight-global.css +229 -222
- package/dist/theme-preflight-scoped.css +229 -223
- package/dist/theme.module.css +1 -1
- package/dist/theme.module.module.css.module.css +37 -37
- package/package.json +6 -3
|
@@ -1,258 +1,265 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
/* =========================================================
|
|
2
|
+
GLOBAL PREFLIGHT — GENERATED FILE, DO NOT EDIT
|
|
3
|
+
|
|
4
|
+
Generated from `theme-preflight-scoped.css` by
|
|
5
|
+
`src/scripts/build-preflight.js`. Edit that file instead, then run
|
|
6
|
+
`pnpm build:preflight`.
|
|
7
|
+
|
|
8
|
+
Deliberately carries no `@layer` wrapper: the importer assigns the layer,
|
|
9
|
+
so a consumer can place the reset wherever their cascade needs it.
|
|
10
|
+
|
|
11
|
+
@import '@eqtylab/equality/preflight.css' layer(base);
|
|
12
|
+
========================================================= */
|
|
13
|
+
|
|
14
|
+
/* 1) Box model + resets + border-color */
|
|
15
|
+
html,
|
|
16
|
+
html *,
|
|
17
|
+
html ::after,
|
|
18
|
+
html ::before,
|
|
19
|
+
html ::backdrop,
|
|
20
|
+
html ::file-selector-button {
|
|
21
|
+
box-sizing: border-box;
|
|
22
|
+
margin: 0;
|
|
23
|
+
padding: 0;
|
|
24
|
+
border: 0 solid;
|
|
25
|
+
border-color: var(--color-border);
|
|
26
|
+
}
|
|
19
27
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
28
|
+
/* Cursor for buttons */
|
|
29
|
+
html button {
|
|
30
|
+
cursor: pointer;
|
|
31
|
+
}
|
|
24
32
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
/* Typography + platform defaults */
|
|
34
|
+
html {
|
|
35
|
+
line-height: 1.5;
|
|
36
|
+
-webkit-text-size-adjust: 100%;
|
|
37
|
+
tab-size: 4;
|
|
38
|
+
font-family: var(--font-sans);
|
|
39
|
+
-webkit-tap-highlight-color: transparent;
|
|
40
|
+
font-synthesis: none;
|
|
41
|
+
text-rendering: optimizeLegibility;
|
|
42
|
+
-webkit-font-smoothing: antialiased;
|
|
43
|
+
-moz-osx-font-smoothing: grayscale;
|
|
44
|
+
}
|
|
37
45
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
46
|
+
/* Horizontal rule */
|
|
47
|
+
html hr {
|
|
48
|
+
height: 0;
|
|
49
|
+
color: inherit;
|
|
50
|
+
border-top-width: 1px;
|
|
51
|
+
}
|
|
44
52
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
53
|
+
/* Abbr */
|
|
54
|
+
html abbr:where([title]) {
|
|
55
|
+
-webkit-text-decoration: underline dotted;
|
|
56
|
+
text-decoration: underline dotted;
|
|
57
|
+
}
|
|
50
58
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
/* Headings reset */
|
|
60
|
+
html h1,
|
|
61
|
+
html h2,
|
|
62
|
+
html h3,
|
|
63
|
+
html h4,
|
|
64
|
+
html h5,
|
|
65
|
+
html h6 {
|
|
66
|
+
font-size: inherit;
|
|
67
|
+
font-weight: inherit;
|
|
68
|
+
}
|
|
61
69
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
70
|
+
/* Links */
|
|
71
|
+
html a {
|
|
72
|
+
color: inherit;
|
|
73
|
+
-webkit-text-decoration: inherit;
|
|
74
|
+
text-decoration: inherit;
|
|
75
|
+
}
|
|
68
76
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
77
|
+
/* Strong */
|
|
78
|
+
html b,
|
|
79
|
+
html strong {
|
|
80
|
+
font-weight: bolder;
|
|
81
|
+
}
|
|
74
82
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
+
/* Code fonts */
|
|
84
|
+
html code,
|
|
85
|
+
html kbd,
|
|
86
|
+
html samp,
|
|
87
|
+
html pre {
|
|
88
|
+
font-family: var(--font-mono), monospace;
|
|
89
|
+
font-size: 1em;
|
|
90
|
+
}
|
|
83
91
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
92
|
+
/* Small */
|
|
93
|
+
html small {
|
|
94
|
+
font-size: 80%;
|
|
95
|
+
}
|
|
88
96
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
97
|
+
/* Sub/Sup */
|
|
98
|
+
html sub,
|
|
99
|
+
html sup {
|
|
100
|
+
font-size: 75%;
|
|
101
|
+
line-height: 0;
|
|
102
|
+
position: relative;
|
|
103
|
+
vertical-align: baseline;
|
|
104
|
+
}
|
|
105
|
+
html sub {
|
|
106
|
+
bottom: -0.25em;
|
|
107
|
+
}
|
|
108
|
+
html sup {
|
|
109
|
+
top: -0.5em;
|
|
110
|
+
}
|
|
103
111
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
112
|
+
/* Tables */
|
|
113
|
+
html table {
|
|
114
|
+
text-indent: 0;
|
|
115
|
+
border-color: inherit;
|
|
116
|
+
border-collapse: collapse;
|
|
117
|
+
}
|
|
110
118
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
119
|
+
/* Firefox focus */
|
|
120
|
+
html :-moz-focusring {
|
|
121
|
+
outline: auto;
|
|
122
|
+
}
|
|
115
123
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
124
|
+
/* Progress baseline */
|
|
125
|
+
html progress {
|
|
126
|
+
vertical-align: baseline;
|
|
127
|
+
}
|
|
120
128
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
129
|
+
/* Summary display */
|
|
130
|
+
html summary {
|
|
131
|
+
display: list-item;
|
|
132
|
+
}
|
|
125
133
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
134
|
+
/* Lists unstyled */
|
|
135
|
+
html ol,
|
|
136
|
+
html ul,
|
|
137
|
+
html menu {
|
|
138
|
+
list-style: none;
|
|
139
|
+
}
|
|
132
140
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
141
|
+
/* Replaced elements */
|
|
142
|
+
html img,
|
|
143
|
+
html svg,
|
|
144
|
+
html video,
|
|
145
|
+
html canvas,
|
|
146
|
+
html audio,
|
|
147
|
+
html iframe,
|
|
148
|
+
html embed,
|
|
149
|
+
html object {
|
|
150
|
+
display: block;
|
|
151
|
+
vertical-align: middle;
|
|
152
|
+
}
|
|
145
153
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
154
|
+
/* Media constraints */
|
|
155
|
+
html img,
|
|
156
|
+
html video {
|
|
157
|
+
max-width: 100%;
|
|
158
|
+
height: auto;
|
|
159
|
+
}
|
|
152
160
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
161
|
+
/* Form element normalizations */
|
|
162
|
+
html button,
|
|
163
|
+
html input,
|
|
164
|
+
html select,
|
|
165
|
+
html optgroup,
|
|
166
|
+
html textarea,
|
|
167
|
+
html ::file-selector-button {
|
|
168
|
+
font: inherit;
|
|
169
|
+
font-feature-settings: inherit;
|
|
170
|
+
font-variation-settings: inherit;
|
|
171
|
+
letter-spacing: inherit;
|
|
172
|
+
color: inherit;
|
|
173
|
+
border-radius: 0;
|
|
174
|
+
background-color: transparent;
|
|
175
|
+
opacity: 1;
|
|
176
|
+
}
|
|
169
177
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
178
|
+
/* Select optgroup weight */
|
|
179
|
+
html :where(select:is([multiple], [size])) optgroup {
|
|
180
|
+
font-weight: bolder;
|
|
181
|
+
}
|
|
174
182
|
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
183
|
+
/* Select optgroup option indent */
|
|
184
|
+
html :where(select:is([multiple], [size])) optgroup option {
|
|
185
|
+
padding-inline-start: 20px;
|
|
186
|
+
}
|
|
179
187
|
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
188
|
+
/* File button spacing */
|
|
189
|
+
html ::file-selector-button {
|
|
190
|
+
margin-inline-end: 4px;
|
|
191
|
+
}
|
|
184
192
|
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
193
|
+
/* Placeholder */
|
|
194
|
+
html ::placeholder {
|
|
195
|
+
opacity: 1;
|
|
196
|
+
}
|
|
189
197
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
}
|
|
198
|
+
@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
|
|
199
|
+
html ::placeholder {
|
|
200
|
+
color: color-mix(in oklab, currentcolor 50%, transparent);
|
|
194
201
|
}
|
|
202
|
+
}
|
|
195
203
|
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
204
|
+
/* Textarea resize */
|
|
205
|
+
html textarea {
|
|
206
|
+
resize: vertical;
|
|
207
|
+
}
|
|
200
208
|
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
209
|
+
/* WebKit search decoration */
|
|
210
|
+
html ::-webkit-search-decoration {
|
|
211
|
+
-webkit-appearance: none;
|
|
212
|
+
}
|
|
205
213
|
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
214
|
+
/* iOS date/time */
|
|
215
|
+
html ::-webkit-date-and-time-value {
|
|
216
|
+
min-height: 1lh;
|
|
217
|
+
text-align: inherit;
|
|
218
|
+
}
|
|
211
219
|
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
220
|
+
html ::-webkit-datetime-edit {
|
|
221
|
+
display: inline-flex;
|
|
222
|
+
}
|
|
215
223
|
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
224
|
+
html ::-webkit-datetime-edit-fields-wrapper {
|
|
225
|
+
padding: 0;
|
|
226
|
+
}
|
|
219
227
|
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
228
|
+
html ::-webkit-datetime-edit,
|
|
229
|
+
html ::-webkit-datetime-edit-year-field,
|
|
230
|
+
html ::-webkit-datetime-edit-month-field,
|
|
231
|
+
html ::-webkit-datetime-edit-day-field,
|
|
232
|
+
html ::-webkit-datetime-edit-hour-field,
|
|
233
|
+
html ::-webkit-datetime-edit-minute-field,
|
|
234
|
+
html ::-webkit-datetime-edit-second-field,
|
|
235
|
+
html ::-webkit-datetime-edit-millisecond-field,
|
|
236
|
+
html ::-webkit-datetime-edit-meridiem-field {
|
|
237
|
+
padding-block: 0;
|
|
238
|
+
}
|
|
231
239
|
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
240
|
+
html ::-webkit-calendar-picker-indicator {
|
|
241
|
+
line-height: 1;
|
|
242
|
+
}
|
|
235
243
|
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
244
|
+
/* Firefox invalid */
|
|
245
|
+
html :-moz-ui-invalid {
|
|
246
|
+
box-shadow: none;
|
|
247
|
+
}
|
|
240
248
|
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
249
|
+
/* Button appearances */
|
|
250
|
+
html button,
|
|
251
|
+
html input:where([type='button'], [type='reset'], [type='submit']),
|
|
252
|
+
html ::file-selector-button {
|
|
253
|
+
appearance: button;
|
|
254
|
+
}
|
|
247
255
|
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
256
|
+
/* Safari spin buttons */
|
|
257
|
+
html ::-webkit-inner-spin-button,
|
|
258
|
+
html ::-webkit-outer-spin-button {
|
|
259
|
+
height: auto;
|
|
260
|
+
}
|
|
253
261
|
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
}
|
|
262
|
+
/* Hidden */
|
|
263
|
+
html [hidden]:where(:not([hidden='until-found'])) {
|
|
264
|
+
display: none !important;
|
|
258
265
|
}
|