@tristan2828/ui-foundation 4.76.0 → 4.78.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/conventions/docs/add-an-entity.md +34 -14
- package/conventions/docs/cell-patterns.md +89 -37
- package/conventions/docs/design-language.md +112 -27
- package/conventions/docs/entity-plan-template.md +2 -0
- package/dist/components/app/data-table.d.ts +11 -1
- package/dist/components/app/data-table.js +16 -6
- package/dist/components/app/edit-in-place-presets.d.ts +22 -0
- package/dist/components/app/edit-in-place-presets.js +35 -0
- package/dist/components/app/markdown.d.ts +13 -1
- package/dist/components/app/markdown.js +44 -2
- package/dist/components/app/month-day-field.d.ts +31 -0
- package/dist/components/app/month-day-field.js +134 -0
- package/dist/components/ui/table.d.ts +2 -1
- package/dist/components/ui/table.js +3 -3
- package/dist/index.d.ts +3 -1
- package/dist/index.js +2 -0
- package/dist/lib/markdown-inline.d.ts +10 -0
- package/dist/lib/markdown-inline.js +204 -0
- package/dist/lib/month-day.d.ts +27 -0
- package/dist/lib/month-day.js +62 -0
- package/package.json +1 -1
- package/styles/index.css +120 -0
- package/styles/theme.css +391 -1
package/styles/index.css
CHANGED
|
@@ -89,6 +89,126 @@
|
|
|
89
89
|
--color-heat-4-foreground: var(--heat-4-foreground);
|
|
90
90
|
--color-heat-5: var(--heat-5);
|
|
91
91
|
--color-heat-5-foreground: var(--heat-5-foreground);
|
|
92
|
+
--color-category-1-depth-1: var(--category-1-depth-1);
|
|
93
|
+
--color-category-1-depth-1-foreground: var(--category-1-depth-1-foreground);
|
|
94
|
+
--color-category-1-depth-2: var(--category-1-depth-2);
|
|
95
|
+
--color-category-1-depth-2-foreground: var(--category-1-depth-2-foreground);
|
|
96
|
+
--color-category-1-depth-3: var(--category-1-depth-3);
|
|
97
|
+
--color-category-1-depth-3-foreground: var(--category-1-depth-3-foreground);
|
|
98
|
+
--color-category-1-depth-4: var(--category-1-depth-4);
|
|
99
|
+
--color-category-1-depth-4-foreground: var(--category-1-depth-4-foreground);
|
|
100
|
+
--color-category-1-depth-5: var(--category-1-depth-5);
|
|
101
|
+
--color-category-1-depth-5-foreground: var(--category-1-depth-5-foreground);
|
|
102
|
+
--color-category-2-depth-1: var(--category-2-depth-1);
|
|
103
|
+
--color-category-2-depth-1-foreground: var(--category-2-depth-1-foreground);
|
|
104
|
+
--color-category-2-depth-2: var(--category-2-depth-2);
|
|
105
|
+
--color-category-2-depth-2-foreground: var(--category-2-depth-2-foreground);
|
|
106
|
+
--color-category-2-depth-3: var(--category-2-depth-3);
|
|
107
|
+
--color-category-2-depth-3-foreground: var(--category-2-depth-3-foreground);
|
|
108
|
+
--color-category-2-depth-4: var(--category-2-depth-4);
|
|
109
|
+
--color-category-2-depth-4-foreground: var(--category-2-depth-4-foreground);
|
|
110
|
+
--color-category-2-depth-5: var(--category-2-depth-5);
|
|
111
|
+
--color-category-2-depth-5-foreground: var(--category-2-depth-5-foreground);
|
|
112
|
+
--color-category-3-depth-1: var(--category-3-depth-1);
|
|
113
|
+
--color-category-3-depth-1-foreground: var(--category-3-depth-1-foreground);
|
|
114
|
+
--color-category-3-depth-2: var(--category-3-depth-2);
|
|
115
|
+
--color-category-3-depth-2-foreground: var(--category-3-depth-2-foreground);
|
|
116
|
+
--color-category-3-depth-3: var(--category-3-depth-3);
|
|
117
|
+
--color-category-3-depth-3-foreground: var(--category-3-depth-3-foreground);
|
|
118
|
+
--color-category-3-depth-4: var(--category-3-depth-4);
|
|
119
|
+
--color-category-3-depth-4-foreground: var(--category-3-depth-4-foreground);
|
|
120
|
+
--color-category-3-depth-5: var(--category-3-depth-5);
|
|
121
|
+
--color-category-3-depth-5-foreground: var(--category-3-depth-5-foreground);
|
|
122
|
+
--color-category-4-depth-1: var(--category-4-depth-1);
|
|
123
|
+
--color-category-4-depth-1-foreground: var(--category-4-depth-1-foreground);
|
|
124
|
+
--color-category-4-depth-2: var(--category-4-depth-2);
|
|
125
|
+
--color-category-4-depth-2-foreground: var(--category-4-depth-2-foreground);
|
|
126
|
+
--color-category-4-depth-3: var(--category-4-depth-3);
|
|
127
|
+
--color-category-4-depth-3-foreground: var(--category-4-depth-3-foreground);
|
|
128
|
+
--color-category-4-depth-4: var(--category-4-depth-4);
|
|
129
|
+
--color-category-4-depth-4-foreground: var(--category-4-depth-4-foreground);
|
|
130
|
+
--color-category-4-depth-5: var(--category-4-depth-5);
|
|
131
|
+
--color-category-4-depth-5-foreground: var(--category-4-depth-5-foreground);
|
|
132
|
+
--color-category-5-depth-1: var(--category-5-depth-1);
|
|
133
|
+
--color-category-5-depth-1-foreground: var(--category-5-depth-1-foreground);
|
|
134
|
+
--color-category-5-depth-2: var(--category-5-depth-2);
|
|
135
|
+
--color-category-5-depth-2-foreground: var(--category-5-depth-2-foreground);
|
|
136
|
+
--color-category-5-depth-3: var(--category-5-depth-3);
|
|
137
|
+
--color-category-5-depth-3-foreground: var(--category-5-depth-3-foreground);
|
|
138
|
+
--color-category-5-depth-4: var(--category-5-depth-4);
|
|
139
|
+
--color-category-5-depth-4-foreground: var(--category-5-depth-4-foreground);
|
|
140
|
+
--color-category-5-depth-5: var(--category-5-depth-5);
|
|
141
|
+
--color-category-5-depth-5-foreground: var(--category-5-depth-5-foreground);
|
|
142
|
+
--color-category-6-depth-1: var(--category-6-depth-1);
|
|
143
|
+
--color-category-6-depth-1-foreground: var(--category-6-depth-1-foreground);
|
|
144
|
+
--color-category-6-depth-2: var(--category-6-depth-2);
|
|
145
|
+
--color-category-6-depth-2-foreground: var(--category-6-depth-2-foreground);
|
|
146
|
+
--color-category-6-depth-3: var(--category-6-depth-3);
|
|
147
|
+
--color-category-6-depth-3-foreground: var(--category-6-depth-3-foreground);
|
|
148
|
+
--color-category-6-depth-4: var(--category-6-depth-4);
|
|
149
|
+
--color-category-6-depth-4-foreground: var(--category-6-depth-4-foreground);
|
|
150
|
+
--color-category-6-depth-5: var(--category-6-depth-5);
|
|
151
|
+
--color-category-6-depth-5-foreground: var(--category-6-depth-5-foreground);
|
|
152
|
+
--color-category-7-depth-1: var(--category-7-depth-1);
|
|
153
|
+
--color-category-7-depth-1-foreground: var(--category-7-depth-1-foreground);
|
|
154
|
+
--color-category-7-depth-2: var(--category-7-depth-2);
|
|
155
|
+
--color-category-7-depth-2-foreground: var(--category-7-depth-2-foreground);
|
|
156
|
+
--color-category-7-depth-3: var(--category-7-depth-3);
|
|
157
|
+
--color-category-7-depth-3-foreground: var(--category-7-depth-3-foreground);
|
|
158
|
+
--color-category-7-depth-4: var(--category-7-depth-4);
|
|
159
|
+
--color-category-7-depth-4-foreground: var(--category-7-depth-4-foreground);
|
|
160
|
+
--color-category-7-depth-5: var(--category-7-depth-5);
|
|
161
|
+
--color-category-7-depth-5-foreground: var(--category-7-depth-5-foreground);
|
|
162
|
+
--color-category-8-depth-1: var(--category-8-depth-1);
|
|
163
|
+
--color-category-8-depth-1-foreground: var(--category-8-depth-1-foreground);
|
|
164
|
+
--color-category-8-depth-2: var(--category-8-depth-2);
|
|
165
|
+
--color-category-8-depth-2-foreground: var(--category-8-depth-2-foreground);
|
|
166
|
+
--color-category-8-depth-3: var(--category-8-depth-3);
|
|
167
|
+
--color-category-8-depth-3-foreground: var(--category-8-depth-3-foreground);
|
|
168
|
+
--color-category-8-depth-4: var(--category-8-depth-4);
|
|
169
|
+
--color-category-8-depth-4-foreground: var(--category-8-depth-4-foreground);
|
|
170
|
+
--color-category-8-depth-5: var(--category-8-depth-5);
|
|
171
|
+
--color-category-8-depth-5-foreground: var(--category-8-depth-5-foreground);
|
|
172
|
+
--color-category-9-depth-1: var(--category-9-depth-1);
|
|
173
|
+
--color-category-9-depth-1-foreground: var(--category-9-depth-1-foreground);
|
|
174
|
+
--color-category-9-depth-2: var(--category-9-depth-2);
|
|
175
|
+
--color-category-9-depth-2-foreground: var(--category-9-depth-2-foreground);
|
|
176
|
+
--color-category-9-depth-3: var(--category-9-depth-3);
|
|
177
|
+
--color-category-9-depth-3-foreground: var(--category-9-depth-3-foreground);
|
|
178
|
+
--color-category-9-depth-4: var(--category-9-depth-4);
|
|
179
|
+
--color-category-9-depth-4-foreground: var(--category-9-depth-4-foreground);
|
|
180
|
+
--color-category-9-depth-5: var(--category-9-depth-5);
|
|
181
|
+
--color-category-9-depth-5-foreground: var(--category-9-depth-5-foreground);
|
|
182
|
+
--color-category-10-depth-1: var(--category-10-depth-1);
|
|
183
|
+
--color-category-10-depth-1-foreground: var(--category-10-depth-1-foreground);
|
|
184
|
+
--color-category-10-depth-2: var(--category-10-depth-2);
|
|
185
|
+
--color-category-10-depth-2-foreground: var(--category-10-depth-2-foreground);
|
|
186
|
+
--color-category-10-depth-3: var(--category-10-depth-3);
|
|
187
|
+
--color-category-10-depth-3-foreground: var(--category-10-depth-3-foreground);
|
|
188
|
+
--color-category-10-depth-4: var(--category-10-depth-4);
|
|
189
|
+
--color-category-10-depth-4-foreground: var(--category-10-depth-4-foreground);
|
|
190
|
+
--color-category-10-depth-5: var(--category-10-depth-5);
|
|
191
|
+
--color-category-10-depth-5-foreground: var(--category-10-depth-5-foreground);
|
|
192
|
+
--color-category-11-depth-1: var(--category-11-depth-1);
|
|
193
|
+
--color-category-11-depth-1-foreground: var(--category-11-depth-1-foreground);
|
|
194
|
+
--color-category-11-depth-2: var(--category-11-depth-2);
|
|
195
|
+
--color-category-11-depth-2-foreground: var(--category-11-depth-2-foreground);
|
|
196
|
+
--color-category-11-depth-3: var(--category-11-depth-3);
|
|
197
|
+
--color-category-11-depth-3-foreground: var(--category-11-depth-3-foreground);
|
|
198
|
+
--color-category-11-depth-4: var(--category-11-depth-4);
|
|
199
|
+
--color-category-11-depth-4-foreground: var(--category-11-depth-4-foreground);
|
|
200
|
+
--color-category-11-depth-5: var(--category-11-depth-5);
|
|
201
|
+
--color-category-11-depth-5-foreground: var(--category-11-depth-5-foreground);
|
|
202
|
+
--color-category-12-depth-1: var(--category-12-depth-1);
|
|
203
|
+
--color-category-12-depth-1-foreground: var(--category-12-depth-1-foreground);
|
|
204
|
+
--color-category-12-depth-2: var(--category-12-depth-2);
|
|
205
|
+
--color-category-12-depth-2-foreground: var(--category-12-depth-2-foreground);
|
|
206
|
+
--color-category-12-depth-3: var(--category-12-depth-3);
|
|
207
|
+
--color-category-12-depth-3-foreground: var(--category-12-depth-3-foreground);
|
|
208
|
+
--color-category-12-depth-4: var(--category-12-depth-4);
|
|
209
|
+
--color-category-12-depth-4-foreground: var(--category-12-depth-4-foreground);
|
|
210
|
+
--color-category-12-depth-5: var(--category-12-depth-5);
|
|
211
|
+
--color-category-12-depth-5-foreground: var(--category-12-depth-5-foreground);
|
|
92
212
|
--color-accent-foreground: var(--accent-foreground);
|
|
93
213
|
--color-accent: var(--accent);
|
|
94
214
|
--color-muted-foreground: var(--muted-foreground);
|
package/styles/theme.css
CHANGED
|
@@ -142,6 +142,153 @@
|
|
|
142
142
|
--heat-4-400: oklch(0.661 0.13 47);
|
|
143
143
|
--heat-5-700: oklch(0.388 0.15 20); /* red */
|
|
144
144
|
--heat-5-400: oklch(0.615 0.16 20); /* a purer red goes nearly black under protanopia */
|
|
145
|
+
/*
|
|
146
|
+
* Depth ramps (design-language.md "Depth ramps"). Five steps for each
|
|
147
|
+
* categorical slot, shallow to deep, for depth within one category: a
|
|
148
|
+
* category's subcategories in a chart, nesting levels of one kind, a
|
|
149
|
+
* stacked bar of one category's parts. Opaque fills like the heat scale,
|
|
150
|
+
* each with its own --category-N-depth-M-foreground for text on it.
|
|
151
|
+
* Lightness falls at every step in both themes, so the order survives in
|
|
152
|
+
* greyscale; hue stays within about 20 degrees of the slot's, with chroma
|
|
153
|
+
* and hue bent a little to push neighbours apart (the developer's pick B,
|
|
154
|
+
* 2026-11-09). Every palette takes dark's.
|
|
155
|
+
*
|
|
156
|
+
* Why the gaps are smaller than the heat scale's: every step clears 3:1
|
|
157
|
+
* on the card, which leaves light a lightness band of about oklch 0.18 to
|
|
158
|
+
* 0.65 and dark 0.58 to 1, and five steps of one hue have to fit in it.
|
|
159
|
+
*
|
|
160
|
+
* Measured from these values (tests/depth-ramps.test.ts holds neighbours
|
|
161
|
+
* to ΔE 17 in light and 13.5 in dark, 10 under simulated deuteranopia and
|
|
162
|
+
* protanopia, and every step to 3:1 on every card):
|
|
163
|
+
* neighbours light ΔE 17.7 or more; dark 13.9 or more (blue; navy
|
|
164
|
+
* 15.3, every other slot 17.4 or more); 10.3 or more
|
|
165
|
+
* with deuteranopia or protanopia in both
|
|
166
|
+
* on its card 3.03 at the least (light, on --muted); 3.17 in dark
|
|
167
|
+
* (on Graphite's raised surface)
|
|
168
|
+
* text on the fill 4.55 at the least: in light, black on step 1 (and
|
|
169
|
+
* step 2 of blue, gold and lime), white on the rest;
|
|
170
|
+
* black on every step in dark
|
|
171
|
+
*/
|
|
172
|
+
--category-1-depth-1-700: oklch(0.636 0.107 221); /* blue */
|
|
173
|
+
--category-1-depth-1-400: oklch(0.941 0.03 228);
|
|
174
|
+
--category-1-depth-2-700: oklch(0.616 0.199 255);
|
|
175
|
+
--category-1-depth-2-400: oklch(0.836 0.118 219);
|
|
176
|
+
--category-1-depth-3-700: oklch(0.495 0.22 264);
|
|
177
|
+
--category-1-depth-3-400: oklch(0.728 0.16 238);
|
|
178
|
+
--category-1-depth-4-700: oklch(0.311 0.131 268);
|
|
179
|
+
--category-1-depth-4-400: oklch(0.659 0.071 253);
|
|
180
|
+
--category-1-depth-5-700: oklch(0.177 0.025 268);
|
|
181
|
+
--category-1-depth-5-400: oklch(0.577 0.025 273);
|
|
182
|
+
--category-2-depth-1-700: oklch(0.644 0.025 34); /* orange */
|
|
183
|
+
--category-2-depth-1-400: oklch(0.967 0.025 73);
|
|
184
|
+
--category-2-depth-2-700: oklch(0.556 0.126 28);
|
|
185
|
+
--category-2-depth-2-400: oklch(0.859 0.122 76);
|
|
186
|
+
--category-2-depth-3-700: oklch(0.536 0.122 63);
|
|
187
|
+
--category-2-depth-3-400: oklch(0.726 0.184 53);
|
|
188
|
+
--category-2-depth-4-700: oklch(0.433 0.031 69);
|
|
189
|
+
--category-2-depth-4-400: oklch(0.706 0.105 31);
|
|
190
|
+
--category-2-depth-5-700: oklch(0.181 0.041 63);
|
|
191
|
+
--category-2-depth-5-400: oklch(0.579 0.025 36);
|
|
192
|
+
--category-3-depth-1-700: oklch(0.641 0.025 168); /* green */
|
|
193
|
+
--category-3-depth-1-400: oklch(0.981 0.025 173);
|
|
194
|
+
--category-3-depth-2-700: oklch(0.513 0.091 176);
|
|
195
|
+
--category-3-depth-2-400: oklch(0.854 0.14 165);
|
|
196
|
+
--category-3-depth-3-700: oklch(0.493 0.162 141);
|
|
197
|
+
--category-3-depth-3-400: oklch(0.834 0.219 132);
|
|
198
|
+
--category-3-depth-4-700: oklch(0.302 0.101 143);
|
|
199
|
+
--category-3-depth-4-400: oklch(0.632 0.138 131);
|
|
200
|
+
--category-3-depth-5-700: oklch(0.176 0.025 137);
|
|
201
|
+
--category-3-depth-5-400: oklch(0.574 0.025 136);
|
|
202
|
+
--category-4-depth-1-700: oklch(0.646 0.025 292); /* purple */
|
|
203
|
+
--category-4-depth-1-400: oklch(0.937 0.025 296);
|
|
204
|
+
--category-4-depth-2-700: oklch(0.573 0.123 284);
|
|
205
|
+
--category-4-depth-2-400: oklch(0.813 0.102 297);
|
|
206
|
+
--category-4-depth-3-700: oklch(0.461 0.219 299);
|
|
207
|
+
--category-4-depth-3-400: oklch(0.665 0.19 289);
|
|
208
|
+
--category-4-depth-4-700: oklch(0.263 0.115 306);
|
|
209
|
+
--category-4-depth-4-400: oklch(0.622 0.132 329);
|
|
210
|
+
--category-4-depth-5-700: oklch(0.176 0.025 324);
|
|
211
|
+
--category-4-depth-5-400: oklch(0.58 0.025 329);
|
|
212
|
+
--category-5-depth-1-700: oklch(0.647 0.026 27); /* pink */
|
|
213
|
+
--category-5-depth-1-400: oklch(0.956 0.025 344);
|
|
214
|
+
--category-5-depth-2-700: oklch(0.575 0.141 21);
|
|
215
|
+
--category-5-depth-2-400: oklch(0.826 0.114 350);
|
|
216
|
+
--category-5-depth-3-700: oklch(0.386 0.157 28);
|
|
217
|
+
--category-5-depth-3-400: oklch(0.664 0.208 343);
|
|
218
|
+
--category-5-depth-4-700: oklch(0.36 0.132 348);
|
|
219
|
+
--category-5-depth-4-400: oklch(0.637 0.253 13);
|
|
220
|
+
--category-5-depth-5-700: oklch(0.182 0.031 349);
|
|
221
|
+
--category-5-depth-5-400: oklch(0.606 0.243 30);
|
|
222
|
+
--category-6-depth-1-700: oklch(0.645 0.038 78); /* brown */
|
|
223
|
+
--category-6-depth-1-400: oklch(0.966 0.025 74);
|
|
224
|
+
--category-6-depth-2-700: oklch(0.556 0.119 72);
|
|
225
|
+
--category-6-depth-2-400: oklch(0.842 0.118 80);
|
|
226
|
+
--category-6-depth-3-700: oklch(0.535 0.105 35);
|
|
227
|
+
--category-6-depth-3-400: oklch(0.735 0.184 54);
|
|
228
|
+
--category-6-depth-4-700: oklch(0.321 0.109 36);
|
|
229
|
+
--category-6-depth-4-400: oklch(0.714 0.1 32);
|
|
230
|
+
--category-6-depth-5-700: oklch(0.178 0.026 36);
|
|
231
|
+
--category-6-depth-5-400: oklch(0.579 0.025 37);
|
|
232
|
+
--category-7-depth-1-700: oklch(0.641 0.025 206); /* teal */
|
|
233
|
+
--category-7-depth-1-400: oklch(0.979 0.027 163);
|
|
234
|
+
--category-7-depth-2-700: oklch(0.527 0.089 200);
|
|
235
|
+
--category-7-depth-2-400: oklch(0.875 0.131 162);
|
|
236
|
+
--category-7-depth-3-700: oklch(0.507 0.111 160);
|
|
237
|
+
--category-7-depth-3-400: oklch(0.849 0.143 201);
|
|
238
|
+
--category-7-depth-4-700: oklch(0.342 0.066 167);
|
|
239
|
+
--category-7-depth-4-400: oklch(0.65 0.111 194);
|
|
240
|
+
--category-7-depth-5-700: oklch(0.177 0.026 162);
|
|
241
|
+
--category-7-depth-5-400: oklch(0.574 0.025 202);
|
|
242
|
+
--category-8-depth-1-700: oklch(0.647 0.025 5); /* red */
|
|
243
|
+
--category-8-depth-1-400: oklch(0.951 0.026 50);
|
|
244
|
+
--category-8-depth-2-700: oklch(0.571 0.136 13);
|
|
245
|
+
--category-8-depth-2-400: oklch(0.812 0.108 42);
|
|
246
|
+
--category-8-depth-3-700: oklch(0.363 0.144 9);
|
|
247
|
+
--category-8-depth-3-400: oklch(0.662 0.183 47);
|
|
248
|
+
--category-8-depth-4-700: oklch(0.342 0.094 47);
|
|
249
|
+
--category-8-depth-4-400: oklch(0.622 0.251 25);
|
|
250
|
+
--category-8-depth-5-700: oklch(0.179 0.027 48);
|
|
251
|
+
--category-8-depth-5-400: oklch(0.598 0.164 4);
|
|
252
|
+
--category-9-depth-1-700: oklch(0.642 0.037 108); /* gold */
|
|
253
|
+
--category-9-depth-1-400: oklch(0.994 0.025 108);
|
|
254
|
+
--category-9-depth-2-700: oklch(0.589 0.122 99);
|
|
255
|
+
--category-9-depth-2-400: oklch(0.866 0.122 108);
|
|
256
|
+
--category-9-depth-3-700: oklch(0.538 0.071 63);
|
|
257
|
+
--category-9-depth-3-400: oklch(0.823 0.17 80);
|
|
258
|
+
--category-9-depth-4-700: oklch(0.343 0.074 68);
|
|
259
|
+
--category-9-depth-4-400: oklch(0.631 0.121 72);
|
|
260
|
+
--category-9-depth-5-700: oklch(0.181 0.032 62);
|
|
261
|
+
--category-9-depth-5-400: oklch(0.578 0.025 68);
|
|
262
|
+
--category-10-depth-1-700: oklch(0.646 0.027 303); /* navy */
|
|
263
|
+
--category-10-depth-1-400: oklch(0.944 0.026 267);
|
|
264
|
+
--category-10-depth-2-700: oklch(0.575 0.126 291);
|
|
265
|
+
--category-10-depth-2-400: oklch(0.812 0.093 266);
|
|
266
|
+
--category-10-depth-3-700: oklch(0.441 0.219 294);
|
|
267
|
+
--category-10-depth-3-400: oklch(0.668 0.176 274);
|
|
268
|
+
--category-10-depth-4-700: oklch(0.357 0.104 257);
|
|
269
|
+
--category-10-depth-4-400: oklch(0.599 0.108 301);
|
|
270
|
+
--category-10-depth-5-700: oklch(0.178 0.025 265);
|
|
271
|
+
--category-10-depth-5-400: oklch(0.579 0.025 302);
|
|
272
|
+
--category-11-depth-1-700: oklch(0.643 0.035 104); /* lime */
|
|
273
|
+
--category-11-depth-1-400: oklch(0.986 0.026 136);
|
|
274
|
+
--category-11-depth-2-700: oklch(0.576 0.119 98);
|
|
275
|
+
--category-11-depth-2-400: oklch(0.842 0.132 143);
|
|
276
|
+
--category-11-depth-3-700: oklch(0.55 0.093 137);
|
|
277
|
+
--category-11-depth-3-400: oklch(0.803 0.179 113);
|
|
278
|
+
--category-11-depth-4-700: oklch(0.413 0.033 130);
|
|
279
|
+
--category-11-depth-4-400: oklch(0.627 0.126 96);
|
|
280
|
+
--category-11-depth-5-700: oklch(0.179 0.025 141);
|
|
281
|
+
--category-11-depth-5-400: oklch(0.579 0.027 102);
|
|
282
|
+
--category-12-depth-1-700: oklch(0.646 0.025 353); /* magenta */
|
|
283
|
+
--category-12-depth-1-400: oklch(0.968 0.025 321);
|
|
284
|
+
--category-12-depth-2-700: oklch(0.566 0.139 0);
|
|
285
|
+
--category-12-depth-2-400: oklch(0.865 0.121 325);
|
|
286
|
+
--category-12-depth-3-700: oklch(0.531 0.219 317);
|
|
287
|
+
--category-12-depth-3-400: oklch(0.702 0.218 317);
|
|
288
|
+
--category-12-depth-4-700: oklch(0.319 0.129 325);
|
|
289
|
+
--category-12-depth-4-400: oklch(0.681 0.116 354);
|
|
290
|
+
--category-12-depth-5-700: oklch(0.177 0.025 314);
|
|
291
|
+
--category-12-depth-5-400: oklch(0.58 0.026 0);
|
|
145
292
|
--blue-500: oklch(0.488 0.243 264.376);
|
|
146
293
|
|
|
147
294
|
/*
|
|
@@ -392,6 +539,127 @@
|
|
|
392
539
|
--heat-4-foreground: var(--white);
|
|
393
540
|
--heat-5: var(--heat-5-700);
|
|
394
541
|
--heat-5-foreground: var(--white);
|
|
542
|
+
/* Depth ramps: opaque fills, each with its own text colour. */
|
|
543
|
+
--category-1-depth-1: var(--category-1-depth-1-700);
|
|
544
|
+
--category-1-depth-1-foreground: var(--black);
|
|
545
|
+
--category-1-depth-2: var(--category-1-depth-2-700);
|
|
546
|
+
--category-1-depth-2-foreground: var(--black);
|
|
547
|
+
--category-1-depth-3: var(--category-1-depth-3-700);
|
|
548
|
+
--category-1-depth-3-foreground: var(--white);
|
|
549
|
+
--category-1-depth-4: var(--category-1-depth-4-700);
|
|
550
|
+
--category-1-depth-4-foreground: var(--white);
|
|
551
|
+
--category-1-depth-5: var(--category-1-depth-5-700);
|
|
552
|
+
--category-1-depth-5-foreground: var(--white);
|
|
553
|
+
--category-2-depth-1: var(--category-2-depth-1-700);
|
|
554
|
+
--category-2-depth-1-foreground: var(--black);
|
|
555
|
+
--category-2-depth-2: var(--category-2-depth-2-700);
|
|
556
|
+
--category-2-depth-2-foreground: var(--white);
|
|
557
|
+
--category-2-depth-3: var(--category-2-depth-3-700);
|
|
558
|
+
--category-2-depth-3-foreground: var(--white);
|
|
559
|
+
--category-2-depth-4: var(--category-2-depth-4-700);
|
|
560
|
+
--category-2-depth-4-foreground: var(--white);
|
|
561
|
+
--category-2-depth-5: var(--category-2-depth-5-700);
|
|
562
|
+
--category-2-depth-5-foreground: var(--white);
|
|
563
|
+
--category-3-depth-1: var(--category-3-depth-1-700);
|
|
564
|
+
--category-3-depth-1-foreground: var(--black);
|
|
565
|
+
--category-3-depth-2: var(--category-3-depth-2-700);
|
|
566
|
+
--category-3-depth-2-foreground: var(--white);
|
|
567
|
+
--category-3-depth-3: var(--category-3-depth-3-700);
|
|
568
|
+
--category-3-depth-3-foreground: var(--white);
|
|
569
|
+
--category-3-depth-4: var(--category-3-depth-4-700);
|
|
570
|
+
--category-3-depth-4-foreground: var(--white);
|
|
571
|
+
--category-3-depth-5: var(--category-3-depth-5-700);
|
|
572
|
+
--category-3-depth-5-foreground: var(--white);
|
|
573
|
+
--category-4-depth-1: var(--category-4-depth-1-700);
|
|
574
|
+
--category-4-depth-1-foreground: var(--black);
|
|
575
|
+
--category-4-depth-2: var(--category-4-depth-2-700);
|
|
576
|
+
--category-4-depth-2-foreground: var(--white);
|
|
577
|
+
--category-4-depth-3: var(--category-4-depth-3-700);
|
|
578
|
+
--category-4-depth-3-foreground: var(--white);
|
|
579
|
+
--category-4-depth-4: var(--category-4-depth-4-700);
|
|
580
|
+
--category-4-depth-4-foreground: var(--white);
|
|
581
|
+
--category-4-depth-5: var(--category-4-depth-5-700);
|
|
582
|
+
--category-4-depth-5-foreground: var(--white);
|
|
583
|
+
--category-5-depth-1: var(--category-5-depth-1-700);
|
|
584
|
+
--category-5-depth-1-foreground: var(--black);
|
|
585
|
+
--category-5-depth-2: var(--category-5-depth-2-700);
|
|
586
|
+
--category-5-depth-2-foreground: var(--white);
|
|
587
|
+
--category-5-depth-3: var(--category-5-depth-3-700);
|
|
588
|
+
--category-5-depth-3-foreground: var(--white);
|
|
589
|
+
--category-5-depth-4: var(--category-5-depth-4-700);
|
|
590
|
+
--category-5-depth-4-foreground: var(--white);
|
|
591
|
+
--category-5-depth-5: var(--category-5-depth-5-700);
|
|
592
|
+
--category-5-depth-5-foreground: var(--white);
|
|
593
|
+
--category-6-depth-1: var(--category-6-depth-1-700);
|
|
594
|
+
--category-6-depth-1-foreground: var(--black);
|
|
595
|
+
--category-6-depth-2: var(--category-6-depth-2-700);
|
|
596
|
+
--category-6-depth-2-foreground: var(--white);
|
|
597
|
+
--category-6-depth-3: var(--category-6-depth-3-700);
|
|
598
|
+
--category-6-depth-3-foreground: var(--white);
|
|
599
|
+
--category-6-depth-4: var(--category-6-depth-4-700);
|
|
600
|
+
--category-6-depth-4-foreground: var(--white);
|
|
601
|
+
--category-6-depth-5: var(--category-6-depth-5-700);
|
|
602
|
+
--category-6-depth-5-foreground: var(--white);
|
|
603
|
+
--category-7-depth-1: var(--category-7-depth-1-700);
|
|
604
|
+
--category-7-depth-1-foreground: var(--black);
|
|
605
|
+
--category-7-depth-2: var(--category-7-depth-2-700);
|
|
606
|
+
--category-7-depth-2-foreground: var(--white);
|
|
607
|
+
--category-7-depth-3: var(--category-7-depth-3-700);
|
|
608
|
+
--category-7-depth-3-foreground: var(--white);
|
|
609
|
+
--category-7-depth-4: var(--category-7-depth-4-700);
|
|
610
|
+
--category-7-depth-4-foreground: var(--white);
|
|
611
|
+
--category-7-depth-5: var(--category-7-depth-5-700);
|
|
612
|
+
--category-7-depth-5-foreground: var(--white);
|
|
613
|
+
--category-8-depth-1: var(--category-8-depth-1-700);
|
|
614
|
+
--category-8-depth-1-foreground: var(--black);
|
|
615
|
+
--category-8-depth-2: var(--category-8-depth-2-700);
|
|
616
|
+
--category-8-depth-2-foreground: var(--white);
|
|
617
|
+
--category-8-depth-3: var(--category-8-depth-3-700);
|
|
618
|
+
--category-8-depth-3-foreground: var(--white);
|
|
619
|
+
--category-8-depth-4: var(--category-8-depth-4-700);
|
|
620
|
+
--category-8-depth-4-foreground: var(--white);
|
|
621
|
+
--category-8-depth-5: var(--category-8-depth-5-700);
|
|
622
|
+
--category-8-depth-5-foreground: var(--white);
|
|
623
|
+
--category-9-depth-1: var(--category-9-depth-1-700);
|
|
624
|
+
--category-9-depth-1-foreground: var(--black);
|
|
625
|
+
--category-9-depth-2: var(--category-9-depth-2-700);
|
|
626
|
+
--category-9-depth-2-foreground: var(--black);
|
|
627
|
+
--category-9-depth-3: var(--category-9-depth-3-700);
|
|
628
|
+
--category-9-depth-3-foreground: var(--white);
|
|
629
|
+
--category-9-depth-4: var(--category-9-depth-4-700);
|
|
630
|
+
--category-9-depth-4-foreground: var(--white);
|
|
631
|
+
--category-9-depth-5: var(--category-9-depth-5-700);
|
|
632
|
+
--category-9-depth-5-foreground: var(--white);
|
|
633
|
+
--category-10-depth-1: var(--category-10-depth-1-700);
|
|
634
|
+
--category-10-depth-1-foreground: var(--black);
|
|
635
|
+
--category-10-depth-2: var(--category-10-depth-2-700);
|
|
636
|
+
--category-10-depth-2-foreground: var(--white);
|
|
637
|
+
--category-10-depth-3: var(--category-10-depth-3-700);
|
|
638
|
+
--category-10-depth-3-foreground: var(--white);
|
|
639
|
+
--category-10-depth-4: var(--category-10-depth-4-700);
|
|
640
|
+
--category-10-depth-4-foreground: var(--white);
|
|
641
|
+
--category-10-depth-5: var(--category-10-depth-5-700);
|
|
642
|
+
--category-10-depth-5-foreground: var(--white);
|
|
643
|
+
--category-11-depth-1: var(--category-11-depth-1-700);
|
|
644
|
+
--category-11-depth-1-foreground: var(--black);
|
|
645
|
+
--category-11-depth-2: var(--category-11-depth-2-700);
|
|
646
|
+
--category-11-depth-2-foreground: var(--black);
|
|
647
|
+
--category-11-depth-3: var(--category-11-depth-3-700);
|
|
648
|
+
--category-11-depth-3-foreground: var(--white);
|
|
649
|
+
--category-11-depth-4: var(--category-11-depth-4-700);
|
|
650
|
+
--category-11-depth-4-foreground: var(--white);
|
|
651
|
+
--category-11-depth-5: var(--category-11-depth-5-700);
|
|
652
|
+
--category-11-depth-5-foreground: var(--white);
|
|
653
|
+
--category-12-depth-1: var(--category-12-depth-1-700);
|
|
654
|
+
--category-12-depth-1-foreground: var(--black);
|
|
655
|
+
--category-12-depth-2: var(--category-12-depth-2-700);
|
|
656
|
+
--category-12-depth-2-foreground: var(--white);
|
|
657
|
+
--category-12-depth-3: var(--category-12-depth-3-700);
|
|
658
|
+
--category-12-depth-3-foreground: var(--white);
|
|
659
|
+
--category-12-depth-4: var(--category-12-depth-4-700);
|
|
660
|
+
--category-12-depth-4-foreground: var(--white);
|
|
661
|
+
--category-12-depth-5: var(--category-12-depth-5-700);
|
|
662
|
+
--category-12-depth-5-foreground: var(--white);
|
|
395
663
|
/* The zebra stripe (table.tsx: bg-muted/40 on even rows) mixed onto the
|
|
396
664
|
page, opaque: what a pinned table cell paints on an even row, so it
|
|
397
665
|
matches the row without letting scrolled columns show through. Mixed
|
|
@@ -571,6 +839,127 @@
|
|
|
571
839
|
--heat-4-foreground: var(--black);
|
|
572
840
|
--heat-5: var(--heat-5-400);
|
|
573
841
|
--heat-5-foreground: var(--black);
|
|
842
|
+
/* Depth ramps: lighter steps to clear the dark surfaces, black text on all. */
|
|
843
|
+
--category-1-depth-1: var(--category-1-depth-1-400);
|
|
844
|
+
--category-1-depth-1-foreground: var(--black);
|
|
845
|
+
--category-1-depth-2: var(--category-1-depth-2-400);
|
|
846
|
+
--category-1-depth-2-foreground: var(--black);
|
|
847
|
+
--category-1-depth-3: var(--category-1-depth-3-400);
|
|
848
|
+
--category-1-depth-3-foreground: var(--black);
|
|
849
|
+
--category-1-depth-4: var(--category-1-depth-4-400);
|
|
850
|
+
--category-1-depth-4-foreground: var(--black);
|
|
851
|
+
--category-1-depth-5: var(--category-1-depth-5-400);
|
|
852
|
+
--category-1-depth-5-foreground: var(--black);
|
|
853
|
+
--category-2-depth-1: var(--category-2-depth-1-400);
|
|
854
|
+
--category-2-depth-1-foreground: var(--black);
|
|
855
|
+
--category-2-depth-2: var(--category-2-depth-2-400);
|
|
856
|
+
--category-2-depth-2-foreground: var(--black);
|
|
857
|
+
--category-2-depth-3: var(--category-2-depth-3-400);
|
|
858
|
+
--category-2-depth-3-foreground: var(--black);
|
|
859
|
+
--category-2-depth-4: var(--category-2-depth-4-400);
|
|
860
|
+
--category-2-depth-4-foreground: var(--black);
|
|
861
|
+
--category-2-depth-5: var(--category-2-depth-5-400);
|
|
862
|
+
--category-2-depth-5-foreground: var(--black);
|
|
863
|
+
--category-3-depth-1: var(--category-3-depth-1-400);
|
|
864
|
+
--category-3-depth-1-foreground: var(--black);
|
|
865
|
+
--category-3-depth-2: var(--category-3-depth-2-400);
|
|
866
|
+
--category-3-depth-2-foreground: var(--black);
|
|
867
|
+
--category-3-depth-3: var(--category-3-depth-3-400);
|
|
868
|
+
--category-3-depth-3-foreground: var(--black);
|
|
869
|
+
--category-3-depth-4: var(--category-3-depth-4-400);
|
|
870
|
+
--category-3-depth-4-foreground: var(--black);
|
|
871
|
+
--category-3-depth-5: var(--category-3-depth-5-400);
|
|
872
|
+
--category-3-depth-5-foreground: var(--black);
|
|
873
|
+
--category-4-depth-1: var(--category-4-depth-1-400);
|
|
874
|
+
--category-4-depth-1-foreground: var(--black);
|
|
875
|
+
--category-4-depth-2: var(--category-4-depth-2-400);
|
|
876
|
+
--category-4-depth-2-foreground: var(--black);
|
|
877
|
+
--category-4-depth-3: var(--category-4-depth-3-400);
|
|
878
|
+
--category-4-depth-3-foreground: var(--black);
|
|
879
|
+
--category-4-depth-4: var(--category-4-depth-4-400);
|
|
880
|
+
--category-4-depth-4-foreground: var(--black);
|
|
881
|
+
--category-4-depth-5: var(--category-4-depth-5-400);
|
|
882
|
+
--category-4-depth-5-foreground: var(--black);
|
|
883
|
+
--category-5-depth-1: var(--category-5-depth-1-400);
|
|
884
|
+
--category-5-depth-1-foreground: var(--black);
|
|
885
|
+
--category-5-depth-2: var(--category-5-depth-2-400);
|
|
886
|
+
--category-5-depth-2-foreground: var(--black);
|
|
887
|
+
--category-5-depth-3: var(--category-5-depth-3-400);
|
|
888
|
+
--category-5-depth-3-foreground: var(--black);
|
|
889
|
+
--category-5-depth-4: var(--category-5-depth-4-400);
|
|
890
|
+
--category-5-depth-4-foreground: var(--black);
|
|
891
|
+
--category-5-depth-5: var(--category-5-depth-5-400);
|
|
892
|
+
--category-5-depth-5-foreground: var(--black);
|
|
893
|
+
--category-6-depth-1: var(--category-6-depth-1-400);
|
|
894
|
+
--category-6-depth-1-foreground: var(--black);
|
|
895
|
+
--category-6-depth-2: var(--category-6-depth-2-400);
|
|
896
|
+
--category-6-depth-2-foreground: var(--black);
|
|
897
|
+
--category-6-depth-3: var(--category-6-depth-3-400);
|
|
898
|
+
--category-6-depth-3-foreground: var(--black);
|
|
899
|
+
--category-6-depth-4: var(--category-6-depth-4-400);
|
|
900
|
+
--category-6-depth-4-foreground: var(--black);
|
|
901
|
+
--category-6-depth-5: var(--category-6-depth-5-400);
|
|
902
|
+
--category-6-depth-5-foreground: var(--black);
|
|
903
|
+
--category-7-depth-1: var(--category-7-depth-1-400);
|
|
904
|
+
--category-7-depth-1-foreground: var(--black);
|
|
905
|
+
--category-7-depth-2: var(--category-7-depth-2-400);
|
|
906
|
+
--category-7-depth-2-foreground: var(--black);
|
|
907
|
+
--category-7-depth-3: var(--category-7-depth-3-400);
|
|
908
|
+
--category-7-depth-3-foreground: var(--black);
|
|
909
|
+
--category-7-depth-4: var(--category-7-depth-4-400);
|
|
910
|
+
--category-7-depth-4-foreground: var(--black);
|
|
911
|
+
--category-7-depth-5: var(--category-7-depth-5-400);
|
|
912
|
+
--category-7-depth-5-foreground: var(--black);
|
|
913
|
+
--category-8-depth-1: var(--category-8-depth-1-400);
|
|
914
|
+
--category-8-depth-1-foreground: var(--black);
|
|
915
|
+
--category-8-depth-2: var(--category-8-depth-2-400);
|
|
916
|
+
--category-8-depth-2-foreground: var(--black);
|
|
917
|
+
--category-8-depth-3: var(--category-8-depth-3-400);
|
|
918
|
+
--category-8-depth-3-foreground: var(--black);
|
|
919
|
+
--category-8-depth-4: var(--category-8-depth-4-400);
|
|
920
|
+
--category-8-depth-4-foreground: var(--black);
|
|
921
|
+
--category-8-depth-5: var(--category-8-depth-5-400);
|
|
922
|
+
--category-8-depth-5-foreground: var(--black);
|
|
923
|
+
--category-9-depth-1: var(--category-9-depth-1-400);
|
|
924
|
+
--category-9-depth-1-foreground: var(--black);
|
|
925
|
+
--category-9-depth-2: var(--category-9-depth-2-400);
|
|
926
|
+
--category-9-depth-2-foreground: var(--black);
|
|
927
|
+
--category-9-depth-3: var(--category-9-depth-3-400);
|
|
928
|
+
--category-9-depth-3-foreground: var(--black);
|
|
929
|
+
--category-9-depth-4: var(--category-9-depth-4-400);
|
|
930
|
+
--category-9-depth-4-foreground: var(--black);
|
|
931
|
+
--category-9-depth-5: var(--category-9-depth-5-400);
|
|
932
|
+
--category-9-depth-5-foreground: var(--black);
|
|
933
|
+
--category-10-depth-1: var(--category-10-depth-1-400);
|
|
934
|
+
--category-10-depth-1-foreground: var(--black);
|
|
935
|
+
--category-10-depth-2: var(--category-10-depth-2-400);
|
|
936
|
+
--category-10-depth-2-foreground: var(--black);
|
|
937
|
+
--category-10-depth-3: var(--category-10-depth-3-400);
|
|
938
|
+
--category-10-depth-3-foreground: var(--black);
|
|
939
|
+
--category-10-depth-4: var(--category-10-depth-4-400);
|
|
940
|
+
--category-10-depth-4-foreground: var(--black);
|
|
941
|
+
--category-10-depth-5: var(--category-10-depth-5-400);
|
|
942
|
+
--category-10-depth-5-foreground: var(--black);
|
|
943
|
+
--category-11-depth-1: var(--category-11-depth-1-400);
|
|
944
|
+
--category-11-depth-1-foreground: var(--black);
|
|
945
|
+
--category-11-depth-2: var(--category-11-depth-2-400);
|
|
946
|
+
--category-11-depth-2-foreground: var(--black);
|
|
947
|
+
--category-11-depth-3: var(--category-11-depth-3-400);
|
|
948
|
+
--category-11-depth-3-foreground: var(--black);
|
|
949
|
+
--category-11-depth-4: var(--category-11-depth-4-400);
|
|
950
|
+
--category-11-depth-4-foreground: var(--black);
|
|
951
|
+
--category-11-depth-5: var(--category-11-depth-5-400);
|
|
952
|
+
--category-11-depth-5-foreground: var(--black);
|
|
953
|
+
--category-12-depth-1: var(--category-12-depth-1-400);
|
|
954
|
+
--category-12-depth-1-foreground: var(--black);
|
|
955
|
+
--category-12-depth-2: var(--category-12-depth-2-400);
|
|
956
|
+
--category-12-depth-2-foreground: var(--black);
|
|
957
|
+
--category-12-depth-3: var(--category-12-depth-3-400);
|
|
958
|
+
--category-12-depth-3-foreground: var(--black);
|
|
959
|
+
--category-12-depth-4: var(--category-12-depth-4-400);
|
|
960
|
+
--category-12-depth-4-foreground: var(--black);
|
|
961
|
+
--category-12-depth-5: var(--category-12-depth-5-400);
|
|
962
|
+
--category-12-depth-5-foreground: var(--black);
|
|
574
963
|
--table-stripe: color-mix(in srgb, var(--muted) 40%, var(--background));
|
|
575
964
|
--table-highlight: color-mix(in srgb, var(--info) 20%, var(--background));
|
|
576
965
|
--table-highlight-muted-foreground: var(--gray-400); /* the usual muted: not var(--muted-foreground), which the row redefines from this */
|
|
@@ -601,7 +990,8 @@
|
|
|
601
990
|
* the dark theme, so a block below always sits on top of .dark and sets
|
|
602
991
|
* only what differs from it. The solid fills (--destructive, --success,
|
|
603
992
|
* --warning, --info, each with white -foreground), --info-text, the
|
|
604
|
-
* highlight washes, the categorical slots
|
|
993
|
+
* highlight washes, the categorical slots, the heat scale and the depth
|
|
994
|
+
* ramps stay .dark's.
|
|
605
995
|
*
|
|
606
996
|
* --ring is the accent (4.24 to 5.25 on the page), not the guide's
|
|
607
997
|
* accent deep (2.30 to 2.91, under the 3:1 a focus ring needs).
|