@eqtylab/equality 0.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/LICENSE +190 -0
- package/dist/alert-dialog.module.module.css.module.css +275 -0
- package/dist/alert.module.module.css.module.css +112 -0
- package/dist/avatar.module.module.css.module.css +119 -0
- package/dist/badge.module.module.css.module.css +141 -0
- package/dist/bg-gradient.module.module.css.module.css +7 -0
- package/dist/button.module.module.css.module.css +253 -0
- package/dist/card-content-header.module.module.css.module.css +27 -0
- package/dist/card.module.module.css.module.css +246 -0
- package/dist/checkbox.module.module.css.module.css +124 -0
- package/dist/code-block.module.module.css.module.css +100 -0
- package/dist/command.module.module.css.module.css +210 -0
- package/dist/control-status-badge.module.module.css.module.css +49 -0
- package/dist/date-range-picker.module.module.css.module.css +147 -0
- package/dist/dialog.module.module.css.module.css +300 -0
- package/dist/display-field.module.module.css.module.css +250 -0
- package/dist/drawer.module.module.css.module.css +202 -0
- package/dist/dropdown-menu.module.module.css.module.css +271 -0
- package/dist/empty-table-state.module.module.css.module.css +34 -0
- package/dist/filter-dropdown.module.module.css.module.css +18 -0
- package/dist/form.module.module.css.module.css +35 -0
- package/dist/generated/color-vars.css +354 -0
- package/dist/generated/dark-tokens.css +105 -0
- package/dist/generated/global-dark-tokens.css +105 -0
- package/dist/generated/global-light-tokens.css +254 -0
- package/dist/generated/light-tokens.css +254 -0
- package/dist/generated/tailwind-tokens.css +252 -0
- package/dist/global-theme-config.css +15 -0
- package/dist/heading.module.module.css.module.css +41 -0
- package/dist/icon-button.module.module.css.module.css +196 -0
- package/dist/icon.module.module.css.module.css +155 -0
- package/dist/index.cjs +3419 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +819 -0
- package/dist/index.d.ts +819 -0
- package/dist/index.js +3134 -0
- package/dist/index.js.map +1 -0
- package/dist/info-card.module.module.css.module.css +25 -0
- package/dist/input.module.module.css.module.css +231 -0
- package/dist/label.module.module.css.module.css +23 -0
- package/dist/list-or-grid-view-toggle.module.module.css.module.css +52 -0
- package/dist/loading-overlay.module.module.css.module.css +151 -0
- package/dist/metric-card.module.module.css.module.css +171 -0
- package/dist/motion-collapsible.module.module.css.module.css +4 -0
- package/dist/page-not-found.module.module.css.module.css +71 -0
- package/dist/pagination.module.module.css.module.css +21 -0
- package/dist/panel-label.module.module.css.module.css +17 -0
- package/dist/popover.module.module.css.module.css +136 -0
- package/dist/progress.module.module.css.module.css +32 -0
- package/dist/radial-graph.module.module.css.module.css +223 -0
- package/dist/radio-dropdown.module.module.css.module.css +16 -0
- package/dist/radio-group.module.module.css.module.css +118 -0
- package/dist/resource-badge.module.module.css.module.css +77 -0
- package/dist/scripts.cjs +116 -0
- package/dist/scripts.cjs.map +1 -0
- package/dist/scripts.d.cts +5 -0
- package/dist/scripts.d.ts +5 -0
- package/dist/scripts.js +114 -0
- package/dist/scripts.js.map +1 -0
- package/dist/scroll-area.module.module.css.module.css +46 -0
- package/dist/search-bar.module.module.css.module.css +9 -0
- package/dist/section-heading.module.module.css.module.css +42 -0
- package/dist/select.module.module.css.module.css +362 -0
- package/dist/separator.module.module.css.module.css +13 -0
- package/dist/sheet.module.module.css.module.css +377 -0
- package/dist/skeleton.module.module.css.module.css +11 -0
- package/dist/sort-button.module.module.css.module.css +42 -0
- package/dist/sort-selector.module.module.css.module.css +11 -0
- package/dist/spinner.module.module.css.module.css +82 -0
- package/dist/switch.module.module.css.module.css +226 -0
- package/dist/table-components.module.module.css.module.css +116 -0
- package/dist/table.module.module.css.module.css +145 -0
- package/dist/tabs-components.module.module.css.module.css +136 -0
- package/dist/tabs.module.module.css.module.css +139 -0
- package/dist/textarea.module.module.css.module.css +115 -0
- package/dist/theme/lib/utils.cjs +125 -0
- package/dist/theme/lib/utils.cjs.map +1 -0
- package/dist/theme/lib/utils.d.cts +26 -0
- package/dist/theme/lib/utils.d.ts +26 -0
- package/dist/theme/lib/utils.js +110 -0
- package/dist/theme/lib/utils.js.map +1 -0
- package/dist/theme-base.css +51 -0
- package/dist/theme-components.css +27 -0
- package/dist/theme-preflight-global.css +260 -0
- package/dist/theme-preflight-scoped.css +261 -0
- package/dist/theme-utilities.css +54 -0
- package/dist/theme.module.css +15 -0
- package/dist/theme.module.module.css.module.css +978 -0
- package/dist/toast-components.module.module.css.module.css +393 -0
- package/dist/toast.module.module.css.module.css +11 -0
- package/dist/tokens.css +3 -0
- package/dist/tooltip.module.module.css.module.css +139 -0
- package/dist/truncated-description.module.module.css.module.css +15 -0
- package/package.json +101 -0
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
@layer base {
|
|
2
|
+
/* =========================================================
|
|
3
|
+
GLOBAL PREFLIGHT (kept intact)
|
|
4
|
+
========================================================= */
|
|
5
|
+
|
|
6
|
+
/* 1) Box model + resets + border-color */
|
|
7
|
+
html,
|
|
8
|
+
html *,
|
|
9
|
+
html ::after,
|
|
10
|
+
html ::before,
|
|
11
|
+
html ::backdrop,
|
|
12
|
+
html ::file-selector-button {
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
margin: 0;
|
|
15
|
+
padding: 0;
|
|
16
|
+
border: 0 solid;
|
|
17
|
+
border-color: var(--color-border);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/* Cursor for buttons */
|
|
21
|
+
html button {
|
|
22
|
+
cursor: pointer;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* Typography + platform defaults */
|
|
26
|
+
html {
|
|
27
|
+
line-height: 1.5;
|
|
28
|
+
-webkit-text-size-adjust: 100%;
|
|
29
|
+
tab-size: 4;
|
|
30
|
+
font-family: var(--font-sans);
|
|
31
|
+
-webkit-tap-highlight-color: transparent;
|
|
32
|
+
font-synthesis: none;
|
|
33
|
+
text-rendering: optimizeLegibility;
|
|
34
|
+
-webkit-font-smoothing: antialiased;
|
|
35
|
+
-moz-osx-font-smoothing: grayscale;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/* Horizontal rule */
|
|
39
|
+
html hr {
|
|
40
|
+
height: 0;
|
|
41
|
+
color: inherit;
|
|
42
|
+
border-top-width: 1px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/* Abbr */
|
|
46
|
+
html abbr:where([title]) {
|
|
47
|
+
-webkit-text-decoration: underline dotted;
|
|
48
|
+
text-decoration: underline dotted;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/* Headings reset */
|
|
52
|
+
html h1,
|
|
53
|
+
html h2,
|
|
54
|
+
html h3,
|
|
55
|
+
html h4,
|
|
56
|
+
html h5,
|
|
57
|
+
html h6 {
|
|
58
|
+
font-size: inherit;
|
|
59
|
+
font-weight: inherit;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/* Links */
|
|
63
|
+
html a {
|
|
64
|
+
color: inherit;
|
|
65
|
+
-webkit-text-decoration: inherit;
|
|
66
|
+
text-decoration: inherit;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/* Strong */
|
|
70
|
+
html b,
|
|
71
|
+
html strong {
|
|
72
|
+
font-weight: bolder;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/* Code fonts */
|
|
76
|
+
html code,
|
|
77
|
+
html kbd,
|
|
78
|
+
html samp,
|
|
79
|
+
html pre {
|
|
80
|
+
font-family:
|
|
81
|
+
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
|
|
82
|
+
monospace;
|
|
83
|
+
font-size: 1em;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/* Small */
|
|
87
|
+
html small {
|
|
88
|
+
font-size: 80%;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/* Sub/Sup */
|
|
92
|
+
html sub,
|
|
93
|
+
html sup {
|
|
94
|
+
font-size: 75%;
|
|
95
|
+
line-height: 0;
|
|
96
|
+
position: relative;
|
|
97
|
+
vertical-align: baseline;
|
|
98
|
+
}
|
|
99
|
+
html sub {
|
|
100
|
+
bottom: -0.25em;
|
|
101
|
+
}
|
|
102
|
+
html sup {
|
|
103
|
+
top: -0.5em;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/* Tables */
|
|
107
|
+
html table {
|
|
108
|
+
text-indent: 0;
|
|
109
|
+
border-color: inherit;
|
|
110
|
+
border-collapse: collapse;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/* Firefox focus */
|
|
114
|
+
html :-moz-focusring {
|
|
115
|
+
outline: auto;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/* Progress baseline */
|
|
119
|
+
html progress {
|
|
120
|
+
vertical-align: baseline;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/* Summary display */
|
|
124
|
+
html summary {
|
|
125
|
+
display: list-item;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/* Lists unstyled */
|
|
129
|
+
html ol,
|
|
130
|
+
html ul,
|
|
131
|
+
html menu {
|
|
132
|
+
list-style: none;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/* Replaced elements */
|
|
136
|
+
html img,
|
|
137
|
+
html svg,
|
|
138
|
+
html video,
|
|
139
|
+
html canvas,
|
|
140
|
+
html audio,
|
|
141
|
+
html iframe,
|
|
142
|
+
html embed,
|
|
143
|
+
html object {
|
|
144
|
+
display: block;
|
|
145
|
+
vertical-align: middle;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/* Media constraints */
|
|
149
|
+
html img,
|
|
150
|
+
html video {
|
|
151
|
+
max-width: 100%;
|
|
152
|
+
height: auto;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/* Form element normalizations */
|
|
156
|
+
html button,
|
|
157
|
+
html input,
|
|
158
|
+
html select,
|
|
159
|
+
html optgroup,
|
|
160
|
+
html textarea,
|
|
161
|
+
html ::file-selector-button {
|
|
162
|
+
font: inherit;
|
|
163
|
+
font-feature-settings: inherit;
|
|
164
|
+
font-variation-settings: inherit;
|
|
165
|
+
letter-spacing: inherit;
|
|
166
|
+
color: inherit;
|
|
167
|
+
border-radius: 0;
|
|
168
|
+
background-color: transparent;
|
|
169
|
+
opacity: 1;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/* Select optgroup weight */
|
|
173
|
+
html :where(select:is([multiple], [size])) optgroup {
|
|
174
|
+
font-weight: bolder;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/* Select optgroup option indent */
|
|
178
|
+
html :where(select:is([multiple], [size])) optgroup option {
|
|
179
|
+
padding-inline-start: 20px;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/* File button spacing */
|
|
183
|
+
html ::file-selector-button {
|
|
184
|
+
margin-inline-end: 4px;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/* Placeholder */
|
|
188
|
+
html ::placeholder {
|
|
189
|
+
opacity: 1;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
|
|
193
|
+
html ::placeholder {
|
|
194
|
+
color: color-mix(in oklab, currentcolor 50%, transparent);
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/* Textarea resize */
|
|
199
|
+
html textarea {
|
|
200
|
+
resize: vertical;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/* WebKit search decoration */
|
|
204
|
+
html ::-webkit-search-decoration {
|
|
205
|
+
-webkit-appearance: none;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
/* iOS date/time */
|
|
209
|
+
html ::-webkit-date-and-time-value {
|
|
210
|
+
min-height: 1lh;
|
|
211
|
+
text-align: inherit;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
html ::-webkit-datetime-edit {
|
|
215
|
+
display: inline-flex;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
html ::-webkit-datetime-edit-fields-wrapper {
|
|
219
|
+
padding: 0;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
html ::-webkit-datetime-edit,
|
|
223
|
+
html ::-webkit-datetime-edit-year-field,
|
|
224
|
+
html ::-webkit-datetime-edit-month-field,
|
|
225
|
+
html ::-webkit-datetime-edit-day-field,
|
|
226
|
+
html ::-webkit-datetime-edit-hour-field,
|
|
227
|
+
html ::-webkit-datetime-edit-minute-field,
|
|
228
|
+
html ::-webkit-datetime-edit-second-field,
|
|
229
|
+
html ::-webkit-datetime-edit-millisecond-field,
|
|
230
|
+
html ::-webkit-datetime-edit-meridiem-field {
|
|
231
|
+
padding-block: 0;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
html ::-webkit-calendar-picker-indicator {
|
|
235
|
+
line-height: 1;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
/* Firefox invalid */
|
|
239
|
+
html :-moz-ui-invalid {
|
|
240
|
+
box-shadow: none;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
/* Button appearances */
|
|
244
|
+
html button,
|
|
245
|
+
html input:where([type='button'], [type='reset'], [type='submit']),
|
|
246
|
+
html ::file-selector-button {
|
|
247
|
+
appearance: button;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
/* Safari spin buttons */
|
|
251
|
+
html ::-webkit-inner-spin-button,
|
|
252
|
+
html ::-webkit-outer-spin-button {
|
|
253
|
+
height: auto;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
/* Hidden */
|
|
257
|
+
html [hidden]:where(:not([hidden='until-found'])) {
|
|
258
|
+
display: none !important;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
@layer base {
|
|
2
|
+
/* =========================================================
|
|
3
|
+
SCOPED PREFLIGHT (kept intact; selectors retargeted)
|
|
4
|
+
========================================================= */
|
|
5
|
+
|
|
6
|
+
/* 1) Box model + resets + border-color */
|
|
7
|
+
:global(#equality-theme-provider-root),
|
|
8
|
+
:global(#equality-theme-provider-root) *,
|
|
9
|
+
:global(#equality-theme-provider-root) ::after,
|
|
10
|
+
:global(#equality-theme-provider-root) ::before,
|
|
11
|
+
:global(#equality-theme-provider-root) ::backdrop,
|
|
12
|
+
:global(#equality-theme-provider-root) ::file-selector-button {
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
margin: 0;
|
|
15
|
+
padding: 0;
|
|
16
|
+
border: 0 solid;
|
|
17
|
+
border-color: var(--color-border);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/* Cursor for buttons */
|
|
21
|
+
:global(#equality-theme-provider-root) button {
|
|
22
|
+
cursor: pointer;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* Typography + platform defaults */
|
|
26
|
+
:global(#equality-theme-provider-root) {
|
|
27
|
+
line-height: 1.5;
|
|
28
|
+
-webkit-text-size-adjust: 100%;
|
|
29
|
+
tab-size: 4;
|
|
30
|
+
font-family: var(--font-sans);
|
|
31
|
+
-webkit-tap-highlight-color: transparent;
|
|
32
|
+
font-synthesis: none;
|
|
33
|
+
text-rendering: optimizeLegibility;
|
|
34
|
+
-webkit-font-smoothing: antialiased;
|
|
35
|
+
-moz-osx-font-smoothing: grayscale;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/* Horizontal rule */
|
|
39
|
+
:global(#equality-theme-provider-root) hr {
|
|
40
|
+
height: 0;
|
|
41
|
+
color: inherit;
|
|
42
|
+
border-top-width: 1px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/* Abbr */
|
|
46
|
+
:global(#equality-theme-provider-root) abbr:where([title]) {
|
|
47
|
+
-webkit-text-decoration: underline dotted;
|
|
48
|
+
text-decoration: underline dotted;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/* Headings reset */
|
|
52
|
+
:global(#equality-theme-provider-root) h1,
|
|
53
|
+
:global(#equality-theme-provider-root) h2,
|
|
54
|
+
:global(#equality-theme-provider-root) h3,
|
|
55
|
+
:global(#equality-theme-provider-root) h4,
|
|
56
|
+
:global(#equality-theme-provider-root) h5,
|
|
57
|
+
:global(#equality-theme-provider-root) h6 {
|
|
58
|
+
font-size: inherit;
|
|
59
|
+
font-weight: inherit;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/* Links */
|
|
63
|
+
:global(#equality-theme-provider-root) a {
|
|
64
|
+
color: inherit;
|
|
65
|
+
-webkit-text-decoration: inherit;
|
|
66
|
+
text-decoration: inherit;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/* Strong */
|
|
70
|
+
:global(#equality-theme-provider-root) b,
|
|
71
|
+
:global(#equality-theme-provider-root) strong {
|
|
72
|
+
font-weight: bolder;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/* Code fonts */
|
|
76
|
+
:global(#equality-theme-provider-root) code,
|
|
77
|
+
:global(#equality-theme-provider-root) kbd,
|
|
78
|
+
:global(#equality-theme-provider-root) samp,
|
|
79
|
+
:global(#equality-theme-provider-root) pre {
|
|
80
|
+
font-family:
|
|
81
|
+
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
|
|
82
|
+
monospace;
|
|
83
|
+
font-size: 1em;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/* Small */
|
|
87
|
+
:global(#equality-theme-provider-root) small {
|
|
88
|
+
font-size: 80%;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/* Sub/Sup */
|
|
92
|
+
:global(#equality-theme-provider-root) sub,
|
|
93
|
+
:global(#equality-theme-provider-root) sup {
|
|
94
|
+
font-size: 75%;
|
|
95
|
+
line-height: 0;
|
|
96
|
+
position: relative;
|
|
97
|
+
vertical-align: baseline;
|
|
98
|
+
}
|
|
99
|
+
:global(#equality-theme-provider-root) sub {
|
|
100
|
+
bottom: -0.25em;
|
|
101
|
+
}
|
|
102
|
+
:global(#equality-theme-provider-root) sup {
|
|
103
|
+
top: -0.5em;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/* Tables */
|
|
107
|
+
:global(#equality-theme-provider-root) table {
|
|
108
|
+
text-indent: 0;
|
|
109
|
+
border-color: inherit;
|
|
110
|
+
border-collapse: collapse;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/* Firefox focus */
|
|
114
|
+
:global(#equality-theme-provider-root) :-moz-focusring {
|
|
115
|
+
outline: auto;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/* Progress baseline */
|
|
119
|
+
:global(#equality-theme-provider-root) progress {
|
|
120
|
+
vertical-align: baseline;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/* Summary display */
|
|
124
|
+
:global(#equality-theme-provider-root) summary {
|
|
125
|
+
display: list-item;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/* Lists unstyled */
|
|
129
|
+
:global(#equality-theme-provider-root) ol,
|
|
130
|
+
:global(#equality-theme-provider-root) ul,
|
|
131
|
+
:global(#equality-theme-provider-root) menu {
|
|
132
|
+
list-style: none;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/* Replaced elements */
|
|
136
|
+
:global(#equality-theme-provider-root) img,
|
|
137
|
+
:global(#equality-theme-provider-root) svg,
|
|
138
|
+
:global(#equality-theme-provider-root) video,
|
|
139
|
+
:global(#equality-theme-provider-root) canvas,
|
|
140
|
+
:global(#equality-theme-provider-root) audio,
|
|
141
|
+
:global(#equality-theme-provider-root) iframe,
|
|
142
|
+
:global(#equality-theme-provider-root) embed,
|
|
143
|
+
:global(#equality-theme-provider-root) object {
|
|
144
|
+
display: block;
|
|
145
|
+
vertical-align: middle;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/* Media constraints */
|
|
149
|
+
:global(#equality-theme-provider-root) img,
|
|
150
|
+
:global(#equality-theme-provider-root) video {
|
|
151
|
+
max-width: 100%;
|
|
152
|
+
height: auto;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/* Form element normalizations */
|
|
156
|
+
:global(#equality-theme-provider-root) button,
|
|
157
|
+
:global(#equality-theme-provider-root) input,
|
|
158
|
+
:global(#equality-theme-provider-root) select,
|
|
159
|
+
:global(#equality-theme-provider-root) optgroup,
|
|
160
|
+
:global(#equality-theme-provider-root) textarea,
|
|
161
|
+
:global(#equality-theme-provider-root) ::file-selector-button {
|
|
162
|
+
font: inherit;
|
|
163
|
+
font-feature-settings: inherit;
|
|
164
|
+
font-variation-settings: inherit;
|
|
165
|
+
letter-spacing: inherit;
|
|
166
|
+
color: inherit;
|
|
167
|
+
border-radius: 0;
|
|
168
|
+
background-color: transparent;
|
|
169
|
+
opacity: 1;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/* Select optgroup weight */
|
|
173
|
+
:global(#equality-theme-provider-root) :where(select:is([multiple], [size])) optgroup {
|
|
174
|
+
font-weight: bolder;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/* Select optgroup option indent */
|
|
178
|
+
:global(#equality-theme-provider-root) :where(select:is([multiple], [size])) optgroup option {
|
|
179
|
+
padding-inline-start: 20px;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/* File button spacing */
|
|
183
|
+
:global(#equality-theme-provider-root) ::file-selector-button {
|
|
184
|
+
margin-inline-end: 4px;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/* Placeholder */
|
|
188
|
+
:global(#equality-theme-provider-root) ::placeholder {
|
|
189
|
+
opacity: 1;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
|
|
193
|
+
:global(#equality-theme-provider-root) ::placeholder {
|
|
194
|
+
color: color-mix(in oklab, currentcolor 50%, transparent);
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/* Textarea resize */
|
|
199
|
+
:global(#equality-theme-provider-root) textarea {
|
|
200
|
+
resize: vertical;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/* WebKit search decoration */
|
|
204
|
+
:global(#equality-theme-provider-root) ::-webkit-search-decoration {
|
|
205
|
+
-webkit-appearance: none;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
/* iOS date/time */
|
|
209
|
+
:global(#equality-theme-provider-root) ::-webkit-date-and-time-value {
|
|
210
|
+
min-height: 1lh;
|
|
211
|
+
text-align: inherit;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
:global(#equality-theme-provider-root) ::-webkit-datetime-edit {
|
|
215
|
+
display: inline-flex;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
:global(#equality-theme-provider-root) ::-webkit-datetime-edit-fields-wrapper {
|
|
219
|
+
padding: 0;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
:global(#equality-theme-provider-root) ::-webkit-datetime-edit,
|
|
223
|
+
:global(#equality-theme-provider-root) ::-webkit-datetime-edit-year-field,
|
|
224
|
+
:global(#equality-theme-provider-root) ::-webkit-datetime-edit-month-field,
|
|
225
|
+
:global(#equality-theme-provider-root) ::-webkit-datetime-edit-day-field,
|
|
226
|
+
:global(#equality-theme-provider-root) ::-webkit-datetime-edit-hour-field,
|
|
227
|
+
:global(#equality-theme-provider-root) ::-webkit-datetime-edit-minute-field,
|
|
228
|
+
:global(#equality-theme-provider-root) ::-webkit-datetime-edit-second-field,
|
|
229
|
+
:global(#equality-theme-provider-root) ::-webkit-datetime-edit-millisecond-field,
|
|
230
|
+
:global(#equality-theme-provider-root) ::-webkit-datetime-edit-meridiem-field {
|
|
231
|
+
padding-block: 0;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
:global(#equality-theme-provider-root) ::-webkit-calendar-picker-indicator {
|
|
235
|
+
line-height: 1;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
/* Firefox invalid */
|
|
239
|
+
:global(#equality-theme-provider-root) :-moz-ui-invalid {
|
|
240
|
+
box-shadow: none;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
/* Button appearances */
|
|
244
|
+
:global(#equality-theme-provider-root) button,
|
|
245
|
+
:global(#equality-theme-provider-root)
|
|
246
|
+
input:where([type='button'], [type='reset'], [type='submit']),
|
|
247
|
+
:global(#equality-theme-provider-root) ::file-selector-button {
|
|
248
|
+
appearance: button;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
/* Safari spin buttons */
|
|
252
|
+
:global(#equality-theme-provider-root) ::-webkit-inner-spin-button,
|
|
253
|
+
:global(#equality-theme-provider-root) ::-webkit-outer-spin-button {
|
|
254
|
+
height: auto;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
/* Hidden */
|
|
258
|
+
:global(#equality-theme-provider-root) [hidden]:where(:not([hidden='until-found'])) {
|
|
259
|
+
display: none !important;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
@utility focus-ring {
|
|
2
|
+
@apply ring-offset-background;
|
|
3
|
+
@apply focus-visible:ring-focus-ring;
|
|
4
|
+
@apply focus-visible:ring-2;
|
|
5
|
+
@apply focus-visible:ring-offset-2;
|
|
6
|
+
@apply focus-visible:outline-none;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@utility overlay-background {
|
|
10
|
+
@apply backdrop-blur-xs bg-black/80;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@utility overlay-content {
|
|
14
|
+
@apply z-overlay fixed inset-0;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@utility flex-center {
|
|
18
|
+
@apply flex items-center justify-center;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@utility flex-center-between {
|
|
22
|
+
@apply flex items-center justify-between;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@utility dropdown-content {
|
|
26
|
+
@apply bg-background-floating text-text-primary border-border border;
|
|
27
|
+
@apply z-dropdown rounded-md p-1;
|
|
28
|
+
@apply overflow-y-auto overflow-x-hidden;
|
|
29
|
+
@apply max-h-80 min-w-32;
|
|
30
|
+
@apply data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2;
|
|
31
|
+
@apply data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95;
|
|
32
|
+
@apply data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@utility dropdown-item {
|
|
36
|
+
--mix-color: var(--color-background);
|
|
37
|
+
@apply cursor-pointer;
|
|
38
|
+
@apply flex items-center;
|
|
39
|
+
@apply text-sm transition-colors;
|
|
40
|
+
@apply relative rounded-sm;
|
|
41
|
+
@apply outline-hidden select-none;
|
|
42
|
+
@apply hover:not-disabled:bg-mixed-light focus:bg-mixed-light;
|
|
43
|
+
@apply data-disabled:pointer-events-none data-disabled:opacity-50;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@utility animate-popup-overlay {
|
|
47
|
+
@apply data-[state=open]:animate-in data-[state=open]:fade-in-0;
|
|
48
|
+
@apply data-[state=closed]:animate-out data-[state=closed]:fade-out-0;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@utility animate-popup-content {
|
|
52
|
+
@apply data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=open]:animate-in;
|
|
53
|
+
@apply data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95;
|
|
54
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@layer theme, base, components, utilities;
|
|
2
|
+
|
|
3
|
+
@import 'tailwindcss/theme.css' layer(theme) theme(inline);
|
|
4
|
+
@import 'tailwindcss/utilities.css' layer(utilities);
|
|
5
|
+
@import 'tw-animate-css';
|
|
6
|
+
|
|
7
|
+
@config '../../tailwind.config.js';
|
|
8
|
+
|
|
9
|
+
/* COLORS SCOPED TO THEME PROVIDER */
|
|
10
|
+
@import './tokens.css';
|
|
11
|
+
|
|
12
|
+
@import './theme-base.css';
|
|
13
|
+
@import './theme-preflight-scoped.css';
|
|
14
|
+
@import './theme-components.css';
|
|
15
|
+
@import './theme-utilities.css';
|