@reinvented/design 0.3.0 → 0.4.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reinvented/design",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "exports": {
@@ -1,4 +1,10 @@
1
1
  @import './tokens.css';
2
2
  @tailwind base;
3
+
4
+ /* Override Tailwind preflight border-color (must come after @tailwind base) */
5
+ * {
6
+ border-color: hsl(var(--border));
7
+ }
8
+
3
9
  @tailwind components;
4
10
  @tailwind utilities;
@@ -15,7 +15,7 @@
15
15
  --card-foreground: 240 10% 3.9%;
16
16
  --popover: 0 0% 100%;
17
17
  --popover-foreground: 240 10% 3.9%;
18
- --primary: 252 100% 63%; /* Vibrant purple — Reinvented brand */
18
+ --primary: 160 84% 39%; /* Emerald — Reinvented brand */
19
19
  --primary-foreground: 0 0% 100%;
20
20
  --secondary: 240 4.8% 95.9%;
21
21
  --secondary-foreground: 240 5.9% 10%;
@@ -27,7 +27,7 @@
27
27
  --destructive-foreground: 0 0% 98%;
28
28
  --border: 240 5.9% 90%;
29
29
  --input: 240 5.9% 90%;
30
- --ring: 252 100% 63%;
30
+ --ring: 160 84% 39%;
31
31
  --radius: 0.625rem;
32
32
 
33
33
  /* ── Success / Warning / Info ──────────────────────────────── */
@@ -86,12 +86,12 @@
86
86
  /* ── Sidebar (for ShadCN sidebar component) ────────────────── */
87
87
  --sidebar-background: 0 0% 98%;
88
88
  --sidebar-foreground: 240 5.3% 26.1%;
89
- --sidebar-primary: 252 100% 63%;
89
+ --sidebar-primary: 160 84% 39%;
90
90
  --sidebar-primary-foreground: 0 0% 100%;
91
91
  --sidebar-accent: 240 4.8% 95.9%;
92
92
  --sidebar-accent-foreground: 240 5.9% 10%;
93
93
  --sidebar-border: 220 13% 91%;
94
- --sidebar-ring: 252 100% 63%;
94
+ --sidebar-ring: 160 84% 39%;
95
95
  }
96
96
 
97
97
  /* ── Dark Mode ───────────────────────────────────────────────── */
@@ -102,7 +102,7 @@
102
102
  --card-foreground: 0 0% 98%;
103
103
  --popover: 240 10% 3.9%;
104
104
  --popover-foreground: 0 0% 98%;
105
- --primary: 252 100% 69%;
105
+ --primary: 160 84% 45%;
106
106
  --primary-foreground: 0 0% 100%;
107
107
  --secondary: 240 3.7% 15.9%;
108
108
  --secondary-foreground: 0 0% 98%;
@@ -114,7 +114,7 @@
114
114
  --destructive-foreground: 0 0% 98%;
115
115
  --border: 240 3.7% 15.9%;
116
116
  --input: 240 3.7% 15.9%;
117
- --ring: 252 100% 69%;
117
+ --ring: 160 84% 45%;
118
118
 
119
119
  --success: 142 76% 45%;
120
120
  --warning: 38 92% 55%;
@@ -122,19 +122,15 @@
122
122
 
123
123
  --sidebar-background: 240 5.9% 10%;
124
124
  --sidebar-foreground: 240 4.8% 95.9%;
125
- --sidebar-primary: 252 100% 69%;
125
+ --sidebar-primary: 160 84% 45%;
126
126
  --sidebar-primary-foreground: 0 0% 100%;
127
127
  --sidebar-accent: 240 3.7% 15.9%;
128
128
  --sidebar-accent-foreground: 240 4.8% 95.9%;
129
129
  --sidebar-border: 240 3.7% 15.9%;
130
- --sidebar-ring: 252 100% 69%;
130
+ --sidebar-ring: 160 84% 45%;
131
131
  }
132
132
 
133
133
  /* ── Base Styles ─────────────────────────────────────────────── */
134
- * {
135
- border-color: hsl(var(--border));
136
- }
137
-
138
134
  body {
139
135
  font-family: var(--font-sans);
140
136
  background-color: hsl(var(--background));