osi-cards-lib 1.5.32 → 1.5.34

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.
Files changed (87) hide show
  1. package/fesm2022/osi-cards-lib.mjs +31889 -0
  2. package/fesm2022/osi-cards-lib.mjs.map +1 -0
  3. package/index.d.ts +11528 -0
  4. package/package.json +25 -13
  5. package/scripts/setup-angular-styles.js +169 -0
  6. package/styles/_components.scss +38 -0
  7. package/styles/_index.scss +25 -0
  8. package/styles/_osi-cards-mixins.scss +459 -0
  9. package/styles/_osi-cards-tokens.scss +333 -0
  10. package/styles/_styles-scoped.scss +81 -0
  11. package/styles/_styles.scss +26 -0
  12. package/styles/bundles/_ai-card.scss +245 -0
  13. package/styles/bundles/_all.scss +68 -0
  14. package/styles/bundles/_base.scss +60 -0
  15. package/styles/bundles/_card-skeleton.scss +290 -0
  16. package/styles/bundles/_index.scss +25 -0
  17. package/styles/bundles/_sections.scss +48 -0
  18. package/styles/bundles/_tokens-only.scss +139 -0
  19. package/styles/components/_ai-card-renderer.scss +104 -0
  20. package/styles/components/_badges.scss +317 -0
  21. package/styles/components/_card-actions.scss +169 -0
  22. package/styles/components/_card-footer.scss +47 -0
  23. package/styles/components/_component-styles.scss +205 -0
  24. package/styles/components/_empty-state.scss +630 -0
  25. package/styles/components/_hero-card.scss +422 -0
  26. package/styles/components/_image-fallback.scss +28 -0
  27. package/styles/components/_streaming-effects.scss +518 -0
  28. package/styles/components/cards/_ai-card.scss +718 -0
  29. package/styles/components/sections/_all-sections.generated.scss +41 -0
  30. package/styles/components/sections/_all-sections.scss +1086 -0
  31. package/styles/components/sections/_balanced-compact-system.scss +186 -0
  32. package/styles/components/sections/_compact-mixins.scss +180 -0
  33. package/styles/components/sections/_component-mixins.scss +454 -0
  34. package/styles/components/sections/_design-system.scss +477 -0
  35. package/styles/components/sections/_design-tokens.scss +308 -0
  36. package/styles/components/sections/_enhanced-design-variables.scss +147 -0
  37. package/styles/components/sections/_master-compact-system.scss +302 -0
  38. package/styles/components/sections/_master-dense-system.scss +239 -0
  39. package/styles/components/sections/_minimalistic-design.scss +268 -0
  40. package/styles/components/sections/_modern-effects.scss +392 -0
  41. package/styles/components/sections/_modern-sections.scss +351 -0
  42. package/styles/components/sections/_perfect-system.scss +204 -0
  43. package/styles/components/sections/_section-animations.scss +331 -0
  44. package/styles/components/sections/_section-shell.scss +337 -0
  45. package/styles/components/sections/_section-types.generated.scss +30 -0
  46. package/styles/components/sections/_sections-all.scss +26 -0
  47. package/styles/components/sections/_sections-base.scss +334 -0
  48. package/styles/components/sections/_typography-system.scss +327 -0
  49. package/styles/components/sections/_ultra-compact-tokens.scss +375 -0
  50. package/styles/components/sections/_unified-section-style.scss +157 -0
  51. package/styles/components/sections/_utility-classes.scss +567 -0
  52. package/styles/components/sections/_visual-effects-library.scss +374 -0
  53. package/styles/core/_animations.scss +1498 -0
  54. package/styles/core/_bootstrap-reset.scss +445 -0
  55. package/styles/core/_color-helpers.scss +46 -0
  56. package/styles/core/_global-unified.scss +118 -0
  57. package/styles/core/_global.scss +73 -0
  58. package/styles/core/_mixins.scss +491 -0
  59. package/styles/core/_surface-layers.scss +76 -0
  60. package/styles/core/_utilities.scss +326 -0
  61. package/styles/core/_variables-unified.scss +57 -0
  62. package/styles/core/_variables.scss +36 -0
  63. package/styles/core/variables/_colors-source.scss +34 -0
  64. package/styles/core/variables/_colors-unified.scss +26 -0
  65. package/styles/core/variables/_colors.scss +21 -0
  66. package/styles/critical.scss +353 -0
  67. package/styles/design-system/_compact-theme.scss +159 -0
  68. package/styles/design-system/_section-base.scss +426 -0
  69. package/styles/design-system/_tokens.scss +237 -0
  70. package/styles/design-system/_unified-sections.scss +215 -0
  71. package/styles/layout/_feature-grid.scss +322 -0
  72. package/styles/layout/_masonry.scss +734 -0
  73. package/styles/layout/_tilt.scss +244 -0
  74. package/styles/micro-interactions.scss +583 -0
  75. package/styles/mixins/_section-mixins.scss +280 -0
  76. package/styles/non-critical.scss +643 -0
  77. package/styles/reset/_framework-reset.scss +457 -0
  78. package/styles/reset/_index.scss +14 -0
  79. package/styles/reset/_shadow-reset.scss +383 -0
  80. package/styles/responsive.scss +326 -0
  81. package/styles/themes.scss +573 -0
  82. package/styles/tokens/_index.scss +92 -0
  83. package/styles/tokens/_master.scss +1404 -0
  84. package/styles/tokens/_section-tokens.generated.scss +140 -0
  85. package/postcss.config.js +0 -81
  86. package/section-registry.json +0 -3864
  87. package/section-registry.schema.json +0 -264
