@iota-uz/sdk 0.1.2 → 0.3.1

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.
@@ -1,24 +1,102 @@
1
1
  /* ui/src/bichat/styles.css */
2
2
  :root {
3
- --bichat-primary: #3b82f6;
4
- --bichat-bg: #ffffff;
5
- --bichat-text: #1f2937;
6
- --bichat-border: #e5e7eb;
7
- --bichat-bubble-user: #3b82f6;
8
- --bichat-bubble-assistant: #ffffff;
9
- }
10
- @media (prefers-color-scheme: dark) {
11
- :root {
12
- --bichat-bg: #1f2937;
13
- --bichat-text: #f9fafb;
14
- --bichat-border: #374151;
15
- --bichat-bubble-assistant: #374151;
16
- }
17
- }
18
- .bichat-session {
19
- background-color: var(--bichat-bg);
20
- color: var(--bichat-text);
21
- font-family:
3
+ --bichat-spacing-0: 0;
4
+ --bichat-spacing-px: 1px;
5
+ --bichat-spacing-0_5: 0.125rem;
6
+ --bichat-spacing-1: 0.25rem;
7
+ --bichat-spacing-1_5: 0.375rem;
8
+ --bichat-spacing-2: 0.5rem;
9
+ --bichat-spacing-2_5: 0.625rem;
10
+ --bichat-spacing-3: 0.75rem;
11
+ --bichat-spacing-3_5: 0.875rem;
12
+ --bichat-spacing-4: 1rem;
13
+ --bichat-spacing-5: 1.25rem;
14
+ --bichat-spacing-6: 1.5rem;
15
+ --bichat-spacing-7: 1.75rem;
16
+ --bichat-spacing-8: 2rem;
17
+ --bichat-spacing-9: 2.25rem;
18
+ --bichat-spacing-10: 2.5rem;
19
+ --bichat-spacing-12: 3rem;
20
+ --bichat-spacing-14: 3.5rem;
21
+ --bichat-spacing-16: 4rem;
22
+ --bichat-spacing-xs: var(--bichat-spacing-1);
23
+ --bichat-spacing-sm: var(--bichat-spacing-2);
24
+ --bichat-spacing-md: var(--bichat-spacing-4);
25
+ --bichat-spacing-lg: var(--bichat-spacing-6);
26
+ --bichat-spacing-xl: var(--bichat-spacing-8);
27
+ --bichat-spacing-2xl: var(--bichat-spacing-12);
28
+ --bichat-color-gray-50: #f9fafb;
29
+ --bichat-color-gray-100: #f3f4f6;
30
+ --bichat-color-gray-200: #e5e7eb;
31
+ --bichat-color-gray-300: #d1d5db;
32
+ --bichat-color-gray-400: #9ca3af;
33
+ --bichat-color-gray-500: #6b7280;
34
+ --bichat-color-gray-600: #4b5563;
35
+ --bichat-color-gray-700: #374151;
36
+ --bichat-color-gray-800: #1f2937;
37
+ --bichat-color-gray-900: #111827;
38
+ --bichat-color-gray-950: #030712;
39
+ --bichat-color-primary-50: #eff6ff;
40
+ --bichat-color-primary-100: #dbeafe;
41
+ --bichat-color-primary-200: #bfdbfe;
42
+ --bichat-color-primary-300: #93c5fd;
43
+ --bichat-color-primary-400: #60a5fa;
44
+ --bichat-color-primary-500: #3b82f6;
45
+ --bichat-color-primary-600: #2563eb;
46
+ --bichat-color-primary-700: #1d4ed8;
47
+ --bichat-color-primary-800: #1e40af;
48
+ --bichat-color-primary-900: #1e3a8a;
49
+ --bichat-color-primary-950: #172554;
50
+ --bichat-color-success-50: #f0fdf4;
51
+ --bichat-color-success-500: #22c55e;
52
+ --bichat-color-success-600: #16a34a;
53
+ --bichat-color-success-700: #15803d;
54
+ --bichat-color-error-50: #fef2f2;
55
+ --bichat-color-error-500: #ef4444;
56
+ --bichat-color-error-600: #dc2626;
57
+ --bichat-color-error-700: #b91c1c;
58
+ --bichat-color-warning-50: #fffbeb;
59
+ --bichat-color-warning-500: #f59e0b;
60
+ --bichat-color-warning-600: #d97706;
61
+ --bichat-color-warning-700: #b45309;
62
+ --bichat-color-info-50: #eff6ff;
63
+ --bichat-color-info-500: #3b82f6;
64
+ --bichat-color-info-600: #2563eb;
65
+ --bichat-color-info-700: #1d4ed8;
66
+ --bichat-color-bg: var(--bichat-color-gray-50);
67
+ --bichat-color-bg-subtle: var(--bichat-color-gray-100);
68
+ --bichat-color-bg-muted: var(--bichat-color-gray-200);
69
+ --bichat-color-surface: #ffffff;
70
+ --bichat-color-surface-raised: #ffffff;
71
+ --bichat-color-surface-overlay: rgba(255, 255, 255, 0.9);
72
+ --bichat-color-text: var(--bichat-color-gray-900);
73
+ --bichat-color-text-secondary: var(--bichat-color-gray-600);
74
+ --bichat-color-text-muted: var(--bichat-color-gray-500);
75
+ --bichat-color-text-disabled: var(--bichat-color-gray-400);
76
+ --bichat-color-text-inverse: #ffffff;
77
+ --bichat-color-code-text: var(--bichat-color-gray-800);
78
+ --bichat-color-code-bg: var(--bichat-color-gray-100);
79
+ --bichat-color-text-icon: var(--bichat-color-gray-500);
80
+ --bichat-color-border: var(--bichat-color-gray-200);
81
+ --bichat-color-border-subtle: var(--bichat-color-gray-100);
82
+ --bichat-color-border-strong: var(--bichat-color-gray-300);
83
+ --bichat-color-accent: var(--bichat-color-primary-600);
84
+ --bichat-color-accent-hover: var(--bichat-color-primary-700);
85
+ --bichat-color-accent-muted: var(--bichat-color-primary-100);
86
+ --bichat-color-user-bubble-bg: var(--bichat-color-primary-600);
87
+ --bichat-color-user-bubble-text: #ffffff;
88
+ --bichat-color-user-bubble-border: transparent;
89
+ --bichat-color-assistant-bubble-bg: var(--bichat-color-surface);
90
+ --bichat-color-assistant-bubble-text: var(--bichat-color-text);
91
+ --bichat-color-assistant-bubble-border: var(--bichat-color-border);
92
+ --bichat-color-system-bubble-bg: var(--bichat-color-bg-subtle);
93
+ --bichat-color-system-bubble-text: var(--bichat-color-text-secondary);
94
+ --bichat-color-input-bg: var(--bichat-color-surface);
95
+ --bichat-color-input-text: var(--bichat-color-text);
96
+ --bichat-color-input-border: var(--bichat-color-border);
97
+ --bichat-color-input-focus-border: var(--bichat-color-accent);
98
+ --bichat-color-input-placeholder: var(--bichat-color-text-muted);
99
+ --bichat-font-family:
22
100
  -apple-system,
23
101
  BlinkMacSystemFont,
24
102
  "Segoe UI",
@@ -30,9 +108,194 @@
30
108
  "Droid Sans",
31
109
  "Helvetica Neue",
32
110
  sans-serif;
111
+ --bichat-font-family-mono:
112
+ ui-monospace,
113
+ SFMono-Regular,
114
+ "SF Mono",
115
+ Menlo,
116
+ Consolas,
117
+ "Liberation Mono",
118
+ monospace;
119
+ --bichat-font-size-xs: 0.75rem;
120
+ --bichat-font-size-sm: 0.875rem;
121
+ --bichat-font-size-base: 1rem;
122
+ --bichat-font-size-lg: 1.125rem;
123
+ --bichat-font-size-xl: 1.25rem;
124
+ --bichat-font-size-2xl: 1.5rem;
125
+ --bichat-font-size-3xl: 1.875rem;
126
+ --bichat-font-weight-normal: 400;
127
+ --bichat-font-weight-medium: 500;
128
+ --bichat-font-weight-semibold: 600;
129
+ --bichat-font-weight-bold: 700;
130
+ --bichat-line-height-tight: 1.25;
131
+ --bichat-line-height-normal: 1.5;
132
+ --bichat-line-height-relaxed: 1.625;
133
+ --bichat-letter-spacing-tight: -0.025em;
134
+ --bichat-letter-spacing-normal: 0;
135
+ --bichat-letter-spacing-wide: 0.025em;
136
+ --bichat-radius-none: 0;
137
+ --bichat-radius-sm: 0.125rem;
138
+ --bichat-radius-default: 0.25rem;
139
+ --bichat-radius-md: 0.375rem;
140
+ --bichat-radius-lg: 0.5rem;
141
+ --bichat-radius-xl: 0.75rem;
142
+ --bichat-radius-2xl: 1rem;
143
+ --bichat-radius-3xl: 1.5rem;
144
+ --bichat-radius-full: 9999px;
145
+ --bichat-radius-bubble: var(--bichat-radius-2xl);
146
+ --bichat-radius-bubble-tail: var(--bichat-radius-sm);
147
+ --bichat-radius-button: var(--bichat-radius-lg);
148
+ --bichat-radius-input: var(--bichat-radius-lg);
149
+ --bichat-radius-card: var(--bichat-radius-xl);
150
+ --bichat-radius-modal: var(--bichat-radius-2xl);
151
+ --bichat-shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
152
+ --bichat-shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
153
+ --bichat-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
154
+ --bichat-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
155
+ --bichat-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
156
+ --bichat-shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
157
+ --bichat-shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
158
+ --bichat-shadow-none: 0 0 #0000;
159
+ --bichat-ring-width: 2px;
160
+ --bichat-ring-offset: 2px;
161
+ --bichat-ring-color: var(--bichat-color-primary-500);
162
+ --bichat-focus-ring: 0 0 0 var(--bichat-ring-width) var(--bichat-ring-color);
163
+ --bichat-focus-ring-offset: 0 0 0 var(--bichat-ring-offset) var(--bichat-color-surface);
164
+ --bichat-transition-fast: 100ms;
165
+ --bichat-transition-normal: 150ms;
166
+ --bichat-transition-slow: 200ms;
167
+ --bichat-transition-slower: 300ms;
168
+ --bichat-ease-default: cubic-bezier(0.4, 0, 0.2, 1);
169
+ --bichat-ease-in: cubic-bezier(0.4, 0, 1, 1);
170
+ --bichat-ease-out: cubic-bezier(0, 0, 0.2, 1);
171
+ --bichat-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
172
+ --bichat-ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
173
+ --bichat-z-base: 0;
174
+ --bichat-z-dropdown: 10;
175
+ --bichat-z-sticky: 20;
176
+ --bichat-z-overlay: 30;
177
+ --bichat-z-modal: 40;
178
+ --bichat-z-popover: 50;
179
+ --bichat-z-toast: 60;
180
+ --bichat-z-tooltip: 70;
181
+ --bichat-avatar-size-sm: 1.5rem;
182
+ --bichat-avatar-size-md: 2rem;
183
+ --bichat-avatar-size-lg: 2.5rem;
184
+ --bichat-avatar-size-xl: 3rem;
185
+ --bichat-bubble-max-width: 75%;
186
+ --bichat-bubble-assistant-max-width: 85%;
187
+ --bichat-input-min-height: 2.5rem;
188
+ --bichat-input-max-height: 12rem;
189
+ --bichat-primary: var(--bichat-color-primary-500);
190
+ --bichat-bg: var(--bichat-color-bg);
191
+ --bichat-text: var(--bichat-color-text);
192
+ --bichat-border: var(--bichat-color-border);
193
+ --bichat-bubble-user: var(--bichat-color-user-bubble-bg);
194
+ --bichat-bubble-assistant: var(--bichat-color-assistant-bubble-bg);
195
+ }
196
+ .dark,
197
+ [data-theme=dark] {
198
+ --bichat-color-bg: var(--bichat-color-gray-900);
199
+ --bichat-color-bg-subtle: var(--bichat-color-gray-800);
200
+ --bichat-color-bg-muted: var(--bichat-color-gray-700);
201
+ --bichat-color-surface: var(--bichat-color-gray-800);
202
+ --bichat-color-surface-raised: var(--bichat-color-gray-750, #2d3748);
203
+ --bichat-color-surface-overlay: rgba(31, 41, 55, 0.9);
204
+ --bichat-color-text: var(--bichat-color-gray-100);
205
+ --bichat-color-text-secondary: var(--bichat-color-gray-300);
206
+ --bichat-color-text-muted: var(--bichat-color-gray-400);
207
+ --bichat-color-text-disabled: var(--bichat-color-gray-500);
208
+ --bichat-color-code-text: var(--bichat-color-gray-200);
209
+ --bichat-color-code-bg: var(--bichat-color-gray-800);
210
+ --bichat-color-text-icon: var(--bichat-color-gray-400);
211
+ --bichat-color-border: var(--bichat-color-gray-700);
212
+ --bichat-color-border-subtle: var(--bichat-color-gray-800);
213
+ --bichat-color-border-strong: var(--bichat-color-gray-600);
214
+ --bichat-color-accent-muted: var(--bichat-color-primary-900);
215
+ --bichat-color-user-bubble-bg: var(--bichat-color-primary-700);
216
+ --bichat-color-assistant-bubble-bg: var(--bichat-color-gray-800);
217
+ --bichat-color-assistant-bubble-border: var(--bichat-color-gray-700);
218
+ --bichat-color-system-bubble-bg: var(--bichat-color-gray-800);
219
+ --bichat-color-input-bg: var(--bichat-color-gray-800);
220
+ --bichat-color-input-border: var(--bichat-color-gray-700);
221
+ --bichat-bg: var(--bichat-color-bg);
222
+ --bichat-text: var(--bichat-color-text);
223
+ --bichat-border: var(--bichat-color-border);
224
+ --bichat-bubble-assistant: var(--bichat-color-assistant-bubble-bg);
225
+ --bichat-shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 1px 2px -1px rgba(0, 0, 0, 0.3);
226
+ --bichat-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
227
+ --bichat-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.4);
228
+ }
229
+ .bichat-session {
230
+ background-color: var(--bichat-color-bg);
231
+ color: var(--bichat-color-text);
232
+ font-family: var(--bichat-font-family);
233
+ font-size: var(--bichat-font-size-base);
234
+ line-height: var(--bichat-line-height-normal);
33
235
  -webkit-font-smoothing: antialiased;
34
236
  -moz-osx-font-smoothing: grayscale;
35
237
  }
