gridsmith-ui 0.2.3 → 0.2.5
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/index.d.ts +4 -1
- package/dist/index.js +14 -8
- package/dist/index.js.map +1 -1
- package/dist/roots.css +13 -5
- package/dist/tailwind.css +0 -1
- package/dist-static/tailwind.css +0 -1
- package/package.json +2 -2
package/dist/roots.css
CHANGED
|
@@ -43,10 +43,6 @@
|
|
|
43
43
|
--ds-sidebar-width: 224px;
|
|
44
44
|
--ds-sidebar-compact-width: 72px;
|
|
45
45
|
--ds-sidebar-collapsed-width: 56px;
|
|
46
|
-
--ds-sidebar-item-height: 36px;
|
|
47
|
-
--ds-sidebar-item-radius: var(--ds-radius-md);
|
|
48
|
-
--ds-sidebar-item-padding-x: var(--ds-space-3);
|
|
49
|
-
--ds-sidebar-nav-padding: var(--ds-space-3) var(--ds-space-2);
|
|
50
46
|
--ds-navbar-height: 48px;
|
|
51
47
|
--ds-navbar-height-compact: 40px;
|
|
52
48
|
--ds-drawer-width: 280px;
|
|
@@ -275,7 +271,6 @@
|
|
|
275
271
|
--ds-sidebar-text-secondary: var(--ds-text-secondary);
|
|
276
272
|
--ds-sidebar-text-muted: var(--ds-text-muted);
|
|
277
273
|
--ds-sidebar-accent: var(--ds-accent-primary);
|
|
278
|
-
--ds-sidebar-accent-subtle: color-mix(in oklch, var(--ds-sidebar-accent) 10%, transparent);
|
|
279
274
|
|
|
280
275
|
/* Tab strip — presets can override for stronger contrast (e.g. Modern Dark) */
|
|
281
276
|
--ds-tab-hover-bg: var(--ds-bg-muted);
|
|
@@ -310,6 +305,7 @@
|
|
|
310
305
|
--ds-text-secondary: var(--ds-neutral-300);
|
|
311
306
|
--ds-text-muted: var(--ds-neutral-400);
|
|
312
307
|
--ds-text-on-primary: oklch(1 0 0);
|
|
308
|
+
color: var(--ds-text-primary);
|
|
313
309
|
|
|
314
310
|
/* Borders — bumped one step lighter for visibility against 800/900 surfaces */
|
|
315
311
|
--ds-border-default: var(--ds-neutral-600);
|
|
@@ -373,6 +369,18 @@
|
|
|
373
369
|
--ds-shadow-focus: 0 0 0 2px var(--ds-primary-400);
|
|
374
370
|
}
|
|
375
371
|
|
|
372
|
+
[data-mode="light"] {
|
|
373
|
+
--ds-text-primary: var(--ds-neutral-950);
|
|
374
|
+
--ds-text-secondary: var(--ds-neutral-600);
|
|
375
|
+
--ds-text-muted: var(--ds-neutral-400);
|
|
376
|
+
--ds-bg-canvas: var(--ds-neutral-50);
|
|
377
|
+
--ds-bg-surface: oklch(1 0 0);
|
|
378
|
+
--ds-bg-muted: var(--ds-neutral-100);
|
|
379
|
+
--ds-border-default: var(--ds-neutral-300);
|
|
380
|
+
--ds-border-subtle: var(--ds-neutral-200);
|
|
381
|
+
color: var(--ds-text-primary);
|
|
382
|
+
}
|
|
383
|
+
|
|
376
384
|
/* ── Glass Fallback ──────────────────────────────────────────────── */
|
|
377
385
|
|
|
378
386
|
@supports not (backdrop-filter: blur(1px)) {
|
package/dist/tailwind.css
CHANGED
package/dist-static/tailwind.css
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gridsmith-ui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"description": "Gridsmith component library — 79 React components with design tokens and a CSS custom property theming engine",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -88,4 +88,4 @@
|
|
|
88
88
|
"type": "git",
|
|
89
89
|
"url": "https://github.com/gridsmith/ui"
|
|
90
90
|
}
|
|
91
|
-
}
|
|
91
|
+
}
|