@vvedantb/ui 0.57.0 → 0.58.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/tokens/src/tokens.css +21 -0
- package/package.json +1 -1
- package/tokens/src/tokens.css +21 -0
|
@@ -246,6 +246,27 @@
|
|
|
246
246
|
--radius: 1rem;
|
|
247
247
|
--field-radius: min(var(--radius), 0.625rem);
|
|
248
248
|
}
|
|
249
|
+
|
|
250
|
+
/* Neutral: soft-dark grey surfaces. Opt in with `<html class="dark neutral">`;
|
|
251
|
+
status and accent colours come from `.dark`. */
|
|
252
|
+
.dark.neutral {
|
|
253
|
+
--background: rgb(34 35 37);
|
|
254
|
+
--border: rgb(78 79 82);
|
|
255
|
+
--default: rgb(68 69 72);
|
|
256
|
+
--field-background: rgb(48 49 52);
|
|
257
|
+
--field-placeholder: rgb(159 160 162);
|
|
258
|
+
--foreground: rgb(250 250 250);
|
|
259
|
+
--muted: rgb(159 160 162);
|
|
260
|
+
--overlay: rgb(48 49 52);
|
|
261
|
+
--scrollbar: rgb(159 160 162);
|
|
262
|
+
--segment: rgb(68 69 72);
|
|
263
|
+
--separator: rgb(58 59 62);
|
|
264
|
+
--surface: rgb(48 49 52);
|
|
265
|
+
--surface-secondary: rgb(58 59 62);
|
|
266
|
+
--surface-tertiary: rgb(68 69 72);
|
|
267
|
+
--surface-card: rgb(48 49 52);
|
|
268
|
+
--sidebar-accent: rgb(58 59 62);
|
|
269
|
+
}
|
|
249
270
|
}
|
|
250
271
|
|
|
251
272
|
@layer base {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vvedantb/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.58.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Shared React 19 UI for web apps: one main JavaScript entry (primitives, shell pieces, app helpers including the Convex and Clerk provider, VITE env parsing and ensure-user, artifact viewers over the @vvedantb/server artifacts core, native tokens), third-party brand logos (also @vvedantb/ui/logos), motion-driven animated SVG icons (@vvedantb/ui/icons/animated), a client entry without @vvedantb/server, convex or Clerk for Chrome extensions, design-token CSS, shared Tailwind v4 CSS, a Tailwind preset and packaged Instrument Sans fonts.",
|
|
6
6
|
"type": "module",
|
package/tokens/src/tokens.css
CHANGED
|
@@ -246,6 +246,27 @@
|
|
|
246
246
|
--radius: 1rem;
|
|
247
247
|
--field-radius: min(var(--radius), 0.625rem);
|
|
248
248
|
}
|
|
249
|
+
|
|
250
|
+
/* Neutral: soft-dark grey surfaces. Opt in with `<html class="dark neutral">`;
|
|
251
|
+
status and accent colours come from `.dark`. */
|
|
252
|
+
.dark.neutral {
|
|
253
|
+
--background: rgb(34 35 37);
|
|
254
|
+
--border: rgb(78 79 82);
|
|
255
|
+
--default: rgb(68 69 72);
|
|
256
|
+
--field-background: rgb(48 49 52);
|
|
257
|
+
--field-placeholder: rgb(159 160 162);
|
|
258
|
+
--foreground: rgb(250 250 250);
|
|
259
|
+
--muted: rgb(159 160 162);
|
|
260
|
+
--overlay: rgb(48 49 52);
|
|
261
|
+
--scrollbar: rgb(159 160 162);
|
|
262
|
+
--segment: rgb(68 69 72);
|
|
263
|
+
--separator: rgb(58 59 62);
|
|
264
|
+
--surface: rgb(48 49 52);
|
|
265
|
+
--surface-secondary: rgb(58 59 62);
|
|
266
|
+
--surface-tertiary: rgb(68 69 72);
|
|
267
|
+
--surface-card: rgb(48 49 52);
|
|
268
|
+
--sidebar-accent: rgb(58 59 62);
|
|
269
|
+
}
|
|
249
270
|
}
|
|
250
271
|
|
|
251
272
|
@layer base {
|