238
+ :host button,
239
+ :host [role=button],
240
+ :host [role=tab],
241
+ .bichat-session button,
242
+ .bichat-session [role=button],
243
+ .bichat-session [role=tab],
244
+ bi-chat-root button,
245
+ bi-chat-root [role=button],
246
+ bi-chat-root [role=tab] {
247
+ cursor: pointer;
248
+ }
249
+ :host button:disabled,
250
+ :host [role=button][aria-disabled=true],
251
+ .bichat-session button:disabled,
252
+ .bichat-session [role=button][aria-disabled=true],
253
+ bi-chat-root button:disabled,
254
+ bi-chat-root [role=button][aria-disabled=true] {
255
+ cursor: not-allowed;
256
+ }
257
+ .bichat-session button:focus-visible,
258
+ .bichat-session a:focus-visible,
259
+ .bichat-session input:focus-visible,
260
+ .bichat-session textarea:focus-visible,
261
+ .bichat-session [role=button]:focus-visible,
262
+ .bichat-session [role=menuitem]:focus-visible,
263
+ .bichat-session [role=tab]:focus-visible,
264
+ .bichat-session select:focus-visible,
265
+ .bichat-session [tabindex]:not([tabindex="-1"]):focus-visible,
266
+ bi-chat-root button:focus-visible,
267
+ bi-chat-root a:focus-visible,
268
+ bi-chat-root input:focus-visible,
269
+ bi-chat-root textarea:focus-visible,
270
+ bi-chat-root [role=button]:focus-visible,
271
+ bi-chat-root [role=menuitem]:focus-visible,
272
+ bi-chat-root [role=tab]:focus-visible,
273
+ bi-chat-root select:focus-visible,
274
+ bi-chat-root [tabindex]:not([tabindex="-1"]):focus-visible {
275
+ outline: none;
276
+ box-shadow: var(--bichat-focus-ring-offset), var(--bichat-focus-ring);
277
+ border-radius: inherit;
278
+ }
279
+ .dark .bichat-session button:focus-visible,
280
+ .dark .bichat-session a:focus-visible,
281
+ .dark .bichat-session input:focus-visible,
282
+ .dark .bichat-session textarea:focus-visible,
283
+ .dark .bichat-session [role=button]:focus-visible,
284
+ .dark .bichat-session [role=menuitem]:focus-visible,
285
+ .dark .bichat-session [role=tab]:focus-visible,
286
+ .dark .bichat-session select:focus-visible,
287
+ .dark .bichat-session [tabindex]:not([tabindex="-1"]):focus-visible,
288
+ .dark bi-chat-root button:focus-visible,
289
+ .dark bi-chat-root a:focus-visible,
290
+ .dark bi-chat-root input:focus-visible,
291
+ .dark bi-chat-root textarea:focus-visible,
292
+ .dark bi-chat-root [role=button]:focus-visible,
293
+ .dark bi-chat-root [role=menuitem]:focus-visible,
294
+ .dark bi-chat-root [role=tab]:focus-visible,
295
+ .dark bi-chat-root select:focus-visible,
296
+ .dark bi-chat-root [tabindex]:not([tabindex="-1"]):focus-visible {
297
+ --bichat-focus-ring: 0 0 0 var(--bichat-ring-width) var(--bichat-color-primary-400);
298
+ }
36
299
  .bichat-messages::-webkit-scrollbar {
37
300
  width: 8px;
38
301
  }
@@ -40,13 +303,19 @@
40
303
  background: transparent;
41
304
  }
42
305
  .bichat-messages::-webkit-scrollbar-thumb {
43
- background: #d1d5db;
44
- border-radius: 4px;
306
+ background: var(--bichat-color-gray-300);
307
+ border-radius: var(--bichat-radius-full);
45
308
  }
46
309
  .bichat-messages::-webkit-scrollbar-thumb:hover {
47
- background: #9ca3af;
310
+ background: var(--bichat-color-gray-400);
311
+ }
312
+ .dark .bichat-messages::-webkit-scrollbar-thumb {
313
+ background: var(--bichat-color-gray-600);
314
+ }
315
+ .dark .bichat-messages::-webkit-scrollbar-thumb:hover {
316
+ background: var(--bichat-color-gray-500);
48
317
  }
49
- @keyframes pulse {
318
+ @keyframes bichat-pulse {
50
319
  0%, 100% {
51
320
  opacity: 1;
52
321
  }
@@ -54,11 +323,126 @@
54
323
  opacity: 0;
55
324
  }
56
325
  }
326
+ @keyframes bichat-bounce {
327
+ 0%, 100% {
328
+ transform: translateY(0);
329
+ animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
330
+ }
331
+ 50% {
332
+ transform: translateY(-25%);
333
+ animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
334
+ }
335
+ }
336
+ @keyframes bichat-spin {
337
+ from {
338
+ transform: rotate(0deg);
339
+ }
340
+ to {
341
+ transform: rotate(360deg);
342
+ }
343
+ }
344
+ @keyframes bichat-fade-in {
345
+ from {
346
+ opacity: 0;
347
+ }
348
+ to {
349
+ opacity: 1;
350
+ }
351
+ }
352
+ @keyframes bichat-slide-up {
353
+ from {
354
+ opacity: 0;
355
+ transform: translateY(10px);
356
+ }
357
+ to {
358
+ opacity: 1;
359
+ transform: translateY(0);
360
+ }
361
+ }
57
362
  .animate-pulse {
58
- animation: pulse 1s cubic-bezier(0.4, 0, 0.6, 1) infinite;
363
+ animation: bichat-pulse 1s var(--bichat-ease-in-out) infinite;
364
+ }
365
+ .animate-bounce {
366
+ animation: bichat-bounce 1s infinite;
367
+ }
368
+ .animate-spin {
369
+ animation: bichat-spin 1s linear infinite;
370
+ }
371
+ .animate-fade-in {
372
+ animation: bichat-fade-in var(--bichat-transition-normal) var(--bichat-ease-out);
373
+ }
374
+ .animate-slide-up {
375
+ animation: bichat-slide-up var(--bichat-transition-slow) var(--bichat-ease-out);
376
+ }
377
+ .bichat-thinking-shimmer {
378
+ -webkit-mask-image:
379
+ linear-gradient(
380
+ -45deg,
381
+ rgba(0, 0, 0, 1) 20%,
382
+ rgba(0, 0, 0, 1) 40%,
383
+ rgba(0, 0, 0, 0.2) 50%,
384
+ rgba(0, 0, 0, 1) 60%,
385
+ rgba(0, 0, 0, 1) 80%);
386
+ mask-image:
387
+ linear-gradient(
388
+ -45deg,
389
+ rgba(0, 0, 0, 1) 20%,
390
+ rgba(0, 0, 0, 1) 40%,
391
+ rgba(0, 0, 0, 0.2) 50%,
392
+ rgba(0, 0, 0, 1) 60%,
393
+ rgba(0, 0, 0, 1) 80%);
394
+ -webkit-mask-size: 300% 100%;
395
+ mask-size: 300% 100%;
396
+ animation: bichat-thinking-shimmer 4.5s linear infinite;
397
+ }
398
+ .dark .bichat-thinking-shimmer {
399
+ -webkit-mask-image:
400
+ linear-gradient(
401
+ -45deg,
402
+ rgba(0, 0, 0, 1) 15%,
403
+ rgba(0, 0, 0, 1) 35%,
404
+ rgba(0, 0, 0, 0.3) 50%,
405
+ rgba(0, 0, 0, 1) 65%,
406
+ rgba(0, 0, 0, 1) 85%);
407
+ mask-image:
408
+ linear-gradient(
409
+ -45deg,
410
+ rgba(0, 0, 0, 1) 15%,
411
+ rgba(0, 0, 0, 1) 35%,
412
+ rgba(0, 0, 0, 0.3) 50%,
413
+ rgba(0, 0, 0, 1) 65%,
414
+ rgba(0, 0, 0, 1) 85%);
415
+ }
416
+ @media (prefers-reduced-motion: reduce) {
417
+ .bichat-thinking-shimmer,
418
+ .animate-pulse,
419
+ .animate-bounce,
420
+ .animate-spin,
421
+ .animate-fade-in,
422
+ .animate-slide-up {
423
+ animation: none;
424
+ }
425
+ }
426
+ @keyframes bichat-thinking-shimmer {
427
+ 0% {
428
+ -webkit-mask-position: 130% 0;
429
+ mask-position: 130% 0;
430
+ }
431
+ 100% {
432
+ -webkit-mask-position: -30% 0;
433
+ mask-position: -30% 0;
434
+ }
59
435
  }
60
436
  .prose {
61
- color: var(--bichat-text);
437
+ color: var(--bichat-color-text);
438
+ font-size: var(--bichat-font-size-base);
439
+ line-height: var(--bichat-line-height-relaxed);
440
+ }
441
+ .prose > :first-child {
442
+ margin-top: 0;
443
+ }
444
+ .prose > :last-child {
445
+ margin-bottom: 0;
62
446
  }
63
447
  .prose h1,
64
448
  .prose h2,
@@ -66,39 +450,71 @@
66
450
  .prose h4,
67
451
  .prose h5,
68
452
  .prose h6 {
69
- color: var(--bichat-text);
70
- font-weight: 600;
453
+ color: var(--bichat-color-text);
454
+ font-weight: var(--bichat-font-weight-semibold);
71
455
  margin-top: 1.5em;
72
456
  margin-bottom: 0.5em;
457
+ line-height: var(--bichat-line-height-tight);
458
+ }
459
+ .prose h1 {
460
+ font-size: 1.625rem;
461
+ font-weight: var(--bichat-font-weight-bold);
462
+ }
463
+ .prose h2 {
464
+ font-size: 1.375rem;
465
+ margin-top: 2em;
466
+ }
467
+ .prose h3 {
468
+ font-size: var(--bichat-font-size-lg);
469
+ font-weight: var(--bichat-font-weight-semibold);
470
+ }
471
+ .prose h4 {
472
+ font-size: var(--bichat-font-size-base);
473
+ }
474
+ .prose > * + h2 {
475
+ margin-top: 2em;
73
476
  }