@@ -0,0 +1,445 @@
1
+ /* ===================================================================
2
+ BOOTSTRAP & BOOSTED STYLE ISOLATION
3
+ Reset Bootstrap/Boosted Variables and Styles for Complete Isolation
4
+ =================================================================== */
5
+ /*
6
+ * This file resets all Bootstrap/Boosted CSS variables and common styles
7
+ * within OSI Cards containers to prevent style conflicts when cards are
8
+ * imported into applications that use Bootstrap or Orange Boosted.
9
+ *
10
+ * Supported Frameworks:
11
+ * - Bootstrap 5.x
12
+ * - Orange Boosted 5.x
13
+ * - DataTables
14
+ *
15
+ * Usage:
16
+ * This file is automatically imported in scoped stylesheets.
17
+ * All framework variables are reset to 'unset' within .osi-cards-container
18
+ * and .ai-card-surface to ensure complete isolation.
19
+ *
20
+ * NOTE: This file is imported INSIDE .osi-cards-container { } in _styles-scoped.scss
21
+ */
22
+
23
+ /* Reset all Bootstrap/Boosted CSS variables - applied to parent container via & */
24
+ &,
25
+ .ai-card-surface,
26
+ article.ai-card-surface {
27
+ /* Reset Bootstrap color variables */
28
+ --bs-blue: unset;
29
+ --bs-indigo: unset;
30
+ --bs-purple: unset;
31
+ --bs-pink: unset;
32
+ --bs-red: unset;
33
+ --bs-orange: unset;
34
+ --bs-yellow: unset;
35
+ --bs-green: unset;
36
+ --bs-teal: unset;
37
+ --bs-cyan: unset;
38
+ --bs-black: unset;
39
+ --bs-white: unset;
40
+ --bs-gray: unset;
41
+ --bs-gray-dark: unset;
42
+ --bs-gray-100: unset;
43
+ --bs-gray-200: unset;
44
+ --bs-gray-300: unset;
45
+ --bs-gray-400: unset;
46
+ --bs-gray-500: unset;
47
+ --bs-gray-600: unset;
48
+ --bs-gray-700: unset;
49
+ --bs-gray-800: unset;
50
+ --bs-gray-900: unset;
51
+ --bs-gray-950: unset;
52
+
53
+ /* Reset Bootstrap semantic color variables */
54
+ --bs-primary: unset;
55
+ --bs-secondary: unset;
56
+ --bs-success: unset;
57
+ --bs-info: unset;
58
+ --bs-warning: unset;
59
+ --bs-danger: unset;
60
+ --bs-light: unset;
61
+ --bs-dark: unset;
62
+
63
+ /* Reset Bootstrap RGB color variables */
64
+ --bs-primary-rgb: unset;
65
+ --bs-secondary-rgb: unset;
66
+ --bs-success-rgb: unset;
67
+ --bs-info-rgb: unset;
68
+ --bs-warning-rgb: unset;
69
+ --bs-danger-rgb: unset;
70
+ --bs-light-rgb: unset;
71
+ --bs-dark-rgb: unset;
72
+ --bs-white-rgb: unset;
73
+ --bs-black-rgb: unset;
74
+
75
+ /* Reset Bootstrap text emphasis variables */
76
+ --bs-primary-text-emphasis: unset;
77
+ --bs-secondary-text-emphasis: unset;
78
+ --bs-success-text-emphasis: unset;
79
+ --bs-info-text-emphasis: unset;
80
+ --bs-warning-text-emphasis: unset;
81
+ --bs-danger-text-emphasis: unset;
82
+ --bs-light-text-emphasis: unset;
83
+ --bs-dark-text-emphasis: unset;
84
+
85
+ /* Reset Bootstrap background subtle variables */
86
+ --bs-primary-bg-subtle: unset;
87
+ --bs-secondary-bg-subtle: unset;
88
+ --bs-success-bg-subtle: unset;
89
+ --bs-info-bg-subtle: unset;
90
+ --bs-warning-bg-subtle: unset;
91
+ --bs-danger-bg-subtle: unset;
92
+ --bs-light-bg-subtle: unset;
93
+ --bs-dark-bg-subtle: unset;
94
+
95
+ /* Reset Bootstrap border subtle variables */
96
+ --bs-primary-border-subtle: unset;
97
+ --bs-secondary-border-subtle: unset;
98
+ --bs-success-border-subtle: unset;
99
+ --bs-info-border-subtle: unset;
100
+ --bs-warning-border-subtle: unset;
101
+ --bs-danger-border-subtle: unset;
102
+ --bs-light-border-subtle: unset;
103
+ --bs-dark-border-subtle: unset;
104
+
105
+ /* Reset Bootstrap typography variables */
106
+ --bs-font-sans-serif: unset;
107
+ --bs-font-monospace: unset;
108
+ --bs-body-font-family: unset;
109
+ --bs-body-font-size: unset;
110
+ --bs-body-font-weight: unset;
111
+ --bs-body-line-height: unset;
112
+ --bs-body-color: unset;
113
+ --bs-body-color-rgb: unset;
114
+ --bs-body-bg: unset;
115
+ --bs-body-bg-rgb: unset;
116
+
117
+ /* Reset Bootstrap emphasis and secondary colors */
118
+ --bs-emphasis-color: unset;
119
+ --bs-emphasis-color-rgb: unset;
120
+ --bs-secondary-color: unset;
121
+ --bs-secondary-color-rgb: unset;
122
+ --bs-secondary-bg: unset;
123
+ --bs-secondary-bg-rgb: unset;
124
+ --bs-tertiary-color: unset;
125
+ --bs-tertiary-color-rgb: unset;
126
+ --bs-tertiary-bg: unset;
127
+ --bs-tertiary-bg-rgb: unset;
128
+ --bs-heading-color: unset;
129
+
130
+ /* Reset Bootstrap link variables */
131
+ --bs-link-color: unset;
132
+ --bs-link-color-rgb: unset;
133
+ --bs-link-decoration: unset;
134
+ --bs-link-hover-color: unset;
135
+ --bs-link-hover-color-rgb: unset;
136
+
137
+ /* Reset Bootstrap code and highlight variables */
138
+ --bs-code-color: unset;
139
+ --bs-highlight-color: unset;
140
+ --bs-highlight-bg: unset;
141
+ --bs-disabled-color: unset;
142
+ --bs-tertiary-active-bg: unset;
143
+
144
+ /* Reset Bootstrap border variables */
145
+ --bs-border-width: unset;
146
+ --bs-border-style: unset;
147
+ --bs-border-color: unset;
148
+ --bs-border-color-subtle: unset;
149
+ --bs-border-color-translucent: unset;
150
+ --bs-border-radius: unset;
151
+ --bs-border-radius-sm: unset;
152
+ --bs-border-radius-lg: unset;
153
+ --bs-border-radius-xl: unset;
154
+ --bs-border-radius-xxl: unset;
155
+ --bs-border-radius-2xl: unset;
156
+ --bs-border-radius-pill: unset;
157
+
158
+ /* Reset Bootstrap box shadow variables */
159
+ --bs-box-shadow: unset;
160
+ --bs-box-shadow-sm: unset;
161
+ --bs-box-shadow-lg: unset;
162
+ --bs-box-shadow-inset: unset;
163
+
164
+ /* Reset Bootstrap focus variables */
165
+ --bs-focus-visible-inner-color: unset;
166
+ --bs-focus-visible-outer-color: unset;
167
+ --bs-focus-ring-width: unset;
168
+ --bs-focus-ring-opacity: unset;
169
+ --bs-focus-ring-color: unset;
170
+
171
+ /* Reset Bootstrap form variables */
172
+ --bs-form-valid-color: unset;
173
+ --bs-form-valid-border-color: unset;
174
+ --bs-form-invalid-color: unset;
175
+ --bs-form-invalid-border-color: unset;
176
+ --bs-form-check-filter: unset;
177
+ --bs-form-check-input-disabled-color: unset;
178
+ --bs-form-color-disabled-filter: unset;
179
+ --bs-form-select-indicator: unset;
180
+ --bs-form-select-disabled-indicator: unset;
181
+ --bs-form-switch-square-bg: unset;
182
+ --bs-form-switch-unchecked-invalid-border-color: unset;
183
+
184
+ /* Reset Bootstrap table variables */
185
+ --bs-table-active-bg-factor: unset;
186
+ --bs-table-hover-bg-factor: unset;
187
+ --bs-table-striped-bg-factor: unset;
188
+
189
+ /* Reset Bootstrap DataTables variables */
190
+ --dt-row-selected: unset;
191
+ --dt-row-selected-text: unset;
192
+ --dt-row-selected-link: unset;
193
+ --dt-row-stripe: unset;
194
+ --dt-row-hover: unset;
195
+ --dt-column-ordering: unset;
196
+ --dt-header-align-items: unset;
197
+ --dt-header-vertical-align: unset;
198
+ --dt-html-background: unset;
199
+ --dt-row-hover-alpha: unset;
200
+ --dt-row-stripe-alpha: unset;
201
+ --dt-column-ordering-alpha: unset;
202
+ --dt-row-selected-stripe-alpha: unset;
203
+ --dt-row-selected-column-ordering-alpha: unset;
204
+
205
+ /* Reset Bootstrap gradient */
206
+ --bs-gradient: unset;
207
+
208
+ /* Reset Bootstrap gutter variables */
209
+ --bs-gutter-y: unset;
210
+ --bs-gutter-x: unset;
211
+
212
+ /* Reset Bootstrap breakpoint variables */
213
+ --bs-breakpoint-xs: unset;
214
+ --bs-breakpoint-sm: unset;
215
+ --bs-breakpoint-md: unset;
216
+ --bs-breakpoint-lg: unset;
217
+ --bs-breakpoint-xl: unset;
218
+ --bs-breakpoint-xxl: unset;
219
+
220
+ /* Reset Bootstrap icon variables */
221
+ --bs-chevron-icon: unset;
222
+ --bs-close-icon: unset;
223
+ --bs-check-icon: unset;
224
+ --bs-success-icon: unset;
225
+ --bs-error-icon: unset;
226
+
227
+ /* Reset Bootstrap breadcrumb variables */
228
+ --bs-breadcrumb-divider-filter: unset;
229
+
230
+ /* ===================================================================
231
+ ORANGE BOOSTED SPECIFIC RESETS
232
+ =================================================================== */
233
+
234
+ /* Reset Boosted color variables */
235
+ --boosted-orange: unset;
236
+ --boosted-primary: unset;
237
+ --boosted-secondary: unset;
238
+ --boosted-black: unset;
239
+ --boosted-white: unset;
240
+
241
+ /* Reset Boosted functional colors */
242
+ --o-accessible-orange: unset;
243
+ --o-accessible-yellow: unset;
244
+ --o-accessible-green: unset;
245
+ --o-accessible-blue: unset;
246
+ --o-accessible-purple: unset;
247
+ --o-accessible-pink: unset;
248
+
249
+ /* Reset Boosted supporting colors */
250
+ --o-supporting-green: unset;
251
+ --o-supporting-blue: unset;
252
+ --o-supporting-purple: unset;
253
+ --o-supporting-pink: unset;
254
+ --o-supporting-yellow: unset;
255
+
256
+ /* Reset Boosted typography variables */
257
+ --o-icon-font-family: unset;
258
+ --o-letter-icon-font-family: unset;
259
+ --o-stepped-component-size: unset;
260
+
261
+ /* Reset Boosted component variables */
262
+ --o-navbar-item-min-height: unset;
263
+ --o-navbar-item-padding-y: unset;
264
+ --o-navbar-bg: unset;
265
+ --o-nav-link-color: unset;
266
+ --o-nav-link-hover-color: unset;
267
+
268
+ /* Reset Boosted card variables */
269
+ --o-card-cap-bg: unset;
270
+ --o-card-cap-color: unset;
271
+ --o-card-img-overlay-padding: unset;
272
+
273
+ /* Reset Boosted accordion variables */
274
+ --o-accordion-btn-focus-box-shadow: unset;
275
+ --o-accordion-color: unset;
276
+ --o-accordion-bg: unset;
277
+
278
+ /* Reset Boosted alert variables */
279
+ --o-alert-bg: unset;
280
+ --o-alert-color: unset;
281
+ --o-alert-border-color: unset;
282
+
283
+ /* Reset Boosted button variables */
284
+ --o-btn-social-network-icon-size: unset;
285
+ --o-btn-social-network-bg: unset;
286
+
287
+ /* Reset Boosted badge variables */
288
+ --o-badge-font-size: unset;
289
+ --o-badge-font-weight: unset;
290
+ --o-badge-border-radius: unset;
291
+
292
+ /* Reset Boosted footer variables */
293
+ --o-footer-bg: unset;
294
+ --o-footer-color: unset;
295
+ --o-footer-link-color: unset;
296
+
297
+ /* Reset Boosted header variables */
298
+ --o-header-minimized-logo-height: unset;
299
+ --o-header-height: unset;
300
+
301
+ /* ===================================================================
302
+ CSS ISOLATION
303
+ =================================================================== */
304
+
305
+ /* CSS Isolation - Create new stacking context */
306
+ isolation: isolate;
307
+
308
+ /* Ensure proper box-sizing for card layout */
309
+ box-sizing: border-box;
310
+
311
+ /* Reset inherited font from parent */
312
+ font-family: inherit;
313
+ font-size: inherit;
314
+ line-height: inherit;
315
+ }
316
+
317
+ /* Additional isolation for nested elements - scoped to card surfaces only */
318
+ .ai-card-surface,
319
+ .ai-card-surface *,
320
+ article.ai-card-surface,
321
+ article.ai-card-surface * {
322
+ /* Reset Bootstrap-specific properties that might leak through */
323
+ --bs-body-font-family: unset;
324
+ --bs-body-font-size: unset;
325
+ --bs-body-font-weight: unset;
326
+ --bs-body-line-height: unset;
327
+ --bs-body-color: unset;
328
+ --bs-body-bg: unset;
329
+ }
330
+
331
+ /* Prevent Bootstrap utility classes from affecting card elements */
332
+ &,
333
+ .ai-card-surface,
334
+ article.ai-card-surface {
335
+ /* Ensure Bootstrap's container classes don't affect layout */
336
+ &[class*="container"],
337
+ &[class*="row"],
338
+ &[class*="col"] {
339
+ /* Reset Bootstrap grid system properties */
340
+ --bs-gutter-x: unset;
341
+ --bs-gutter-y: unset;
342
+ }
343
+ }
344
+
345
+ /* ===================================================================
346
+ ELEMENT-LEVEL BOOTSTRAP OVERRIDES
347
+ Reset all common HTML element styling from Bootstrap/Boosted
348
+ =================================================================== */
349
+
350
+ /* Reset article elements */
351
+ article {
352
+ text-align: left !important;
353
+ font-size: inherit !important;
354
+ line-height: inherit !important;
355
+ border: none !important;
356
+ margin: 0 !important;
357
+ padding: 0 !important;
358
+ }
359
+
360
+ /* Reset div elements */
361
+ div {
362
+ box-sizing: border-box !important;
363
+ text-align: left !important;
364
+ }
365
+
366
+ /* Reset button elements within cards */
367
+ button,
368
+ [role="button"] {
369
+ font-family: inherit !important;
370
+ font-size: inherit !important;
371
+ line-height: inherit !important;
372
+ text-align: left !important;
373
+ }
374
+
375
+ /* Reset heading elements */
376
+ h1,
377
+ h2,
378
+ h3,
379
+ h4,
380
+ h5,
381
+ h6 {
382
+ margin: 0 !important;
383
+ padding: 0 !important;
384
+ font-family: inherit !important;
385
+ text-align: left !important;
386
+ }
387
+
388
+ /* Reset paragraph and span elements */
389
+ p,
390
+ span {
391
+ margin: 0 !important;
392
+ padding: 0 !important;
393
+ text-align: left !important;
394
+ }
395
+
396
+ /* Reset list elements */
397
+ ul,
398
+ ol,
399
+ li {
400
+ margin: 0 !important;
401
+ padding: 0 !important;
402
+ list-style: none !important;
403
+ text-align: left !important;
404
+ }
405
+
406
+ /* Reset anchor elements */
407
+ a {
408
+ text-decoration: none !important;
409
+ color: inherit !important;
410
+ }
411
+
412
+ /* Reset image elements */
413
+ img {
414
+ max-width: 100% !important;
415
+ height: auto !important;
416
+ }
417
+
418
+ /* Reset table elements */
419
+ table,
420
+ thead,
421
+ tbody,
422
+ tr,
423
+ th,
424
+ td {
425
+ border: none !important;
426
+ padding: 0 !important;
427
+ margin: 0 !important;
428
+ text-align: left !important;
429
+ vertical-align: top !important;
430
+ }
431
+
432
+ /* Force all child elements to use border-box */
433
+ *,
434
+ *::before,
435
+ *::after {
436
+ box-sizing: border-box !important;
437
+ }
438
+
439
+ /* Reset flex and grid containers */
440
+ [class*="grid"],
441
+ [class*="flex"],
442
+ [class*="-grid"],
443
+ [class*="-flex"] {
444
+ box-sizing: border-box !important;
445
+ }
@@ -0,0 +1,46 @@
1
+ // ===================================================================
2
+ // COLOR HELPERS - Re-exports from Master Tokens
3
+ // ===================================================================
4
+ //
5
+ // This file re-exports color variables and functions from the master
6
+ // tokens file for backward compatibility with @import.
7
+ //
8
+ // All color definitions are now in: ../tokens/_master.scss
9
+ //
10
+ // USAGE: Import this file in section SCSS files to access color helpers.
11
+ // ===================================================================
12
+
13
+ @forward "../tokens/master";
14
+ @use "../tokens/master" as *;
15
+
16
+ // All color variables, functions, and opacity variants are now
17
+ // exported from the master tokens file:
18
+ //
19
+ // Brand colors:
20
+ // $brand-color, $brand-color-90...$brand-color-03
21
+ //
22
+ // Foreground colors:
23
+ // $foreground-color, $foreground-90...$foreground-03
24
+ //
25
+ // Secondary text:
26
+ // $text-secondary, $text-secondary-50...$text-secondary-05
27
+ //
28
+ // Muted foreground:
29
+ // $muted-foreground, $muted-foreground-50...$muted-foreground-10
30
+ //
31
+ // White variants:
32
+ // $white-90...$white-05
33
+ //
34
+ // Status colors:
35
+ // $success-color, $warning-color, $error-color, $info-color
36
+ //
37
+ // Border/shadow colors:
38
+ // $border-light, $border-medium, $border-dark
39
+ // $shadow-light, $shadow-medium, $shadow-dark
40
+ //
41
+ // Background colors:
42
+ // $card-bg, $section-bg, etc.
43
+ //
44
+ // Functions:
45
+ // brand-alpha($opacity), foreground-alpha($opacity),
46
+ // white-alpha($opacity), black-alpha($opacity)
@@ -0,0 +1,118 @@
1
+ /* ===================================================================
2
+ UNIFIED GLOBAL STYLES - Scoped for .osi-cards-container
3
+ Based on docs app _global.scss with selectors scoped to container
4
+ =================================================================== */
5
+
6
+ /* Box sizing reset scoped to container */
7
+ & *,
8
+ & *::before,
9
+ & *::after {
10
+ box-sizing: border-box !important;
11
+ margin: 0;
12
+ padding: 0;
13
+ /* Removed border-color to prevent any border appearance */
14
+ outline-color: var(--ring);
15
+ }
16
+
17
+ /* Apply font and color settings to the container itself */
18
+ & {
19
+ font-family:
20
+ Helvetica,
21
+ -apple-system,
22
+ BlinkMacSystemFont,
23
+ "Segoe UI",
24
+ Roboto,
25
+ Arial,
26
+ sans-serif;
27
+ /* Container is fully transparent - host app background shows through */
28
+ /* Only the card surface (.ai-card-surface) should have a background */
29
+ background: transparent !important;
30
+ background-color: transparent !important;
31
+ color: var(--foreground);
32
+ line-height: 1.5;
33
+
34
+ /* Improved text rendering for sharpness */
35
+ -webkit-font-smoothing: antialiased;
36
+ -moz-osx-font-smoothing: grayscale;
37
+ text-rendering: optimizeLegibility;
38
+ font-feature-settings: "kern" 1;
39
+ }
40
+
41
+ & button {
42
+ cursor: pointer;
43
+ font-family: inherit;
44
+
45
+ // Enhanced focus indicators for accessibility
46
+ &:focus-visible {
47
+ outline: 2px solid var(--color-brand, #ff7900);
48
+ outline-offset: 2px;
49
+ border-radius: 4px;
50
+ }
51
+
52
+ &:focus:not(:focus-visible) {
53
+ outline: none;
54
+ }
55
+ }
56
+
57
+ // Global focus styles for all interactive elements inside container
58
+ & a,
59
+ & button,
60
+ & input,
61
+ & select,
62
+ & textarea,
63
+ & [tabindex]:not([tabindex="-1"]) {
64
+ &:focus-visible {
65
+ outline: 2px solid var(--color-brand, #ff7900);
66
+ outline-offset: 2px;
67
+ border-radius: 2px;
68
+ }
69
+
70
+ &:focus:not(:focus-visible) {
71
+ outline: none;
72
+ }
73
+ }
74
+
75
+ & h1,
76
+ & h2,
77
+ & h3,
78
+ & h4,
79
+ & h5,
80
+ & h6 {
81
+ margin: 0;
82
+ line-height: 1.2;
83
+ font-family:
84
+ Helvetica,
85
+ -apple-system,
86
+ BlinkMacSystemFont,
87
+ "Segoe UI",
88
+ Roboto,
89
+ Arial,
90
+ sans-serif;
91
+ }
92
+
93
+ & h1 {
94
+ font-size: var(--text-2xl);
95
+ font-weight: var(--font-weight-medium);
96
+ }
97
+
98
+ & h2 {
99
+ font-size: var(--text-xl);
100
+ font-weight: var(--font-weight-medium);
101
+ }
102
+
103
+ & h3 {
104
+ font-size: var(--text-lg);
105
+ font-weight: var(--font-weight-medium);
106
+ }
107
+
108
+ & h4 {
109
+ font-size: var(--text-base);
110
+ font-weight: var(--font-weight-medium);
111
+ }
112
+
113
+ & p {
114
+ font-size: var(--text-base);
115
+ font-weight: var(--font-weight-normal);
116
+ line-height: 1.5;
117
+ margin: 0;
118
+ }
@@ -0,0 +1,73 @@
1
+ * {
2
+ box-sizing: border-box;
3
+ margin: 0;
4
+ padding: 0;
5
+ /* Removed border-color to prevent any border appearance */
6
+ outline-color: var(--ring);
7
+ }
8
+
9
+ html {
10
+ font-size: var(--font-size);
11
+ }
12
+
13
+ body {
14
+ font-family:
15
+ Helvetica,
16
+ "Helvetica Neue",
17
+ -apple-system,
18
+ BlinkMacSystemFont,
19
+ "Segoe UI",
20
+ Roboto,
21
+ sans-serif;
22
+ background-color: var(--background);
23
+ color: var(--foreground);
24
+ line-height: 1.5;
25
+
26
+ /* Improved text rendering for sharpness */
27
+ -webkit-font-smoothing: antialiased;
28
+ -moz-osx-font-smoothing: grayscale;
29
+ text-rendering: optimizeLegibility;
30
+ font-feature-settings: "kern" 1;
31
+ }
32
+
33
+ button {
34
+ cursor: pointer;
35
+ font-family: inherit;
36
+ }
37
+
38
+ h1,
39
+ h2,
40
+ h3,
41
+ h4,
42
+ h5,
43
+ h6 {
44
+ margin: 0;
45
+ line-height: 1.5;
46
+ }
47
+
48
+ h1 {
49
+ font-size: var(--text-2xl);
50
+ font-weight: var(--font-weight-medium);
51
+ }
52
+
53
+ h2 {
54
+ font-size: var(--text-xl);
55
+ font-weight: var(--font-weight-medium);
56
+ }
57
+
58
+ h3 {
59
+ font-size: var(--text-lg);
60
+ font-weight: var(--font-weight-medium);
61
+ }
62
+
63
+ h4 {
64
+ font-size: var(--text-base);
65
+ font-weight: var(--font-weight-medium);
66
+ }
67
+
68
+ p {
69
+ font-size: var(--text-base);
70
+ font-weight: var(--font-weight-normal);
71
+ line-height: 1.5;
72
+ margin: 0;
73
+ }