@exsto/ds 0.0.1-rc.1 → 0.0.1-rc.2
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/README.md +21 -4
- package/dist/elements.js +1 -1
- package/dist/styles.css +4 -0
- package/dist/theme.css +198 -0
- package/dist/theme.css.d.ts +2 -0
- package/package.json +5 -1
package/dist/styles.css
CHANGED
package/dist/theme.css
ADDED
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* @exsto/ds design tokens and their Tailwind mapping, uncompiled.
|
|
3
|
+
*
|
|
4
|
+
* Import this from your own Tailwind entry when you want to use the design
|
|
5
|
+
* system vocabulary (bg-card, text-muted-foreground, rounded-lg, ...) in your
|
|
6
|
+
* OWN markup. `@exsto/ds/styles.css` styles the components; this file gives
|
|
7
|
+
* your Tailwind build the tokens behind them.
|
|
8
|
+
*
|
|
9
|
+
* @import "tailwindcss";
|
|
10
|
+
* @import "@exsto/ds/theme.css";
|
|
11
|
+
* @import "@exsto/ds/styles.css";
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
@custom-variant dark (&:is(.dark *));
|
|
15
|
+
/* Current shadcn Base Nova neutral theme. Product branding belongs in a separate layer. */
|
|
16
|
+
/* Base Nova deliberately uses the same black/10 backdrop in both modes; component-level backdrop blur supplies the remaining separation. */
|
|
17
|
+
|
|
18
|
+
:root {
|
|
19
|
+
--radius: 0.625rem;
|
|
20
|
+
|
|
21
|
+
--background: oklch(1 0 0);
|
|
22
|
+
--foreground: oklch(0.145 0 0);
|
|
23
|
+
|
|
24
|
+
--card: oklch(1 0 0);
|
|
25
|
+
--card-foreground: oklch(0.145 0 0);
|
|
26
|
+
|
|
27
|
+
--popover: oklch(1 0 0);
|
|
28
|
+
--popover-foreground: oklch(0.145 0 0);
|
|
29
|
+
--overlay: oklch(0 0 0 / 10%);
|
|
30
|
+
|
|
31
|
+
--primary: oklch(0.205 0 0);
|
|
32
|
+
--primary-foreground: oklch(0.985 0 0);
|
|
33
|
+
|
|
34
|
+
--secondary: oklch(0.97 0 0);
|
|
35
|
+
--secondary-foreground: oklch(0.205 0 0);
|
|
36
|
+
|
|
37
|
+
--muted: oklch(0.97 0 0);
|
|
38
|
+
--muted-foreground: oklch(0.556 0 0);
|
|
39
|
+
|
|
40
|
+
--accent: oklch(0.97 0 0);
|
|
41
|
+
--accent-foreground: oklch(0.205 0 0);
|
|
42
|
+
|
|
43
|
+
--destructive: oklch(0.505 0.213 27.518);
|
|
44
|
+
--destructive-foreground: oklch(0.985 0 0);
|
|
45
|
+
|
|
46
|
+
--success: oklch(0.448 0.119 151.328);
|
|
47
|
+
--success-foreground: oklch(0.979 0.021 166.113);
|
|
48
|
+
--success-ring: oklch(0.905 0.093 164.15);
|
|
49
|
+
|
|
50
|
+
--warning: oklch(0.473 0.137 46.201);
|
|
51
|
+
--warning-foreground: oklch(0.987 0.022 95.277);
|
|
52
|
+
--warning-ring: oklch(0.924 0.12 95.746);
|
|
53
|
+
|
|
54
|
+
--info: oklch(0.5 0.134 242.749);
|
|
55
|
+
--info-foreground: oklch(0.977 0.013 236.62);
|
|
56
|
+
--info-ring: oklch(0.901 0.058 230.902);
|
|
57
|
+
|
|
58
|
+
--border: oklch(0.922 0 0);
|
|
59
|
+
--input: oklch(0.922 0 0);
|
|
60
|
+
--ring: oklch(0.708 0 0);
|
|
61
|
+
|
|
62
|
+
--chart-1: oklch(0.646 0.222 41.116);
|
|
63
|
+
--chart-2: oklch(0.6 0.118 184.704);
|
|
64
|
+
--chart-3: oklch(0.398 0.07 227.392);
|
|
65
|
+
--chart-4: oklch(0.828 0.189 84.429);
|
|
66
|
+
--chart-5: oklch(0.769 0.188 70.08);
|
|
67
|
+
|
|
68
|
+
--sidebar: oklch(0.985 0 0);
|
|
69
|
+
--sidebar-foreground: oklch(0.145 0 0);
|
|
70
|
+
--sidebar-primary: oklch(0.205 0 0);
|
|
71
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
72
|
+
--sidebar-accent: oklch(0.97 0 0);
|
|
73
|
+
--sidebar-accent-foreground: oklch(0.205 0 0);
|
|
74
|
+
--sidebar-border: oklch(0.922 0 0);
|
|
75
|
+
--sidebar-ring: oklch(0.708 0 0);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.dark {
|
|
79
|
+
--background: oklch(0.145 0 0);
|
|
80
|
+
--foreground: oklch(0.985 0 0);
|
|
81
|
+
|
|
82
|
+
--card: oklch(0.205 0 0);
|
|
83
|
+
--card-foreground: oklch(0.985 0 0);
|
|
84
|
+
|
|
85
|
+
--popover: oklch(0.205 0 0);
|
|
86
|
+
--popover-foreground: oklch(0.985 0 0);
|
|
87
|
+
--overlay: oklch(0 0 0 / 10%);
|
|
88
|
+
|
|
89
|
+
--primary: oklch(0.922 0 0);
|
|
90
|
+
--primary-foreground: oklch(0.205 0 0);
|
|
91
|
+
|
|
92
|
+
--secondary: oklch(0.269 0 0);
|
|
93
|
+
--secondary-foreground: oklch(0.985 0 0);
|
|
94
|
+
|
|
95
|
+
--muted: oklch(0.269 0 0);
|
|
96
|
+
--muted-foreground: oklch(0.708 0 0);
|
|
97
|
+
|
|
98
|
+
--accent: oklch(0.269 0 0);
|
|
99
|
+
--accent-foreground: oklch(0.985 0 0);
|
|
100
|
+
|
|
101
|
+
--destructive: oklch(0.704 0.191 22.216);
|
|
102
|
+
--destructive-foreground: oklch(0.985 0 0);
|
|
103
|
+
|
|
104
|
+
--success: oklch(0.792 0.209 151.711);
|
|
105
|
+
--success-foreground: oklch(0.262 0.051 172.552);
|
|
106
|
+
--success-ring: oklch(0.432 0.095 166.913);
|
|
107
|
+
|
|
108
|
+
--warning: oklch(0.879 0.169 91.605);
|
|
109
|
+
--warning-foreground: oklch(0.279 0.077 45.635);
|
|
110
|
+
--warning-ring: oklch(0.473 0.137 46.201);
|
|
111
|
+
|
|
112
|
+
--info: oklch(0.828 0.111 230.318);
|
|
113
|
+
--info-foreground: oklch(0.293 0.066 243.157);
|
|
114
|
+
--info-ring: oklch(0.443 0.11 240.79);
|
|
115
|
+
|
|
116
|
+
--border: oklch(1 0 0 / 10%);
|
|
117
|
+
--input: oklch(1 0 0 / 15%);
|
|
118
|
+
--ring: oklch(0.556 0 0);
|
|
119
|
+
|
|
120
|
+
--chart-1: oklch(0.488 0.243 264.376);
|
|
121
|
+
--chart-2: oklch(0.696 0.17 162.48);
|
|
122
|
+
--chart-3: oklch(0.769 0.188 70.08);
|
|
123
|
+
--chart-4: oklch(0.627 0.265 303.9);
|
|
124
|
+
--chart-5: oklch(0.645 0.246 16.439);
|
|
125
|
+
|
|
126
|
+
--sidebar: oklch(0.205 0 0);
|
|
127
|
+
--sidebar-foreground: oklch(0.985 0 0);
|
|
128
|
+
--sidebar-primary: oklch(0.488 0.243 264.376);
|
|
129
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
130
|
+
--sidebar-accent: oklch(0.269 0 0);
|
|
131
|
+
--sidebar-accent-foreground: oklch(0.985 0 0);
|
|
132
|
+
--sidebar-border: oklch(1 0 0 / 10%);
|
|
133
|
+
--sidebar-ring: oklch(0.556 0 0);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
@theme inline {
|
|
137
|
+
--radius-sm: calc(var(--radius) * 0.6);
|
|
138
|
+
--radius-md: calc(var(--radius) * 0.8);
|
|
139
|
+
--radius-lg: var(--radius);
|
|
140
|
+
--radius-xl: calc(var(--radius) * 1.4);
|
|
141
|
+
--radius-2xl: calc(var(--radius) * 1.8);
|
|
142
|
+
--radius-3xl: calc(var(--radius) * 2.2);
|
|
143
|
+
--radius-4xl: calc(var(--radius) * 2.6);
|
|
144
|
+
--color-background: var(--background);
|
|
145
|
+
--color-foreground: var(--foreground);
|
|
146
|
+
--color-card: var(--card);
|
|
147
|
+
--color-card-foreground: var(--card-foreground);
|
|
148
|
+
--color-popover: var(--popover);
|
|
149
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
150
|
+
--color-overlay: var(--overlay);
|
|
151
|
+
--color-primary: var(--primary);
|
|
152
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
153
|
+
--color-secondary: var(--secondary);
|
|
154
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
155
|
+
--color-muted: var(--muted);
|
|
156
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
157
|
+
--color-accent: var(--accent);
|
|
158
|
+
--color-accent-foreground: var(--accent-foreground);
|
|
159
|
+
--color-destructive: var(--destructive);
|
|
160
|
+
--color-destructive-foreground: var(--destructive-foreground);
|
|
161
|
+
--color-success: var(--success);
|
|
162
|
+
--color-success-foreground: var(--success-foreground);
|
|
163
|
+
--color-success-ring: var(--success-ring);
|
|
164
|
+
--color-warning: var(--warning);
|
|
165
|
+
--color-warning-foreground: var(--warning-foreground);
|
|
166
|
+
--color-warning-ring: var(--warning-ring);
|
|
167
|
+
--color-info: var(--info);
|
|
168
|
+
--color-info-foreground: var(--info-foreground);
|
|
169
|
+
--color-info-ring: var(--info-ring);
|
|
170
|
+
--color-border: var(--border);
|
|
171
|
+
--color-input: var(--input);
|
|
172
|
+
--color-ring: var(--ring);
|
|
173
|
+
--color-chart-1: var(--chart-1);
|
|
174
|
+
--color-chart-2: var(--chart-2);
|
|
175
|
+
--color-chart-3: var(--chart-3);
|
|
176
|
+
--color-chart-4: var(--chart-4);
|
|
177
|
+
--color-chart-5: var(--chart-5);
|
|
178
|
+
--color-sidebar: var(--sidebar);
|
|
179
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
180
|
+
--color-sidebar-primary: var(--sidebar-primary);
|
|
181
|
+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
182
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
183
|
+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
184
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
185
|
+
--color-sidebar-ring: var(--sidebar-ring);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/* Indeterminate progress: a one-third-width bar sweeping the track.
|
|
189
|
+
Percentages are relative to the indicator's own width (w-1/3 of the track),
|
|
190
|
+
so -100% starts fully off the left edge and 300% exits the right edge. */
|
|
191
|
+
@keyframes progress-indeterminate {
|
|
192
|
+
from {
|
|
193
|
+
translate: -100% 0;
|
|
194
|
+
}
|
|
195
|
+
to {
|
|
196
|
+
translate: 300% 0;
|
|
197
|
+
}
|
|
198
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exsto/ds",
|
|
3
|
-
"version": "0.0.1-rc.
|
|
3
|
+
"version": "0.0.1-rc.2",
|
|
4
4
|
"description": "The eDynamix design system: React components, design tokens, and optional web components.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"keywords": [
|
|
@@ -36,6 +36,10 @@
|
|
|
36
36
|
"types": "./dist/styles.css.d.ts",
|
|
37
37
|
"default": "./dist/styles.css"
|
|
38
38
|
},
|
|
39
|
+
"./theme.css": {
|
|
40
|
+
"types": "./dist/theme.css.d.ts",
|
|
41
|
+
"default": "./dist/theme.css"
|
|
42
|
+
},
|
|
39
43
|
"./package.json": "./package.json"
|
|
40
44
|
},
|
|
41
45
|
"scripts": {
|