74
477
  .prose p {
75
478
  margin-top: 0.75em;
76
479
  margin-bottom: 0.75em;
77
480
  }
481
+ .prose strong {
482
+ font-weight: var(--bichat-font-weight-semibold);
483
+ color: var(--bichat-color-text);
484
+ }
78
485
  .prose code {
79
- background-color: #f3f4f6;
80
- padding: 0.125em 0.25em;
81
- border-radius: 0.25em;
486
+ background-color: var(--bichat-color-code-bg);
487
+ color: var(--bichat-color-code-text);
488
+ padding: 0.2em 0.5em;
489
+ border-radius: var(--bichat-radius-md);
490
+ border: 1px solid var(--bichat-color-border-subtle);
491
+ font-family: var(--bichat-font-family-mono);
82
492
  font-size: 0.875em;
83
493
  }
84
494
  .prose pre {
85
- background-color: #1f2937;
86
- color: #f9fafb;
87
- padding: 1em;
88
- border-radius: 0.5em;
495
+ background-color: var(--bichat-color-code-bg);
496
+ color: var(--bichat-color-gray-100);
497
+ padding: var(--bichat-spacing-4);
498
+ border-radius: var(--bichat-radius-lg);
89
499
  overflow-x: auto;
90
500
  margin-top: 1em;
91
501
  margin-bottom: 1em;
502
+ font-family: var(--bichat-font-family-mono);
503
+ font-size: var(--bichat-font-size-sm);
504
+ line-height: var(--bichat-line-height-relaxed);
92
505
  }
93
506
  .prose pre code {
94
507
  background-color: transparent;
95
508
  padding: 0;
96
509
  color: inherit;
97
- font-size: 0.875em;
510
+ font-size: inherit;
511
+ border-radius: 0;
512
+ border: none;
98
513
  }
99
514
  .prose a {
100
- color: var(--bichat-primary);
515
+ color: var(--bichat-color-accent);
101
516
  text-decoration: none;
517
+ font-weight: var(--bichat-font-weight-medium);
102
518
  }
103
519
  .prose a:hover {
104
520
  text-decoration: underline;
@@ -109,31 +525,66 @@
109
525
  margin-bottom: 0.75em;
110
526
  padding-left: 1.5em;
111
527
  }
528
+ .prose ul {
529
+ list-style-type: disc;
530
+ }
531
+ .prose ol {
532
+ list-style-type: decimal;
533
+ }
112
534
  .prose li {
113
535
  margin-top: 0.25em;
114
536
  margin-bottom: 0.25em;
115
537
  }
538
+ .prose li > ul,
539
+ .prose li > ol {
540
+ margin-top: 0.25em;
541
+ margin-bottom: 0.25em;
542
+ }
116
543
  .prose blockquote {
117
- border-left: 4px solid var(--bichat-border);
118
- padding-left: 1em;
544
+ border-left: 4px solid var(--bichat-color-border-strong);
545
+ padding-left: var(--bichat-spacing-4);
119
546
  margin-left: 0;
120
547
  font-style: italic;
121
- color: #6b7280;
548
+ color: var(--bichat-color-text-secondary);
549
+ }
550
+ .prose hr {
551
+ border: 0;
552
+ border-top: 1px solid var(--bichat-color-border);
553
+ margin: 2em 0;
122
554
  }
