@exsto/ds 0.0.1-rc.2 → 0.0.1-rc.3

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/styles.css CHANGED
@@ -124,6 +124,8 @@
124
124
  --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
125
125
  --default-font-family: var(--font-sans);
126
126
  --default-mono-font-family: var(--font-mono);
127
+ --text-2xs: 10px;
128
+ --text-2xs--line-height: 14px;
127
129
  --color-border: var(--border);
128
130
  }
129
131
  }
@@ -2277,6 +2279,11 @@
2277
2279
  font-family: var(--font-sans);
2278
2280
  }
2279
2281
 
2282
+ .text-2xs {
2283
+ font-size: var(--text-2xs);
2284
+ line-height: var(--tw-leading, var(--text-2xs--line-height));
2285
+ }
2286
+
2280
2287
  .text-base {
2281
2288
  font-size: var(--text-base);
2282
2289
  line-height: var(--tw-leading, var(--text-base--line-height));
@@ -5455,6 +5462,10 @@
5455
5462
  display: flex;
5456
5463
  }
5457
5464
 
5465
+ .md\:table-cell {
5466
+ display: table-cell;
5467
+ }
5468
+
5458
5469
  .md\:flex-row {
5459
5470
  flex-direction: row;
5460
5471
  }
package/dist/theme.css CHANGED
@@ -1,17 +1,60 @@
1
1
  /*
2
2
  * @exsto/ds design tokens and their Tailwind mapping, uncompiled.
3
3
  *
4
- * Import this from your own Tailwind entry when you want to use the design
5
- * system vocabulary (bg-card, text-muted-foreground, rounded-lg, ...) in your
6
- * OWN markup. `@exsto/ds/styles.css` styles the components; this file gives
7
- * your Tailwind build the tokens behind them.
4
+ * Import this when you want the design system vocabulary (bg-card,
5
+ * text-muted-foreground, rounded-lg, font-sans, text-2xs, ...) in your OWN
6
+ * markup. styles.css styles the components; this gives your Tailwind build
7
+ * the tokens behind them.
8
8
  *
9
+ * ORDER MATTERS. styles.css goes FIRST, before your Tailwind entry:
10
+ *
11
+ * @import "@exsto/ds/styles.css";
9
12
  * @import "tailwindcss";
10
13
  * @import "@exsto/ds/theme.css";
11
- * @import "@exsto/ds/styles.css";
14
+ *
15
+ * styles.css is a compiled Tailwind build, so its utilities land in the same
16
+ * cascade layer as yours and whichever comes last wins. Import it after your
17
+ * Tailwind and its unconditional .hidden beats your .md:table-cell, which
18
+ * silently drops responsive markup.
12
19
  */
13
20
 
14
21
  @custom-variant dark (&:is(.dark *));
22
+ /*
23
+ * Brand layer.
24
+ *
25
+ * The colour ramps come from Tailwind v4 unchanged. The design system is built on
26
+ * the stock palette so the Figma library (Tailwind v4 + shadcn, style Nova) and the
27
+ * code cannot drift apart: there is no value here to keep in sync, because nothing
28
+ * here redefines a colour. The exact shadcn neutral semantic theme lives in
29
+ * tokens.css.
30
+ *
31
+ * The legacy Exsto palette this file used to carry was dropped when the design team
32
+ * moved to Tailwind defaults. It is in git history if a legacy surface ever needs it.
33
+ */
34
+
35
+ @theme {
36
+ /* Inter is the typeface for the whole system. */
37
+ --font-sans: 'Inter', sans-serif;
38
+
39
+ /*
40
+ * The one step Tailwind's type scale does not have: a 10/14 footnote, used by
41
+ * badges, chips and dense table headers. Everything else is stock.
42
+ */
43
+ --text-2xs: 10px;
44
+ --text-2xs--line-height: 14px;
45
+ }
46
+
47
+ @layer base {
48
+ :root {
49
+ color-scheme: light;
50
+ }
51
+
52
+ :root.dark,
53
+ .dark {
54
+ color-scheme: dark;
55
+ }
56
+ }
57
+
15
58
  /* Current shadcn Base Nova neutral theme. Product branding belongs in a separate layer. */
16
59
  /* Base Nova deliberately uses the same black/10 backdrop in both modes; component-level backdrop blur supplies the remaining separation. */
17
60
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exsto/ds",
3
- "version": "0.0.1-rc.2",
3
+ "version": "0.0.1-rc.3",
4
4
  "description": "The eDynamix design system: React components, design tokens, and optional web components.",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [