@nadicodeai/design-system 4.0.4 → 5.1.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/DESIGN.md +16 -0
- package/dist/css/tokens.css +583 -0
- package/package.json +2 -1
package/DESIGN.md
CHANGED
|
@@ -668,6 +668,22 @@ which statuses exist and which tone each value takes — belong to the consuming
|
|
|
668
668
|
app, because they are its domain, not this contract's; the Portal keeps its
|
|
669
669
|
whole map in one module and no surface picks a status colour anywhere else.
|
|
670
670
|
|
|
671
|
+
## System activity
|
|
672
|
+
|
|
673
|
+
System activity, measured progress and settled status share the foundation's
|
|
674
|
+
visual language. Activity is transient: it communicates ongoing work, then
|
|
675
|
+
gives way to content or outcome feedback. The shared activity family uses
|
|
676
|
+
neutral ink for its structure and the cobalto info role for moving foreground
|
|
677
|
+
particles. The existing success, warning and error roles keep their meanings.
|
|
678
|
+
|
|
679
|
+
`ActivityOrb` in `@nadicodeai/ui` renders three distinct activities: loading,
|
|
680
|
+
connecting and processing. Its closed motion recipes, operation mapping,
|
|
681
|
+
sizes and runtime behaviour are owned by
|
|
682
|
+
[`packages/ui/docs/activity.md`](../ui/docs/activity.md). A consuming app
|
|
683
|
+
chooses the actual activity and supplies its readable meaning. Measurable
|
|
684
|
+
completion uses progress, and waiting for a person or a failed operation uses
|
|
685
|
+
the existing feedback treatment.
|
|
686
|
+
|
|
671
687
|
## Do's and Don'ts
|
|
672
688
|
|
|
673
689
|
This section states the correct form; a complete positive definition is the whole rule.
|
|
@@ -0,0 +1,583 @@
|
|
|
1
|
+
@layer tokens, theme;
|
|
2
|
+
|
|
3
|
+
/* src/assets/fonts/geist.css */
|
|
4
|
+
/*!
|
|
5
|
+
* Geist & Geist Mono — SIL Open Font License 1.1
|
|
6
|
+
* © 2023 Vercel, in collaboration with basement.studio
|
|
7
|
+
* Source: https://github.com/vercel/geist-font. The full licence ships as
|
|
8
|
+
* OFL.txt beside the font files this stylesheet points at.
|
|
9
|
+
* Marked as a legal comment so the attribution survives into the bundled
|
|
10
|
+
* public artifact that ships those files.
|
|
11
|
+
*/
|
|
12
|
+
@font-face {
|
|
13
|
+
font-family: "Geist";
|
|
14
|
+
font-style: normal;
|
|
15
|
+
font-weight: 100 900;
|
|
16
|
+
font-display: swap;
|
|
17
|
+
src: url(./assets/fonts/files/Geist-Variable.woff2) format("woff2");
|
|
18
|
+
}
|
|
19
|
+
@font-face {
|
|
20
|
+
font-family: "Geist";
|
|
21
|
+
font-style: italic;
|
|
22
|
+
font-weight: 100 900;
|
|
23
|
+
font-display: swap;
|
|
24
|
+
src: url(./assets/fonts/files/Geist-Italic.woff2) format("woff2");
|
|
25
|
+
}
|
|
26
|
+
@font-face {
|
|
27
|
+
font-family: "Geist Mono";
|
|
28
|
+
font-style: normal;
|
|
29
|
+
font-weight: 100 900;
|
|
30
|
+
font-display: swap;
|
|
31
|
+
src: url(./assets/fonts/files/GeistMono-Variable.woff2) format("woff2");
|
|
32
|
+
}
|
|
33
|
+
@font-face {
|
|
34
|
+
font-family: "Geist Mono";
|
|
35
|
+
font-style: italic;
|
|
36
|
+
font-weight: 100 900;
|
|
37
|
+
font-display: swap;
|
|
38
|
+
src: url(./assets/fonts/files/GeistMono-Italic.woff2) format("woff2");
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/* src/css/tokens.generated.css */
|
|
42
|
+
@layer tokens {
|
|
43
|
+
:root {
|
|
44
|
+
--nc-primary: oklch(0.5075 0.1338 151.91);
|
|
45
|
+
--nc-on-primary: oklch(1.0000 0.0000 0.00);
|
|
46
|
+
--nc-action: oklch(0.1776 0.0000 0.00);
|
|
47
|
+
--nc-action-foreground: oklch(1.0000 0.0000 0.00);
|
|
48
|
+
--nc-action-hover: oklch(0.3012 0.0000 0.00);
|
|
49
|
+
--nc-action-active: oklch(0.0000 0.0000 0.00);
|
|
50
|
+
--nc-ink: oklch(0.1776 0.0000 0.00);
|
|
51
|
+
--nc-body: oklch(0.3867 0.0000 0.00);
|
|
52
|
+
--nc-muted: oklch(0.5278 0.0000 0.00);
|
|
53
|
+
--nc-canvas: oklch(1.0000 0.0000 0.00);
|
|
54
|
+
--nc-canvas-soft: oklch(0.9851 0.0000 0.00);
|
|
55
|
+
--nc-canvas-soft-2: oklch(0.9702 0.0000 0.00);
|
|
56
|
+
--nc-material-workspace: oklch(0.9761 0.0000 0.00);
|
|
57
|
+
--nc-material-solid: oklch(1.0000 0.0000 0.00);
|
|
58
|
+
--nc-line: oklch(0.9219 0.0000 0.00);
|
|
59
|
+
--nc-input: oklch(0.5624 0.0000 0.00);
|
|
60
|
+
--nc-seam: oklch(0.8699 0.0000 0.00);
|
|
61
|
+
--nc-cross: oklch(0.6830 0.0000 0.00);
|
|
62
|
+
--nc-focus-ring: oklch(0.1776 0.0000 0.00);
|
|
63
|
+
--nc-scrim: oklch(0.1776 0.0000 0.00);
|
|
64
|
+
--nc-link: oklch(0.4815 0.1209 154.24);
|
|
65
|
+
--nc-link-deep: oklch(0.3852 0.0953 154.99);
|
|
66
|
+
--nc-link-bg-soft: oklch(0.9170 0.0519 161.77);
|
|
67
|
+
--nc-accent: oklch(0.6824 0.2108 37.70);
|
|
68
|
+
--nc-info: oklch(0.5005 0.2804 266.17);
|
|
69
|
+
--nc-info-soft: oklch(0.9457 0.0259 276.40);
|
|
70
|
+
--nc-info-deep: oklch(0.3197 0.1758 266.79);
|
|
71
|
+
--nc-success: oklch(0.6415 0.1644 153.23);
|
|
72
|
+
--nc-success-soft: oklch(0.9170 0.0519 161.77);
|
|
73
|
+
--nc-success-deep: oklch(0.3852 0.0953 154.99);
|
|
74
|
+
--nc-error: oklch(0.5688 0.1995 26.59);
|
|
75
|
+
--nc-error-soft: oklch(0.9522 0.0207 17.52);
|
|
76
|
+
--nc-error-deep: oklch(0.4235 0.1525 27.08);
|
|
77
|
+
--nc-warning: oklch(0.8466 0.1678 84.63);
|
|
78
|
+
--nc-warning-soft: oklch(0.9649 0.0461 90.87);
|
|
79
|
+
--nc-warning-deep: oklch(0.4834 0.0995 82.44);
|
|
80
|
+
--nc-flag-red: oklch(0.5688 0.1995 26.59);
|
|
81
|
+
--nc-verde-vivo: oklch(0.5604 0.1485 151.68);
|
|
82
|
+
--nc-selection-bg: oklch(0.1776 0.0000 0.00);
|
|
83
|
+
--nc-selection-fg: oklch(0.9851 0.0000 0.00);
|
|
84
|
+
--nc-navigation-selection-bg: oklch(0.9461 0.0000 0.00);
|
|
85
|
+
--nc-navigation-selection-fg: oklch(0.1776 0.0000 0.00);
|
|
86
|
+
--nc-navigation-selection-hover: oklch(0.9219 0.0000 0.00);
|
|
87
|
+
--nc-state-ready: oklch(0.5278 0.0000 0.00);
|
|
88
|
+
--nc-state-running: oklch(0.5005 0.2804 266.17);
|
|
89
|
+
--nc-state-review: oklch(0.8466 0.1678 84.63);
|
|
90
|
+
--nc-state-blocked: oklch(0.5688 0.1995 26.59);
|
|
91
|
+
--nc-state-complete: oklch(0.6415 0.1644 153.23);
|
|
92
|
+
--nc-background-100: oklch(1.0000 0.0000 0.00);
|
|
93
|
+
--nc-background-200: oklch(0.9851 0.0000 0.00);
|
|
94
|
+
--nc-identity-verde: oklch(0.6415 0.1644 153.23);
|
|
95
|
+
--nc-identity-rosso: oklch(0.5688 0.1995 26.59);
|
|
96
|
+
--nc-identity-arancio: oklch(0.6824 0.2108 37.70);
|
|
97
|
+
--nc-identity-giallo: oklch(0.8466 0.1678 84.63);
|
|
98
|
+
--nc-identity-cobalto: oklch(0.5005 0.2804 266.17);
|
|
99
|
+
--nc-identity-ink: oklch(0.0000 0.0000 0.00);
|
|
100
|
+
--nc-identity-white: oklch(1.0000 0.0000 0.00);
|
|
101
|
+
--nc-chart-1: oklch(0.5005 0.2804 266.17);
|
|
102
|
+
--nc-chart-2: oklch(0.6415 0.1644 153.23);
|
|
103
|
+
--nc-chart-3: oklch(0.7638 0.1562 86.86);
|
|
104
|
+
--nc-chart-4: oklch(0.5688 0.1995 26.59);
|
|
105
|
+
--nc-chart-5: oklch(0.6161 0.1062 208.85);
|
|
106
|
+
--nc-chart-6: oklch(0.5015 0.1883 294.99);
|
|
107
|
+
--nc-chart-seq-1: oklch(0.6998 0.1347 269.48);
|
|
108
|
+
--nc-chart-seq-2: oklch(0.5724 0.1897 270.11);
|
|
109
|
+
--nc-chart-seq-3: oklch(0.4725 0.2271 267.41);
|
|
110
|
+
--nc-chart-seq-4: oklch(0.3989 0.1934 267.50);
|
|
111
|
+
--nc-chart-seq-5: oklch(0.3270 0.1487 267.91);
|
|
112
|
+
--nc-chart-div-warm: oklch(0.7592 0.1560 83.30);
|
|
113
|
+
--nc-chart-div-mid: oklch(0.5278 0.0000 0.00);
|
|
114
|
+
--nc-chart-div-cool: oklch(0.5923 0.2215 269.61);
|
|
115
|
+
--nc-dark-canvas: oklch(0.0000 0.0000 0.00);
|
|
116
|
+
--nc-dark-canvas-soft: oklch(0.1776 0.0000 0.00);
|
|
117
|
+
--nc-dark-canvas-soft-2: oklch(0.2178 0.0000 0.00);
|
|
118
|
+
--nc-dark-material-workspace: oklch(0.0000 0.0000 0.00);
|
|
119
|
+
--nc-dark-material-solid: oklch(0.0000 0.0000 0.00);
|
|
120
|
+
--nc-dark-ink: oklch(0.9461 0.0000 0.00);
|
|
121
|
+
--nc-dark-body: oklch(0.8297 0.0000 0.00);
|
|
122
|
+
--nc-dark-muted: oklch(0.6500 0.0000 0.00);
|
|
123
|
+
--nc-dark-line: oklch(0.2686 0.0000 0.00);
|
|
124
|
+
--nc-dark-input: oklch(0.5208 0.0000 0.00);
|
|
125
|
+
--nc-dark-seam: oklch(0.2178 0.0000 0.00);
|
|
126
|
+
--nc-dark-primary: oklch(0.7727 0.1753 155.96);
|
|
127
|
+
--nc-dark-on-primary: oklch(0.1448 0.0000 0.00);
|
|
128
|
+
--nc-dark-action: oklch(1.0000 0.0000 0.00);
|
|
129
|
+
--nc-dark-action-foreground: oklch(0.1448 0.0000 0.00);
|
|
130
|
+
--nc-dark-action-hover: oklch(0.9189 0.0000 0.00);
|
|
131
|
+
--nc-dark-action-active: oklch(0.8761 0.0000 0.00);
|
|
132
|
+
--nc-dark-link: oklch(0.7661 0.1498 157.10);
|
|
133
|
+
--nc-dark-link-deep: oklch(0.8524 0.0996 159.83);
|
|
134
|
+
--nc-dark-link-bg-soft: oklch(0.2893 0.0697 156.32);
|
|
135
|
+
--nc-dark-focus-ring: oklch(0.9461 0.0000 0.00);
|
|
136
|
+
--nc-dark-scrim: oklch(0.9461 0.0000 0.00);
|
|
137
|
+
--nc-dark-error: oklch(0.7955 0.0980 21.02);
|
|
138
|
+
--nc-dark-error-soft: oklch(0.2296 0.0728 26.06);
|
|
139
|
+
--nc-dark-error-deep: oklch(0.8856 0.0534 19.64);
|
|
140
|
+
--nc-dark-warning: oklch(0.8939 0.1387 90.47);
|
|
141
|
+
--nc-dark-warning-soft: oklch(0.3135 0.0643 85.04);
|
|
142
|
+
--nc-dark-warning-deep: oklch(0.9320 0.0896 90.86);
|
|
143
|
+
--nc-dark-info: oklch(0.7067 0.1528 272.08);
|
|
144
|
+
--nc-dark-info-soft: oklch(0.2118 0.1033 268.28);
|
|
145
|
+
--nc-dark-info-deep: oklch(0.8222 0.0888 274.44);
|
|
146
|
+
--nc-dark-cyan: oklch(0.7820 0.1247 190.99);
|
|
147
|
+
--nc-dark-cyan-soft: oklch(0.8646 0.1000 187.55);
|
|
148
|
+
--nc-dark-cyan-deep: oklch(0.6347 0.1029 191.54);
|
|
149
|
+
--nc-dark-success: oklch(0.7019 0.1753 153.20);
|
|
150
|
+
--nc-dark-success-soft: oklch(0.2893 0.0697 156.32);
|
|
151
|
+
--nc-dark-success-deep: oklch(0.8524 0.0996 159.83);
|
|
152
|
+
--nc-dark-state-ready: oklch(0.5624 0.0000 0.00);
|
|
153
|
+
--nc-dark-state-running: oklch(0.5923 0.2215 269.61);
|
|
154
|
+
--nc-dark-state-review: oklch(0.8466 0.1678 84.63);
|
|
155
|
+
--nc-dark-state-blocked: oklch(0.5688 0.1995 26.59);
|
|
156
|
+
--nc-dark-state-complete: oklch(0.6415 0.1644 153.23);
|
|
157
|
+
--nc-dark-selection-bg: oklch(0.9461 0.0000 0.00);
|
|
158
|
+
--nc-dark-selection-fg: oklch(0.1448 0.0000 0.00);
|
|
159
|
+
--nc-dark-navigation-selection-bg: oklch(0.2178 0.0000 0.00);
|
|
160
|
+
--nc-dark-navigation-selection-fg: oklch(0.9461 0.0000 0.00);
|
|
161
|
+
--nc-dark-navigation-selection-hover: oklch(0.2686 0.0000 0.00);
|
|
162
|
+
--nc-dark-cross: oklch(0.4495 0.0000 0.00);
|
|
163
|
+
--nc-dark-verde-vivo: oklch(0.7868 0.1398 156.43);
|
|
164
|
+
--nc-dark-chart-1: oklch(0.5923 0.2215 269.61);
|
|
165
|
+
--nc-dark-chart-2: oklch(0.6415 0.1644 153.23);
|
|
166
|
+
--nc-dark-chart-3: oklch(0.8939 0.1387 90.47);
|
|
167
|
+
--nc-dark-chart-4: oklch(0.6627 0.1685 23.66);
|
|
168
|
+
--nc-dark-chart-5: oklch(0.7820 0.1247 190.99);
|
|
169
|
+
--nc-dark-chart-6: oklch(0.6297 0.1321 299.36);
|
|
170
|
+
--nc-dark-chart-seq-1: oklch(0.5724 0.1897 270.11);
|
|
171
|
+
--nc-dark-chart-seq-2: oklch(0.6998 0.1347 269.48);
|
|
172
|
+
--nc-dark-chart-seq-3: oklch(0.8072 0.0884 269.44);
|
|
173
|
+
--nc-dark-chart-seq-4: oklch(0.8877 0.0514 270.78);
|
|
174
|
+
--nc-dark-chart-seq-5: oklch(0.9619 0.0179 272.31);
|
|
175
|
+
--nc-dark-chart-div-warm: oklch(0.8939 0.1387 90.47);
|
|
176
|
+
--nc-dark-chart-div-mid: oklch(0.9219 0.0000 0.00);
|
|
177
|
+
--nc-dark-chart-div-cool: oklch(0.8222 0.0888 274.44);
|
|
178
|
+
--nc-xxs: 4px;
|
|
179
|
+
--nc-xs: 8px;
|
|
180
|
+
--nc-sm: 12px;
|
|
181
|
+
--nc-md: 16px;
|
|
182
|
+
--nc-lg: 24px;
|
|
183
|
+
--nc-xl: 32px;
|
|
184
|
+
--nc-2xl: 40px;
|
|
185
|
+
--nc-3xl: 48px;
|
|
186
|
+
--nc-4xl: 64px;
|
|
187
|
+
--nc-5xl: 96px;
|
|
188
|
+
--nc-6xl: 128px;
|
|
189
|
+
--nc-guide: 1px;
|
|
190
|
+
--nc-icon-stroke: 1.6px;
|
|
191
|
+
--nc-focus-outline-width: 2px;
|
|
192
|
+
--nc-focus-outline-offset: 2px;
|
|
193
|
+
--nc-control-height: 32px;
|
|
194
|
+
--nc-control-padding-inline: 10px;
|
|
195
|
+
--nc-touch-target: 44px;
|
|
196
|
+
--nc-rounded-none: 0px;
|
|
197
|
+
--nc-rounded-xs: 2px;
|
|
198
|
+
--nc-rounded-sm: 4px;
|
|
199
|
+
--nc-rounded-md: 6px;
|
|
200
|
+
--nc-rounded-lg: 8px;
|
|
201
|
+
--nc-rounded-xl: 10px;
|
|
202
|
+
--nc-rounded-2xl: 12px;
|
|
203
|
+
--nc-rounded-3xl: 16px;
|
|
204
|
+
--nc-rounded-pill-sm: 64px;
|
|
205
|
+
--nc-rounded-pill: 100px;
|
|
206
|
+
--nc-rounded-full: 9999px;
|
|
207
|
+
--nc-type-display-xl-font-family:
|
|
208
|
+
Geist,
|
|
209
|
+
Inter,
|
|
210
|
+
system-ui,
|
|
211
|
+
-apple-system,
|
|
212
|
+
sans-serif;
|
|
213
|
+
--nc-type-display-xl-font-size: 72px;
|
|
214
|
+
--nc-type-display-xl-font-weight: 600;
|
|
215
|
+
--nc-type-display-xl-line-height: 74px;
|
|
216
|
+
--nc-type-display-xl-letter-spacing: -1.5px;
|
|
217
|
+
--nc-type-display-lg-font-family:
|
|
218
|
+
Geist,
|
|
219
|
+
Inter,
|
|
220
|
+
system-ui,
|
|
221
|
+
-apple-system,
|
|
222
|
+
sans-serif;
|
|
223
|
+
--nc-type-display-lg-font-size: 52px;
|
|
224
|
+
--nc-type-display-lg-font-weight: 600;
|
|
225
|
+
--nc-type-display-lg-line-height: 54px;
|
|
226
|
+
--nc-type-display-lg-letter-spacing: -1px;
|
|
227
|
+
--nc-type-display-md-font-family:
|
|
228
|
+
Geist,
|
|
229
|
+
Inter,
|
|
230
|
+
system-ui,
|
|
231
|
+
-apple-system,
|
|
232
|
+
sans-serif;
|
|
233
|
+
--nc-type-display-md-font-size: 24px;
|
|
234
|
+
--nc-type-display-md-font-weight: 600;
|
|
235
|
+
--nc-type-display-md-line-height: 32px;
|
|
236
|
+
--nc-type-display-md-letter-spacing: 0px;
|
|
237
|
+
--nc-type-display-sm-font-family:
|
|
238
|
+
Geist,
|
|
239
|
+
Inter,
|
|
240
|
+
system-ui,
|
|
241
|
+
-apple-system,
|
|
242
|
+
sans-serif;
|
|
243
|
+
--nc-type-display-sm-font-size: 20px;
|
|
244
|
+
--nc-type-display-sm-font-weight: 600;
|
|
245
|
+
--nc-type-display-sm-line-height: 28px;
|
|
246
|
+
--nc-type-display-sm-letter-spacing: 0px;
|
|
247
|
+
--nc-type-title-lg-font-family:
|
|
248
|
+
Geist,
|
|
249
|
+
Inter,
|
|
250
|
+
system-ui,
|
|
251
|
+
-apple-system,
|
|
252
|
+
sans-serif;
|
|
253
|
+
--nc-type-title-lg-font-size: 40px;
|
|
254
|
+
--nc-type-title-lg-font-weight: 600;
|
|
255
|
+
--nc-type-title-lg-line-height: 41px;
|
|
256
|
+
--nc-type-title-lg-letter-spacing: 0px;
|
|
257
|
+
--nc-type-title-md-font-family:
|
|
258
|
+
Geist,
|
|
259
|
+
Inter,
|
|
260
|
+
system-ui,
|
|
261
|
+
-apple-system,
|
|
262
|
+
sans-serif;
|
|
263
|
+
--nc-type-title-md-font-size: 30px;
|
|
264
|
+
--nc-type-title-md-font-weight: 600;
|
|
265
|
+
--nc-type-title-md-line-height: 32px;
|
|
266
|
+
--nc-type-title-md-letter-spacing: 0px;
|
|
267
|
+
--nc-type-title-sm-font-family:
|
|
268
|
+
Geist,
|
|
269
|
+
Inter,
|
|
270
|
+
system-ui,
|
|
271
|
+
-apple-system,
|
|
272
|
+
sans-serif;
|
|
273
|
+
--nc-type-title-sm-font-size: 22px;
|
|
274
|
+
--nc-type-title-sm-font-weight: 600;
|
|
275
|
+
--nc-type-title-sm-line-height: 25px;
|
|
276
|
+
--nc-type-title-sm-letter-spacing: 0px;
|
|
277
|
+
--nc-type-body-lg-font-family:
|
|
278
|
+
Geist,
|
|
279
|
+
Inter,
|
|
280
|
+
system-ui,
|
|
281
|
+
-apple-system,
|
|
282
|
+
sans-serif;
|
|
283
|
+
--nc-type-body-lg-font-size: 18px;
|
|
284
|
+
--nc-type-body-lg-font-weight: 400;
|
|
285
|
+
--nc-type-body-lg-line-height: 27px;
|
|
286
|
+
--nc-type-body-lg-letter-spacing: 0px;
|
|
287
|
+
--nc-type-body-md-font-family:
|
|
288
|
+
Geist,
|
|
289
|
+
Inter,
|
|
290
|
+
system-ui,
|
|
291
|
+
-apple-system,
|
|
292
|
+
sans-serif;
|
|
293
|
+
--nc-type-body-md-font-size: 16px;
|
|
294
|
+
--nc-type-body-md-font-weight: 400;
|
|
295
|
+
--nc-type-body-md-line-height: 25px;
|
|
296
|
+
--nc-type-body-md-letter-spacing: 0px;
|
|
297
|
+
--nc-type-body-md-strong-font-family:
|
|
298
|
+
Geist,
|
|
299
|
+
Inter,
|
|
300
|
+
system-ui,
|
|
301
|
+
-apple-system,
|
|
302
|
+
sans-serif;
|
|
303
|
+
--nc-type-body-md-strong-font-size: 16px;
|
|
304
|
+
--nc-type-body-md-strong-font-weight: 500;
|
|
305
|
+
--nc-type-body-md-strong-line-height: 24px;
|
|
306
|
+
--nc-type-body-md-strong-letter-spacing: 0px;
|
|
307
|
+
--nc-type-body-sm-font-family:
|
|
308
|
+
Geist,
|
|
309
|
+
Inter,
|
|
310
|
+
system-ui,
|
|
311
|
+
-apple-system,
|
|
312
|
+
sans-serif;
|
|
313
|
+
--nc-type-body-sm-font-size: 14px;
|
|
314
|
+
--nc-type-body-sm-font-weight: 400;
|
|
315
|
+
--nc-type-body-sm-line-height: 20px;
|
|
316
|
+
--nc-type-body-sm-letter-spacing: 0px;
|
|
317
|
+
--nc-type-body-sm-strong-font-family:
|
|
318
|
+
Geist,
|
|
319
|
+
Inter,
|
|
320
|
+
system-ui,
|
|
321
|
+
-apple-system,
|
|
322
|
+
sans-serif;
|
|
323
|
+
--nc-type-body-sm-strong-font-size: 14px;
|
|
324
|
+
--nc-type-body-sm-strong-font-weight: 500;
|
|
325
|
+
--nc-type-body-sm-strong-line-height: 20px;
|
|
326
|
+
--nc-type-body-sm-strong-letter-spacing: 0px;
|
|
327
|
+
--nc-type-caption-font-family:
|
|
328
|
+
Geist,
|
|
329
|
+
Inter,
|
|
330
|
+
system-ui,
|
|
331
|
+
-apple-system,
|
|
332
|
+
sans-serif;
|
|
333
|
+
--nc-type-caption-font-size: 12px;
|
|
334
|
+
--nc-type-caption-font-weight: 400;
|
|
335
|
+
--nc-type-caption-line-height: 16px;
|
|
336
|
+
--nc-type-caption-letter-spacing: 0px;
|
|
337
|
+
--nc-type-caption-strong-font-family:
|
|
338
|
+
Geist,
|
|
339
|
+
Inter,
|
|
340
|
+
system-ui,
|
|
341
|
+
-apple-system,
|
|
342
|
+
sans-serif;
|
|
343
|
+
--nc-type-caption-strong-font-size: 12px;
|
|
344
|
+
--nc-type-caption-strong-font-weight: 500;
|
|
345
|
+
--nc-type-caption-strong-line-height: 16px;
|
|
346
|
+
--nc-type-caption-strong-letter-spacing: 0px;
|
|
347
|
+
--nc-type-caption-mono-font-family:
|
|
348
|
+
Geist Mono,
|
|
349
|
+
ui-monospace,
|
|
350
|
+
SFMono-Regular,
|
|
351
|
+
Menlo,
|
|
352
|
+
Monaco,
|
|
353
|
+
monospace;
|
|
354
|
+
--nc-type-caption-mono-font-size: 12px;
|
|
355
|
+
--nc-type-caption-mono-font-weight: 500;
|
|
356
|
+
--nc-type-caption-mono-line-height: 16px;
|
|
357
|
+
--nc-type-caption-mono-letter-spacing: 0px;
|
|
358
|
+
--nc-type-code-font-family:
|
|
359
|
+
Geist Mono,
|
|
360
|
+
ui-monospace,
|
|
361
|
+
SFMono-Regular,
|
|
362
|
+
Menlo,
|
|
363
|
+
Monaco,
|
|
364
|
+
monospace;
|
|
365
|
+
--nc-type-code-font-size: 13px;
|
|
366
|
+
--nc-type-code-font-weight: 400;
|
|
367
|
+
--nc-type-code-line-height: 20px;
|
|
368
|
+
--nc-type-code-letter-spacing: 0px;
|
|
369
|
+
--nc-type-button-md-font-family:
|
|
370
|
+
Geist,
|
|
371
|
+
Inter,
|
|
372
|
+
system-ui,
|
|
373
|
+
-apple-system,
|
|
374
|
+
sans-serif;
|
|
375
|
+
--nc-type-button-md-font-size: 14px;
|
|
376
|
+
--nc-type-button-md-font-weight: 500;
|
|
377
|
+
--nc-type-button-md-line-height: 18px;
|
|
378
|
+
--nc-type-button-md-letter-spacing: 0px;
|
|
379
|
+
--nc-type-button-lg-font-family:
|
|
380
|
+
Geist,
|
|
381
|
+
Inter,
|
|
382
|
+
system-ui,
|
|
383
|
+
-apple-system,
|
|
384
|
+
sans-serif;
|
|
385
|
+
--nc-type-button-lg-font-size: 16px;
|
|
386
|
+
--nc-type-button-lg-font-weight: 500;
|
|
387
|
+
--nc-type-button-lg-line-height: 24px;
|
|
388
|
+
--nc-type-button-lg-letter-spacing: 0px;
|
|
389
|
+
--nc-material-scrim-opacity: 10%;
|
|
390
|
+
--nc-material-glass-opacity: 76%;
|
|
391
|
+
--nc-material-glass-saturation: 116%;
|
|
392
|
+
--nc-material-glass-blur: 28px;
|
|
393
|
+
--nc-elevation-resting:
|
|
394
|
+
0px 17.54px 23.39px 0px rgb(0% 0% 0% / 0.04),
|
|
395
|
+
0px 9.4px 12.5px 0px rgb(0% 0% 0% / 0.03),
|
|
396
|
+
0px 5.25px 7px 0px rgb(0% 0% 0% / 0.02),
|
|
397
|
+
0px 2.79px 3.72px -2px rgb(0% 0% 0% / 0.01),
|
|
398
|
+
0px 1.16px 1.5px 0px rgb(0% 0% 0% / 0.01),
|
|
399
|
+
0px 0px 0px 1px rgb(0% 0% 0% / 0.05);
|
|
400
|
+
--nc-elevation-raised:
|
|
401
|
+
0px 25px 50px 0px rgb(0% 0% 0% / 0.05),
|
|
402
|
+
0px 12px 24px 0px rgb(0% 0% 0% / 0.04),
|
|
403
|
+
0px 6px 12px 0px rgb(0% 0% 0% / 0.03),
|
|
404
|
+
0px 3px 6px 0px rgb(0% 0% 0% / 0.02),
|
|
405
|
+
0px 1.5px 3px 0px rgb(0% 0% 0% / 0.02),
|
|
406
|
+
0px 0px 0px 1px rgb(0% 0% 0% / 0.05);
|
|
407
|
+
--nc-elevation-floating:
|
|
408
|
+
0px 40px 80px 0px rgb(0% 0% 0% / 0.06),
|
|
409
|
+
0px 20px 40px 0px rgb(0% 0% 0% / 0.05),
|
|
410
|
+
0px 10px 20px 0px rgb(0% 0% 0% / 0.04),
|
|
411
|
+
0px 5px 10px 0px rgb(0% 0% 0% / 0.03),
|
|
412
|
+
0px 2px 4px 0px rgb(0% 0% 0% / 0.02),
|
|
413
|
+
0px 0px 0px 1px rgb(0% 0% 0% / 0.05);
|
|
414
|
+
--nc-elevation-modal:
|
|
415
|
+
0px 60px 120px 0px rgb(0% 0% 0% / 0.07),
|
|
416
|
+
0px 30px 60px 0px rgb(0% 0% 0% / 0.06),
|
|
417
|
+
0px 15px 30px 0px rgb(0% 0% 0% / 0.05),
|
|
418
|
+
0px 7.5px 15px 0px rgb(0% 0% 0% / 0.04),
|
|
419
|
+
0px 3px 6px 0px rgb(0% 0% 0% / 0.03),
|
|
420
|
+
0px 0px 0px 1px rgb(0% 0% 0% / 0.05);
|
|
421
|
+
--nc-duration-stagger: 60ms;
|
|
422
|
+
--nc-duration-control: 100ms;
|
|
423
|
+
--nc-duration-close: 140ms;
|
|
424
|
+
--nc-duration-confirm: 180ms;
|
|
425
|
+
--nc-duration-open: 220ms;
|
|
426
|
+
--nc-duration-msg-in: 240ms;
|
|
427
|
+
--nc-duration-transition: 240ms;
|
|
428
|
+
--nc-duration-drawer-swipe: 400ms;
|
|
429
|
+
--nc-duration-drawer: 450ms;
|
|
430
|
+
--nc-duration-spin: 600ms;
|
|
431
|
+
--nc-duration-typing: 1s;
|
|
432
|
+
--nc-duration-pulse: 1.6s;
|
|
433
|
+
--nc-duration-shimmer: 2s;
|
|
434
|
+
--nc-ease-emphasized: cubic-bezier(0.3, 0.7, 0.2, 1);
|
|
435
|
+
--nc-ease-out-strong: cubic-bezier(0.23, 1, 0.32, 1);
|
|
436
|
+
--nc-ease-in-out-strong: cubic-bezier(0.77, 0, 0.175, 1);
|
|
437
|
+
--nc-ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
|
|
438
|
+
--nc-section: 192px;
|
|
439
|
+
--nc-page-pad: 24px;
|
|
440
|
+
--nc-page-max-mobile: 448px;
|
|
441
|
+
--nc-page-max-tablet: 624px;
|
|
442
|
+
--nc-page-max-desktop: 1440px;
|
|
443
|
+
--nc-frame-max: 1392px;
|
|
444
|
+
--nc-frame-gap: 24px;
|
|
445
|
+
--nc-cell-padding: 24px;
|
|
446
|
+
--nc-section-gap: 48px;
|
|
447
|
+
--nc-cross-size-mobile: 11px;
|
|
448
|
+
--nc-cross-size-tablet: 15px;
|
|
449
|
+
--nc-cross-size-desktop: 21px;
|
|
450
|
+
--nc-h-strip-mobile: 72px;
|
|
451
|
+
--nc-h-strip-tablet: 80px;
|
|
452
|
+
--nc-h-strip-desktop: 88px;
|
|
453
|
+
--nc-h-cell-sm: 120px;
|
|
454
|
+
--nc-h-cell-md-mobile: 144px;
|
|
455
|
+
--nc-h-cell-md-tablet: 160px;
|
|
456
|
+
--nc-h-cell-md-desktop: 168px;
|
|
457
|
+
--nc-h-cell-lg-mobile: 220px;
|
|
458
|
+
--nc-h-cell-lg-desktop: 240px;
|
|
459
|
+
--nc-h-visual-mobile: 276px;
|
|
460
|
+
--nc-h-visual-tablet: 318px;
|
|
461
|
+
--nc-h-visual-desktop: 360px;
|
|
462
|
+
--nc-h-precision-mobile: 276px;
|
|
463
|
+
--nc-h-precision-tablet: 480px;
|
|
464
|
+
--nc-h-precision-desktop: 720px;
|
|
465
|
+
--nc-h-hero-mobile: 560px;
|
|
466
|
+
--nc-h-hero-desktop: 720px;
|
|
467
|
+
--nc-h-action-strip-mobile: 20px;
|
|
468
|
+
--nc-h-action-strip-desktop: 32px;
|
|
469
|
+
--nc-h-action-body-mobile: 320px;
|
|
470
|
+
--nc-h-action-body-tablet: 338px;
|
|
471
|
+
--nc-h-action-band: 260px;
|
|
472
|
+
--nc-h-feature-mobile: 360px;
|
|
473
|
+
--nc-h-feature-tablet: 400px;
|
|
474
|
+
--nc-h-feature-desktop: 456px;
|
|
475
|
+
--nc-h-editorial-feature-mobile: 360px;
|
|
476
|
+
--nc-h-editorial-feature-tablet: 440px;
|
|
477
|
+
--nc-h-editorial-feature-desktop: 560px;
|
|
478
|
+
--nc-h-bento-primary: 384px;
|
|
479
|
+
--nc-h-bento-secondary: 240px;
|
|
480
|
+
--nc-h-bento-mobile-copy: 248px;
|
|
481
|
+
--nc-h-bento-mobile-main: 537px;
|
|
482
|
+
--nc-h-bento-strip: 20px;
|
|
483
|
+
--nc-filter-chip-gap: 6px;
|
|
484
|
+
--nc-filter-chip-height: 28px;
|
|
485
|
+
--nc-filter-chip-icon: 14px;
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
/* src/css/modes.generated.css */
|
|
490
|
+
@layer theme {
|
|
491
|
+
.dark {
|
|
492
|
+
--nc-canvas: var(--nc-dark-canvas);
|
|
493
|
+
--nc-canvas-soft: var(--nc-dark-canvas-soft);
|
|
494
|
+
--nc-canvas-soft-2: var(--nc-dark-canvas-soft-2);
|
|
495
|
+
--nc-material-workspace: var(--nc-dark-material-workspace);
|
|
496
|
+
--nc-material-solid: var(--nc-dark-material-solid);
|
|
497
|
+
--nc-ink: var(--nc-dark-ink);
|
|
498
|
+
--nc-body: var(--nc-dark-body);
|
|
499
|
+
--nc-muted: var(--nc-dark-muted);
|
|
500
|
+
--nc-line: var(--nc-dark-line);
|
|
501
|
+
--nc-input: var(--nc-dark-input);
|
|
502
|
+
--nc-seam: var(--nc-dark-seam);
|
|
503
|
+
--nc-primary: var(--nc-dark-primary);
|
|
504
|
+
--nc-on-primary: var(--nc-dark-on-primary);
|
|
505
|
+
--nc-action: var(--nc-dark-action);
|
|
506
|
+
--nc-action-foreground: var(--nc-dark-action-foreground);
|
|
507
|
+
--nc-action-hover: var(--nc-dark-action-hover);
|
|
508
|
+
--nc-action-active: var(--nc-dark-action-active);
|
|
509
|
+
--nc-link: var(--nc-dark-link);
|
|
510
|
+
--nc-link-deep: var(--nc-dark-link-deep);
|
|
511
|
+
--nc-link-bg-soft: var(--nc-dark-link-bg-soft);
|
|
512
|
+
--nc-focus-ring: var(--nc-dark-focus-ring);
|
|
513
|
+
--nc-scrim: var(--nc-dark-scrim);
|
|
514
|
+
--nc-error: var(--nc-dark-error);
|
|
515
|
+
--nc-error-soft: var(--nc-dark-error-soft);
|
|
516
|
+
--nc-error-deep: var(--nc-dark-error-deep);
|
|
517
|
+
--nc-warning: var(--nc-dark-warning);
|
|
518
|
+
--nc-warning-soft: var(--nc-dark-warning-soft);
|
|
519
|
+
--nc-warning-deep: var(--nc-dark-warning-deep);
|
|
520
|
+
--nc-info: var(--nc-dark-info);
|
|
521
|
+
--nc-info-soft: var(--nc-dark-info-soft);
|
|
522
|
+
--nc-info-deep: var(--nc-dark-info-deep);
|
|
523
|
+
--nc-success: var(--nc-dark-success);
|
|
524
|
+
--nc-success-soft: var(--nc-dark-success-soft);
|
|
525
|
+
--nc-success-deep: var(--nc-dark-success-deep);
|
|
526
|
+
--nc-state-ready: var(--nc-dark-state-ready);
|
|
527
|
+
--nc-state-running: var(--nc-dark-state-running);
|
|
528
|
+
--nc-state-review: var(--nc-dark-state-review);
|
|
529
|
+
--nc-state-blocked: var(--nc-dark-state-blocked);
|
|
530
|
+
--nc-state-complete: var(--nc-dark-state-complete);
|
|
531
|
+
--nc-selection-bg: var(--nc-dark-selection-bg);
|
|
532
|
+
--nc-selection-fg: var(--nc-dark-selection-fg);
|
|
533
|
+
--nc-navigation-selection-bg: var(--nc-dark-navigation-selection-bg);
|
|
534
|
+
--nc-navigation-selection-fg: var(--nc-dark-navigation-selection-fg);
|
|
535
|
+
--nc-navigation-selection-hover: var(--nc-dark-navigation-selection-hover);
|
|
536
|
+
--nc-cross: var(--nc-dark-cross);
|
|
537
|
+
--nc-verde-vivo: var(--nc-dark-verde-vivo);
|
|
538
|
+
--nc-chart-1: var(--nc-dark-chart-1);
|
|
539
|
+
--nc-chart-2: var(--nc-dark-chart-2);
|
|
540
|
+
--nc-chart-3: var(--nc-dark-chart-3);
|
|
541
|
+
--nc-chart-4: var(--nc-dark-chart-4);
|
|
542
|
+
--nc-chart-5: var(--nc-dark-chart-5);
|
|
543
|
+
--nc-chart-6: var(--nc-dark-chart-6);
|
|
544
|
+
--nc-chart-seq-1: var(--nc-dark-chart-seq-1);
|
|
545
|
+
--nc-chart-seq-2: var(--nc-dark-chart-seq-2);
|
|
546
|
+
--nc-chart-seq-3: var(--nc-dark-chart-seq-3);
|
|
547
|
+
--nc-chart-seq-4: var(--nc-dark-chart-seq-4);
|
|
548
|
+
--nc-chart-seq-5: var(--nc-dark-chart-seq-5);
|
|
549
|
+
--nc-chart-div-warm: var(--nc-dark-chart-div-warm);
|
|
550
|
+
--nc-chart-div-mid: var(--nc-dark-chart-div-mid);
|
|
551
|
+
--nc-chart-div-cool: var(--nc-dark-chart-div-cool);
|
|
552
|
+
--nc-elevation-resting:
|
|
553
|
+
0px 17.54px 23.39px 0px rgb(0% 0% 0% / 0.04),
|
|
554
|
+
0px 9.4px 12.5px 0px rgb(0% 0% 0% / 0.03),
|
|
555
|
+
0px 5.25px 7px 0px rgb(0% 0% 0% / 0.02),
|
|
556
|
+
0px 2.79px 3.72px -2px rgb(0% 0% 0% / 0.01),
|
|
557
|
+
0px 1.16px 1.5px 0px rgb(0% 0% 0% / 0.01),
|
|
558
|
+
0px 0px 0px 1px rgb(100% 100% 100% / 0.18);
|
|
559
|
+
--nc-elevation-raised:
|
|
560
|
+
0px 25px 50px 0px rgb(0% 0% 0% / 0.05),
|
|
561
|
+
0px 12px 24px 0px rgb(0% 0% 0% / 0.04),
|
|
562
|
+
0px 6px 12px 0px rgb(0% 0% 0% / 0.03),
|
|
563
|
+
0px 3px 6px 0px rgb(0% 0% 0% / 0.02),
|
|
564
|
+
0px 1.5px 3px 0px rgb(0% 0% 0% / 0.02),
|
|
565
|
+
0px 0px 0px 1px rgb(100% 100% 100% / 0.18);
|
|
566
|
+
--nc-elevation-floating:
|
|
567
|
+
0px 40px 80px 0px rgb(0% 0% 0% / 0.06),
|
|
568
|
+
0px 20px 40px 0px rgb(0% 0% 0% / 0.05),
|
|
569
|
+
0px 10px 20px 0px rgb(0% 0% 0% / 0.04),
|
|
570
|
+
0px 5px 10px 0px rgb(0% 0% 0% / 0.03),
|
|
571
|
+
0px 2px 4px 0px rgb(0% 0% 0% / 0.02),
|
|
572
|
+
0px 0px 0px 1px rgb(100% 100% 100% / 0.18);
|
|
573
|
+
--nc-elevation-modal:
|
|
574
|
+
0px 60px 120px 0px rgb(0% 0% 0% / 0.07),
|
|
575
|
+
0px 30px 60px 0px rgb(0% 0% 0% / 0.06),
|
|
576
|
+
0px 15px 30px 0px rgb(0% 0% 0% / 0.05),
|
|
577
|
+
0px 7.5px 15px 0px rgb(0% 0% 0% / 0.04),
|
|
578
|
+
0px 3px 6px 0px rgb(0% 0% 0% / 0.03),
|
|
579
|
+
0px 0px 0px 1px rgb(100% 100% 100% / 0.18);
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
/* src/css/tokens.css */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nadicodeai/design-system",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.1.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
"./tokens/dtcg-resolved": "./dist/tokens/nadicode.dtcg-resolved.json",
|
|
14
14
|
"./tailwind": "./dist/tailwind/nadicode.tailwind.json",
|
|
15
15
|
"./css": "./dist/css/index.css",
|
|
16
|
+
"./css/tokens": "./dist/css/tokens.css",
|
|
16
17
|
"./icons/*": "./dist/icons/*",
|
|
17
18
|
"./favicon/*": "./dist/favicon/*",
|
|
18
19
|
"./assets/logo-mark": {
|