@svadmin/ui 0.25.3 → 0.26.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/app.css +13 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@svadmin/ui",
3
- "version": "0.25.3",
3
+ "version": "0.26.0",
4
4
  "description": "Pre-built admin UI components — AdminApp, AutoTable, AutoForm, Sidebar, Layout",
5
5
  "type": "module",
6
6
  "sideEffects": [
package/src/app.css CHANGED
@@ -34,8 +34,8 @@
34
34
  --accent-foreground: oklch(0.2 0.04 265);
35
35
  --destructive: oklch(0.577 0.245 27.325);
36
36
  --destructive-foreground: oklch(0.985 0 0);
37
- --border: oklch(0.912 0.008 264);
38
- --input: oklch(0.912 0.008 264);
37
+ --border: oklch(0.935 0.005 264);
38
+ --input: oklch(0.935 0.005 264);
39
39
  --ring: oklch(0.488 0.243 264.376);
40
40
  --chart-1: oklch(0.488 0.243 264.376);
41
41
  --chart-2: oklch(0.6 0.118 184.704);
@@ -54,7 +54,7 @@
54
54
  --sidebar-primary-foreground: oklch(0.985 0 0);
55
55
  --sidebar-accent: oklch(0.94 0.025 264);
56
56
  --sidebar-accent-foreground: oklch(0.33 0.17 264);
57
- --sidebar-border: oklch(0.912 0.008 264);
57
+ --sidebar-border: oklch(0.935 0.005 264);
58
58
  --sidebar-ring: oklch(0.488 0.243 264.376);
59
59
  }
60
60
 
@@ -75,8 +75,8 @@
75
75
  --accent-foreground: oklch(0.985 0 0);
76
76
  --destructive: oklch(0.704 0.191 22.216);
77
77
  --destructive-foreground: oklch(0.985 0 0);
78
- --border: oklch(0.23 0.025 265);
79
- --input: oklch(0.23 0.025 265);
78
+ --border: oklch(0.27 0.02 265);
79
+ --input: oklch(0.27 0.02 265);
80
80
  --ring: oklch(0.55 0.18 264);
81
81
  --chart-1: oklch(0.585 0.233 264);
82
82
  --chart-2: oklch(0.696 0.17 162.48);
@@ -95,7 +95,7 @@
95
95
  --sidebar-primary-foreground: oklch(0.985 0 0);
96
96
  --sidebar-accent: oklch(0.488 0.243 264.376 / 10%);
97
97
  --sidebar-accent-foreground: oklch(0.7 0.15 264);
98
- --sidebar-border: oklch(0.23 0.025 265);
98
+ --sidebar-border: oklch(0.27 0.02 265);
99
99
  --sidebar-ring: oklch(0.55 0.18 264);
100
100
  }
101
101
 
@@ -108,6 +108,13 @@
108
108
  /* Subtle interaction shadow */
109
109
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.04), 0 0 0 1px rgb(0 0 0 / 0.02);
110
110
  }
111
+
112
+ /* Stripe-style: form inputs use card background instead of transparent */
113
+ [data-slot="input"],
114
+ [data-slot="textarea"],
115
+ [data-slot="select"] {
116
+ background-color: var(--card);
117
+ }
111
118
 
112
119
  [data-slot="card"] {
113
120
  /* Classic Stripe soft shadow: faint ambient + directional drop */