@schandlergarcia/sf-web-components 1.0.5 → 1.0.6
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/styles/base.css +158 -0
- package/package.json +2 -2
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
@layer base {
|
|
2
|
+
html,
|
|
3
|
+
body,
|
|
4
|
+
#root {
|
|
5
|
+
@apply min-h-screen;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
body {
|
|
9
|
+
@apply antialiased bg-white;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
@import 'shadcn/tailwind.css';
|
|
13
|
+
@theme inline {
|
|
14
|
+
--color-background: var(--background);
|
|
15
|
+
--color-foreground: var(--foreground);
|
|
16
|
+
--color-card: var(--card);
|
|
17
|
+
--color-card-foreground: var(--card-foreground);
|
|
18
|
+
--color-popover: var(--popover);
|
|
19
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
20
|
+
--color-primary: var(--primary);
|
|
21
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
22
|
+
--color-secondary: var(--secondary);
|
|
23
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
24
|
+
--color-muted: var(--muted);
|
|
25
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
26
|
+
--color-accent: var(--accent);
|
|
27
|
+
--color-accent-foreground: var(--accent-foreground);
|
|
28
|
+
--color-destructive: var(--destructive);
|
|
29
|
+
--color-destructive-foreground: var(--destructive-foreground);
|
|
30
|
+
--color-border: var(--border);
|
|
31
|
+
--color-input: var(--input);
|
|
32
|
+
--color-ring: var(--ring);
|
|
33
|
+
--color-chart-1: var(--chart-1);
|
|
34
|
+
--color-chart-2: var(--chart-2);
|
|
35
|
+
--color-chart-3: var(--chart-3);
|
|
36
|
+
--color-chart-4: var(--chart-4);
|
|
37
|
+
--color-chart-5: var(--chart-5);
|
|
38
|
+
--radius-sm: calc(var(--radius) - 4px);
|
|
39
|
+
--radius-md: calc(var(--radius) - 2px);
|
|
40
|
+
--radius-lg: var(--radius);
|
|
41
|
+
--radius-xl: calc(var(--radius) + 4px);
|
|
42
|
+
--color-sidebar: var(--sidebar);
|
|
43
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
44
|
+
--color-sidebar-primary: var(--sidebar-primary);
|
|
45
|
+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
46
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
47
|
+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
48
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
49
|
+
--color-sidebar-ring: var(--sidebar-ring);
|
|
50
|
+
|
|
51
|
+
/* Engine brand palette */
|
|
52
|
+
--color-engine-black: #111111;
|
|
53
|
+
--color-engine-teal: #5BC8C8;
|
|
54
|
+
--color-engine-green: #3DAB5F;
|
|
55
|
+
--color-engine-coral: #FF5722;
|
|
56
|
+
--color-engine-orange: #F59E0B;
|
|
57
|
+
--color-engine-savings: #16A34A;
|
|
58
|
+
--color-engine-bg: #F7F8FA;
|
|
59
|
+
--color-engine-border: #E5E7EB;
|
|
60
|
+
--color-engine-text: #111111;
|
|
61
|
+
--color-engine-muted: #6B7280;
|
|
62
|
+
--color-engine-label: #9CA3AF;
|
|
63
|
+
|
|
64
|
+
/* Engine teal brand palette */
|
|
65
|
+
--color-brand-50: #ECFDF9;
|
|
66
|
+
--color-brand-100: #D1FAF0;
|
|
67
|
+
--color-brand-200: #A7F3E1;
|
|
68
|
+
--color-brand-300: #6EE7C8;
|
|
69
|
+
--color-brand-400: #34D3AB;
|
|
70
|
+
--color-brand-500: #5BC8C8;
|
|
71
|
+
--color-brand-600: #0D9488;
|
|
72
|
+
--color-brand-700: #0F766E;
|
|
73
|
+
--color-brand-800: #115E59;
|
|
74
|
+
--color-brand-900: #134E4A;
|
|
75
|
+
--color-brand-950: #042F2E;
|
|
76
|
+
|
|
77
|
+
--font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
|
|
78
|
+
--font-mono: 'JetBrains Mono', ui-monospace, monospace;
|
|
79
|
+
|
|
80
|
+
/* Engine border radius tokens */
|
|
81
|
+
--radius-pill: 9999px;
|
|
82
|
+
--radius-card: 10px;
|
|
83
|
+
}
|
|
84
|
+
:root {
|
|
85
|
+
--radius: 0.625rem;
|
|
86
|
+
--background: oklch(1 0 0);
|
|
87
|
+
--foreground: oklch(0.145 0 0);
|
|
88
|
+
--card: oklch(1 0 0);
|
|
89
|
+
--card-foreground: oklch(0.145 0 0);
|
|
90
|
+
--popover: oklch(1 0 0);
|
|
91
|
+
--popover-foreground: oklch(0.145 0 0);
|
|
92
|
+
--primary: oklch(0.205 0 0);
|
|
93
|
+
--primary-foreground: oklch(0.985 0 0);
|
|
94
|
+
--secondary: oklch(0.97 0 0);
|
|
95
|
+
--secondary-foreground: oklch(0.205 0 0);
|
|
96
|
+
--muted: oklch(0.97 0 0);
|
|
97
|
+
--muted-foreground: oklch(0.556 0 0);
|
|
98
|
+
--accent: oklch(0.97 0 0);
|
|
99
|
+
--accent-foreground: oklch(0.205 0 0);
|
|
100
|
+
--destructive: oklch(0.577 0.245 27.325);
|
|
101
|
+
--border: oklch(0.922 0 0);
|
|
102
|
+
--input: oklch(0.922 0 0);
|
|
103
|
+
--ring: oklch(0.708 0 0);
|
|
104
|
+
--chart-1: oklch(0.646 0.222 41.116);
|
|
105
|
+
--chart-2: oklch(0.6 0.118 184.704);
|
|
106
|
+
--chart-3: oklch(0.398 0.07 227.392);
|
|
107
|
+
--chart-4: oklch(0.828 0.189 84.429);
|
|
108
|
+
--chart-5: oklch(0.769 0.188 70.08);
|
|
109
|
+
--sidebar: oklch(0.985 0 0);
|
|
110
|
+
--sidebar-foreground: oklch(0.145 0 0);
|
|
111
|
+
--sidebar-primary: oklch(0.205 0 0);
|
|
112
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
113
|
+
--sidebar-accent: oklch(0.97 0 0);
|
|
114
|
+
--sidebar-accent-foreground: oklch(0.205 0 0);
|
|
115
|
+
--sidebar-border: oklch(0.922 0 0);
|
|
116
|
+
--sidebar-ring: oklch(0.708 0 0);
|
|
117
|
+
}
|
|
118
|
+
.dark {
|
|
119
|
+
--background: oklch(0.145 0 0);
|
|
120
|
+
--foreground: oklch(0.985 0 0);
|
|
121
|
+
--card: oklch(0.205 0 0);
|
|
122
|
+
--card-foreground: oklch(0.985 0 0);
|
|
123
|
+
--popover: oklch(0.205 0 0);
|
|
124
|
+
--popover-foreground: oklch(0.985 0 0);
|
|
125
|
+
--primary: oklch(0.922 0 0);
|
|
126
|
+
--primary-foreground: oklch(0.205 0 0);
|
|
127
|
+
--secondary: oklch(0.269 0 0);
|
|
128
|
+
--secondary-foreground: oklch(0.985 0 0);
|
|
129
|
+
--muted: oklch(0.269 0 0);
|
|
130
|
+
--muted-foreground: oklch(0.708 0 0);
|
|
131
|
+
--accent: oklch(0.269 0 0);
|
|
132
|
+
--accent-foreground: oklch(0.985 0 0);
|
|
133
|
+
--destructive: oklch(0.704 0.191 22.216);
|
|
134
|
+
--border: oklch(1 0 0 / 10%);
|
|
135
|
+
--input: oklch(1 0 0 / 15%);
|
|
136
|
+
--ring: oklch(0.556 0 0);
|
|
137
|
+
--chart-1: oklch(0.488 0.243 264.376);
|
|
138
|
+
--chart-2: oklch(0.696 0.17 162.48);
|
|
139
|
+
--chart-3: oklch(0.769 0.188 70.08);
|
|
140
|
+
--chart-4: oklch(0.627 0.265 303.9);
|
|
141
|
+
--chart-5: oklch(0.645 0.246 16.439);
|
|
142
|
+
--sidebar: oklch(0.205 0 0);
|
|
143
|
+
--sidebar-foreground: oklch(0.985 0 0);
|
|
144
|
+
--sidebar-primary: oklch(0.488 0.243 264.376);
|
|
145
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
146
|
+
--sidebar-accent: oklch(0.269 0 0);
|
|
147
|
+
--sidebar-accent-foreground: oklch(0.985 0 0);
|
|
148
|
+
--sidebar-border: oklch(1 0 0 / 10%);
|
|
149
|
+
--sidebar-ring: oklch(0.556 0 0);
|
|
150
|
+
}
|
|
151
|
+
@layer base {
|
|
152
|
+
* {
|
|
153
|
+
@apply border-border outline-ring/50;
|
|
154
|
+
}
|
|
155
|
+
body {
|
|
156
|
+
@apply bg-background text-foreground;
|
|
157
|
+
}
|
|
158
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@schandlergarcia/sf-web-components",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "Reusable Salesforce web components library with Tailwind CSS v4 and shadcn/ui",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
".a4drules"
|
|
32
32
|
],
|
|
33
33
|
"scripts": {
|
|
34
|
-
"build": "tsc && vite build",
|
|
34
|
+
"build": "tsc && vite build && cp -r src/styles dist/",
|
|
35
35
|
"build:types": "tsc --emitDeclarationOnly",
|
|
36
36
|
"prepublishOnly": "npm run build",
|
|
37
37
|
"reset:command-center": "bash scripts/reset-command-center.sh",
|