@cloudparse/up-backoffice-sdk 0.2.0 → 0.3.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/theme.css CHANGED
@@ -8,31 +8,60 @@
8
8
  @source "./";
9
9
 
10
10
  @theme {
11
- /* Colors */
12
- --color-primary: #6366f1;
11
+ /*
12
+ * Colors: the light palette of the Studio (up/frontend globals.css), so a plugin looks native in it. The host
13
+ * stylesheet redefines the same values; both must stay equal.
14
+ */
15
+ --color-primary: #3a35b5;
13
16
  --color-primary-foreground: #ffffff;
17
+ --color-primary-soft: #e6e1ff;
18
+ --color-brand-deep: #23206b;
19
+
20
+ --color-background: #f6f3f3;
21
+ --color-foreground: #121214;
22
+ --color-ink: #121214;
14
23
 
15
- --color-background: #0f172a;
16
- --color-foreground: #f8fafc;
24
+ --color-card: #ffffff;
25
+ --color-card-foreground: #121214;
17
26
 
18
- --color-card: #1e293b;
19
- --color-card-foreground: #f8fafc;
27
+ --color-muted: #d9d7e0;
28
+ --color-muted-foreground: #55565e;
29
+ --color-subtle: #6e6f78;
30
+ --color-body: #3a3b42;
20
31
 
21
- --color-muted: #475569;
22
- --color-muted-foreground: #94a3b8;
32
+ --color-accent: #ff8fc7;
33
+ --color-accent-foreground: #121214;
34
+ --color-accent-ink: #9e1f58;
35
+ --color-accent-soft: #ffe3f1;
23
36
 
24
- --color-accent: #38bdf8;
25
- --color-accent-foreground: #0f172a;
37
+ /* Lines and soft surfaces (borders, table rows, inputs, hover). */
38
+ --color-line: #eceaf0;
39
+ --color-row-line: #f0eef3;
40
+ --color-input-line: #e3e0ea;
41
+ --color-soft: #f2f1f5;
42
+ --color-row-hover: #faf9fb;
26
43
 
27
- --color-success: #10b981;
28
- --color-warning: #f59e0b;
29
- --color-error: #ef4444;
44
+ --color-success: #145c39;
45
+ --color-success-soft: #d9f2e6;
46
+ --color-warning: #b54708;
47
+ --color-warning-soft: #fff1e0;
48
+ --color-error: #b42318;
49
+ --color-error-soft: #fee4e2;
50
+
51
+ /* Dark surface kept inside the light UI (code and response panes of the GraphQL playground). */
52
+ --color-night: #121214;
53
+ --color-night-foreground: #f4f3f8;
30
54
 
31
55
  /* Spacing & Radius */
32
56
  --spacing-container: 2rem;
33
- --radius-lg: 0.75rem;
34
- --radius-md: 0.5rem;
35
- --radius-sm: 0.25rem;
57
+ --radius-lg: 1.5rem;
58
+ --radius-md: 0.875rem;
59
+ --radius-sm: 0.625rem;
60
+
61
+ --shadow-card:
62
+ 0 0 0 1px rgb(18 18 20 / 0.05), 0 8px 24px -16px rgb(35 32 107 / 0.2);
63
+ --shadow-lift:
64
+ 0 0 0 1px rgb(18 18 20 / 0.05), 0 24px 50px -24px rgb(35 32 107 / 0.35);
36
65
 
37
66
  /*
38
67
  * Typography: the Up pair of the shell. Figtree for every piece of UI copy
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudparse/up-backoffice-sdk",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "SDK to build Up backoffice plugins: plugin contract, host loader, UI primitives and Vite build plugin",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",