123
555
  .prose table {
124
556
  width: 100%;
125
557
  border-collapse: collapse;
126
558
  margin-top: 1em;
127
559
  margin-bottom: 1em;
560
+ font-size: var(--bichat-font-size-sm);
128
561
  }
129
562
  .prose th,
130
563
  .prose td {
131
- border: 1px solid var(--bichat-border);
132
- padding: 0.5em;
564
+ border: 1px solid var(--bichat-color-border);
565
+ padding: var(--bichat-spacing-2) var(--bichat-spacing-3);
133
566
  text-align: left;
134
567
  }
135
568
  .prose th {
136
- background-color: #f3f4f6;
137
- font-weight: 600;
569
+ background-color: var(--bichat-color-bg-subtle);
570
+ font-weight: var(--bichat-font-weight-semibold);
571
+ }
572
+ .prose tbody tr:nth-child(even) {
573
+ background-color: var(--bichat-color-bg-subtle);
574
+ }
575
+ .bichat-focus-ring:focus-visible {
576
+ outline: none;
577
+ box-shadow: 0 0 0 var(--bichat-ring-offset) var(--bichat-color-bg), 0 0 0 calc(var(--bichat-ring-offset) + var(--bichat-ring-width)) var(--bichat-ring-color);
578
+ }
579
+ .bichat-sr-only {
580
+ position: absolute;
581
+ width: 1px;
582
+ height: 1px;
583
+ padding: 0;
584
+ margin: -1px;
585
+ overflow: hidden;
586
+ clip: rect(0, 0, 0, 0);
587
+ white-space: nowrap;
588
+ border-width: 0;
138
589
  }
139
590
  /*# sourceMappingURL=index.css.map */