@orangecheck/design 0.22.0 → 0.23.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/components.d.mts +1 -1
- package/dist/components.d.ts +1 -1
- package/dist/components.js +19 -5
- package/dist/components.js.map +1 -1
- package/dist/components.mjs +19 -6
- package/dist/components.mjs.map +1 -1
- package/dist/composites.d.mts +11 -1
- package/dist/composites.d.ts +11 -1
- package/dist/composites.js +19 -5
- package/dist/composites.js.map +1 -1
- package/dist/composites.mjs +19 -6
- package/dist/composites.mjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +19 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +19 -6
- package/dist/index.mjs.map +1 -1
- package/dist/styles/themes/ember.css +75 -0
- package/package.json +1 -1
|
@@ -236,3 +236,78 @@
|
|
|
236
236
|
--au-green: oklch(0.74 0.15 74); /* golden amber, not node-green */
|
|
237
237
|
--au-blue: oklch(0.6 0.16 38); /* deep red-orange, not L2 blue */
|
|
238
238
|
}
|
|
239
|
+
|
|
240
|
+
/* ── Data-dense ember treatments ───────────────────────────────────────
|
|
241
|
+
The dashboard / data composites (StatGrid, StatCard, DataRow lists,
|
|
242
|
+
DefinitionList, DataSection panels, DataTable) ship a SHARP, FLAT,
|
|
243
|
+
1px-bordered terminal look for the cypherpunk skins. Under ember those
|
|
244
|
+
same components become soft, warm, rounded, separated cards/panels —
|
|
245
|
+
the consumer markup is identical; only the active skin changes. This is
|
|
246
|
+
how data-dense technical subpages read as ember instead of terminal.
|
|
247
|
+
Every rule is scoped to [data-oc-theme='ember'] so the cypherpunk skins
|
|
248
|
+
keep their flat terminal treatment byte-for-byte. */
|
|
249
|
+
|
|
250
|
+
/* StatGrid — sharp 1px-separated grid → gapped soft rounded cards. */
|
|
251
|
+
[data-oc-theme='ember'] .oc-stat-grid {
|
|
252
|
+
background: transparent;
|
|
253
|
+
border: 0;
|
|
254
|
+
gap: 0.75rem;
|
|
255
|
+
}
|
|
256
|
+
[data-oc-theme='ember'] .oc-stat-tile {
|
|
257
|
+
background: var(--card);
|
|
258
|
+
border: 1px solid var(--border);
|
|
259
|
+
border-radius: var(--radius-lg);
|
|
260
|
+
box-shadow: var(--oc-shadow-sm);
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
/* StatCard — flat sharp frame → rounded soft card. */
|
|
264
|
+
[data-oc-theme='ember'] .oc-stat-card {
|
|
265
|
+
border-radius: var(--radius-lg);
|
|
266
|
+
box-shadow: var(--oc-shadow-sm);
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
/* DataSection / Panel — a full-width `border-t` divider section under the
|
|
270
|
+
cypherpunk skins → a discrete soft padded card under ember. */
|
|
271
|
+
[data-oc-theme='ember'] .oc-panel {
|
|
272
|
+
background: var(--card);
|
|
273
|
+
border: 1px solid var(--border);
|
|
274
|
+
border-radius: var(--radius-lg);
|
|
275
|
+
box-shadow: var(--oc-shadow-sm);
|
|
276
|
+
padding: 1.25rem 1.5rem;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
/* Data lists (a `divide-y` stack of DataRows) → one rounded soft card,
|
|
280
|
+
rows separated by warm hairlines. */
|
|
281
|
+
[data-oc-theme='ember'] .oc-data-list {
|
|
282
|
+
background: var(--card);
|
|
283
|
+
border: 1px solid var(--border);
|
|
284
|
+
border-radius: var(--radius-lg);
|
|
285
|
+
box-shadow: var(--oc-shadow-sm);
|
|
286
|
+
overflow: hidden;
|
|
287
|
+
}
|
|
288
|
+
[data-oc-theme='ember'] .oc-data-list > * {
|
|
289
|
+
padding-left: 1rem;
|
|
290
|
+
padding-right: 1rem;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
/* Data tables → rounded container, warm recessed header, soft separators.
|
|
294
|
+
Genuine code/JSON stays in `.terminal` (handled above) — this is for
|
|
295
|
+
tabular DATA, which under ember should read as a clean warm table. */
|
|
296
|
+
[data-oc-theme='ember'] .oc-data-table {
|
|
297
|
+
border-radius: var(--radius-lg);
|
|
298
|
+
overflow: hidden;
|
|
299
|
+
box-shadow: var(--oc-shadow-sm);
|
|
300
|
+
}
|
|
301
|
+
[data-oc-theme='ember'] .oc-data-table thead {
|
|
302
|
+
background: var(--muted);
|
|
303
|
+
}
|
|
304
|
+
[data-oc-theme='ember'] .oc-data-table thead th {
|
|
305
|
+
font-family: var(--oc-font-sans);
|
|
306
|
+
letter-spacing: 0.04em;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
/* DefinitionList — keep the mono micro-label voice (consistent with ember
|
|
310
|
+
eyebrows), but let long values read in the warm sans, not mono. */
|
|
311
|
+
[data-oc-theme='ember'] .oc-deflist dd {
|
|
312
|
+
font-family: var(--oc-font-sans);
|
|
313
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orangecheck/design",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.23.0",
|
|
4
4
|
"description": "OrangeCheck design system — multi-theme tokens, primitives, and family composites for the .ochk.io sub-sites. Tailwind 4 + Next.js Pages Router. Not for third-party integration.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"orangecheck",
|