osi-cards-lib 1.5.37 → 1.5.38
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 +7 -7
- package/fesm2022/osi-cards-lib.mjs +1168 -186
- package/fesm2022/osi-cards-lib.mjs.map +1 -1
- package/index.d.ts +35 -35
- package/package.json +1 -1
- package/scripts/setup-angular-styles.js +1 -0
- package/styles/_osi-cards-tokens.scss +0 -1
- package/styles/_styles-scoped.scss +9 -1
- package/styles/bundles/_ai-card.scss +5 -1
- package/styles/bundles/_card-skeleton.scss +2 -2
- package/styles/components/_component-styles.scss +4 -0
- package/styles/components/cards/_ai-card.scss +1 -1
- package/styles/components/sections/_design-tokens.scss +0 -1
- package/styles/components/sections/_section-animations.scss +0 -1
- package/styles/components/sections/_typography-system.scss +2 -8
- package/styles/core/_bootstrap-reset.scss +47 -37
- package/styles/design-system/_tokens.scss +0 -1
- package/styles/layout/_masonry.scss +5 -11
- package/styles/reset/_shadow-reset.scss +2 -7
- package/styles/responsive.scss +9 -32
- package/styles/tokens/_master.scss +235 -220
|
@@ -326,19 +326,19 @@ $breakpoints: (
|
|
|
326
326
|
@mixin osi-spacing() {
|
|
327
327
|
--spacing-base: 0.25rem;
|
|
328
328
|
|
|
329
|
-
// Primary spacing scale (
|
|
330
|
-
--space-1:
|
|
331
|
-
--space-2:
|
|
332
|
-
--space-3:
|
|
333
|
-
--space-4:
|
|
334
|
-
--space-5:
|
|
335
|
-
--space-6:
|
|
336
|
-
--space-7:
|
|
337
|
-
--space-8:
|
|
338
|
-
--space-9:
|
|
339
|
-
--space-10:
|
|
340
|
-
--space-11:
|
|
341
|
-
--space-12:
|
|
329
|
+
// Primary spacing scale (fixed)
|
|
330
|
+
--space-1: 2px;
|
|
331
|
+
--space-2: 4px;
|
|
332
|
+
--space-3: 6px;
|
|
333
|
+
--space-4: 8px;
|
|
334
|
+
--space-5: 10px;
|
|
335
|
+
--space-6: 12px;
|
|
336
|
+
--space-7: 14px;
|
|
337
|
+
--space-8: 16px;
|
|
338
|
+
--space-9: 18px;
|
|
339
|
+
--space-10: 20px;
|
|
340
|
+
--space-11: 22px;
|
|
341
|
+
--space-12: 24px;
|
|
342
342
|
|
|
343
343
|
// Semantic spacing aliases
|
|
344
344
|
--spacing-xs: var(--space-1);
|
|
@@ -466,27 +466,34 @@ $breakpoints: (
|
|
|
466
466
|
@mixin osi-card-typography($variant: "demo") {
|
|
467
467
|
// Both demo and integration now use the same compact values
|
|
468
468
|
// Section Titles
|
|
469
|
-
--section-title-font-size:
|
|
469
|
+
--section-title-font-size: 0.92rem;
|
|
470
470
|
--section-title-font-weight: 700;
|
|
471
471
|
--section-title-letter-spacing: -0.02em;
|
|
472
472
|
--section-title-line-height: 1.3;
|
|
473
473
|
--section-title-text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
|
|
474
474
|
|
|
475
|
-
// Card
|
|
476
|
-
--card-title-font-size:
|
|
475
|
+
// Card Header Title (main card title - larger)
|
|
476
|
+
--card-header-title-font-size: 1.25rem; /* 20px - main card header (reduced by 2px from 22px) */
|
|
477
|
+
--card-header-title-font-size-mobile: 1rem; /* 16px - mobile (reduced by 2px from 18px) */
|
|
478
|
+
--card-header-title-font-weight: 700;
|
|
479
|
+
--card-header-title-letter-spacing: -0.02em;
|
|
480
|
+
--card-header-title-line-height: 1.3;
|
|
481
|
+
|
|
482
|
+
// Card Titles (for items within sections - smaller)
|
|
483
|
+
--card-title-font-size: 0.705rem;
|
|
477
484
|
--card-title-font-weight: 700;
|
|
478
485
|
--card-title-letter-spacing: -0.01em;
|
|
479
486
|
--card-title-line-height: 1.4;
|
|
480
487
|
--card-title-text-shadow: 0 1px 1px rgba(0, 0, 0, 0.06);
|
|
481
488
|
|
|
482
489
|
// Card Subtitles
|
|
483
|
-
--card-subtitle-font-size:
|
|
490
|
+
--card-subtitle-font-size: 0.65rem;
|
|
484
491
|
--card-subtitle-font-weight: 500;
|
|
485
492
|
--card-subtitle-letter-spacing: 0.015em;
|
|
486
493
|
--card-subtitle-line-height: 1.3;
|
|
487
494
|
|
|
488
495
|
// Card Labels
|
|
489
|
-
--card-label-font-size:
|
|
496
|
+
--card-label-font-size: 0.5rem;
|
|
490
497
|
--card-label-font-weight: 700;
|
|
491
498
|
--card-label-letter-spacing: 0.065em;
|
|
492
499
|
--card-label-line-height: 1.25;
|
|
@@ -494,21 +501,21 @@ $breakpoints: (
|
|
|
494
501
|
--card-label-text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
|
|
495
502
|
|
|
496
503
|
// Card Values
|
|
497
|
-
--card-value-font-size:
|
|
498
|
-
--card-value-font-size-large:
|
|
499
|
-
--card-value-font-size-xl:
|
|
504
|
+
--card-value-font-size: 1rem;
|
|
505
|
+
--card-value-font-size-large: 1.2rem;
|
|
506
|
+
--card-value-font-size-xl: 1.25rem;
|
|
500
507
|
--card-value-font-weight: 600;
|
|
501
508
|
--card-value-letter-spacing: -0.015em;
|
|
502
509
|
--card-value-line-height: 1.35;
|
|
503
510
|
--card-value-text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
504
511
|
|
|
505
512
|
// Card Meta
|
|
506
|
-
--card-meta-font-size:
|
|
513
|
+
--card-meta-font-size: 0.55rem;
|
|
507
514
|
--card-meta-font-weight: 500;
|
|
508
515
|
--card-meta-line-height: 1.3;
|
|
509
516
|
|
|
510
517
|
// Smallest text
|
|
511
|
-
--card-text-small-font-size:
|
|
518
|
+
--card-text-small-font-size: 0.355rem;
|
|
512
519
|
|
|
513
520
|
// Grid min width
|
|
514
521
|
--section-grid-min-width: 200px;
|
|
@@ -527,11 +534,11 @@ $breakpoints: (
|
|
|
527
534
|
--section-padding: 12px;
|
|
528
535
|
--section-container-padding: 12px;
|
|
529
536
|
--card-min-height: auto;
|
|
530
|
-
--card-gap:
|
|
531
|
-
--card-gap-large:
|
|
532
|
-
--card-nested-gap:
|
|
533
|
-
--section-header-gap:
|
|
534
|
-
--section-header-padding-bottom:
|
|
537
|
+
--card-gap: 6px;
|
|
538
|
+
--card-gap-large: 10px;
|
|
539
|
+
--card-nested-gap: 3px;
|
|
540
|
+
--section-header-gap: 3px;
|
|
541
|
+
--section-header-padding-bottom: 0px;
|
|
535
542
|
--section-title-margin-bottom: 0;
|
|
536
543
|
--card-border-radius: 12px;
|
|
537
544
|
--card-border-radius-large: 16px;
|
|
@@ -647,7 +654,7 @@ $breakpoints: (
|
|
|
647
654
|
--osi-card-padding-bottom: var(--card-main-padding);
|
|
648
655
|
--osi-card-padding-left: var(--card-main-padding);
|
|
649
656
|
--osi-card-padding-right: var(--card-main-padding);
|
|
650
|
-
--osi-card-padding-mobile:
|
|
657
|
+
--osi-card-padding-mobile: 4px; // Fixed padding - no responsive behavior
|
|
651
658
|
|
|
652
659
|
// Card Spacing - Margins
|
|
653
660
|
--osi-card-margin-top: 0;
|
|
@@ -800,8 +807,8 @@ $breakpoints: (
|
|
|
800
807
|
--osi-section-title-line-height: var(--section-title-line-height, 1.3);
|
|
801
808
|
--osi-section-title-color: var(--card-text-primary);
|
|
802
809
|
--osi-section-title-margin-bottom: var(--section-title-margin-bottom);
|
|
803
|
-
--osi-section-title-underline-length:
|
|
804
|
-
--osi-section-title-underline-hover-length:
|
|
810
|
+
--osi-section-title-underline-length: var(--space-8);
|
|
811
|
+
--osi-section-title-underline-hover-length: var(--space-10);
|
|
805
812
|
--osi-section-title-underline-height: var(--border-width-accent);
|
|
806
813
|
--osi-section-title-underline-offset: calc(var(--space-2) * -1);
|
|
807
814
|
--osi-section-title-underline-color: var(--section-accent, var(--accent, #{$osi-color-brand}));
|
|
@@ -1052,50 +1059,53 @@ $breakpoints: (
|
|
|
1052
1059
|
|
|
1053
1060
|
// Surface tokens - defaults (will be overridden by theme-specific mixins and JavaScript presets)
|
|
1054
1061
|
// These are fallback values only - actual values come from osi-theme-dark/light mixins or JavaScript presets
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1062
|
+
& {
|
|
1063
|
+
--theme-ai-card-border: 1px solid rgba(0, 0, 0, 0.08);
|
|
1064
|
+
--theme-ai-card-border-hover: 1px solid rgba(255, 121, 0, 0.4);
|
|
1065
|
+
--theme-ai-card-background: rgba(255, 255, 255, 0.85);
|
|
1066
|
+
--theme-ai-card-background-hover: rgba(255, 255, 255, 0.92);
|
|
1067
|
+
--theme-ai-card-box-shadow:
|
|
1068
|
+
0 4px 24px -1px rgba(0, 0, 0, 0.1), 0 0 18px rgba(255, 121, 0, 0.15);
|
|
1069
|
+
--theme-ai-card-box-shadow-hover:
|
|
1070
|
+
0 20px 40px -5px rgba(0, 0, 0, 0.15), 0 0 24px rgba(255, 121, 0, 0.25),
|
|
1071
|
+
0 0 0 1px rgba(255, 121, 0, 0.15);
|
|
1072
|
+
--theme-ai-card-backdrop-filter: blur(12px);
|
|
1073
|
+
--theme-ai-card-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
|
1074
|
+
|
|
1075
|
+
--theme-card-border: 1px solid rgba(0, 0, 0, 0.08);
|
|
1076
|
+
--theme-card-border-hover: var(--color-brand);
|
|
1077
|
+
--theme-card-background: var(--background);
|
|
1078
|
+
--theme-card-background-hover: color-mix(
|
|
1079
|
+
in srgb,
|
|
1080
|
+
var(--background) 98%,
|
|
1081
|
+
var(--surface-contrast-color) 2%
|
|
1082
|
+
);
|
|
1083
|
+
--theme-card-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
|
|
1084
|
+
--theme-card-box-shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.07);
|
|
1085
|
+
|
|
1086
|
+
--theme-section-border: 1px solid rgba(0, 0, 0, 0.06);
|
|
1087
|
+
--theme-section-border-hover: 1px solid rgba(255, 121, 0, 0.15);
|
|
1088
|
+
--theme-section-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
|
|
1089
|
+
--theme-section-box-shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.05);
|
|
1090
|
+
--theme-section-transition:
|
|
1091
|
+
border-color 0.22s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.22s cubic-bezier(0.4, 0, 0.2, 1);
|
|
1092
|
+
// Flat backgrounds - no color-mix
|
|
1093
|
+
--section-background: var(--background);
|
|
1094
|
+
--section-background-hover: var(--background);
|
|
1095
|
+
--section-surface: var(--background);
|
|
1096
|
+
--section-surface-hover: var(--background);
|
|
1097
|
+
|
|
1098
|
+
--theme-section-item-border: 1px solid rgba(0, 0, 0, 0.06);
|
|
1099
|
+
--theme-section-item-border-hover: 1px solid rgba(255, 121, 0, 0.15);
|
|
1100
|
+
--theme-section-item-background: var(--background);
|
|
1101
|
+
--theme-section-item-background-hover: var(--background);
|
|
1102
|
+
--theme-section-item-box-shadow: var(--shadow-md, 0 1px 2px rgba(0, 0, 0, 0.04));
|
|
1103
|
+
--theme-section-item-box-shadow-hover: var(--shadow-lg, 0 1px 3px rgba(0, 0, 0, 0.05));
|
|
1104
|
+
--theme-section-item-hover-transform: none;
|
|
1105
|
+
--theme-section-item-transition:
|
|
1106
|
+
border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s cubic-bezier(0.4, 0, 0.2, 1),
|
|
1107
|
+
box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
1108
|
+
}
|
|
1099
1109
|
}
|
|
1100
1110
|
|
|
1101
1111
|
/// Generate dark theme colors
|
|
@@ -1122,72 +1132,74 @@ $breakpoints: (
|
|
|
1122
1132
|
--card-section-card-bg: #1f1f1f;
|
|
1123
1133
|
|
|
1124
1134
|
// AI Card surface - transparent with blur effect (matches preset)
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1135
|
+
& {
|
|
1136
|
+
--theme-ai-card-border: 1px solid rgba(255, 255, 255, 0.08);
|
|
1137
|
+
--theme-ai-card-border-hover: 1px solid rgba(255, 121, 0, 0.2);
|
|
1138
|
+
--theme-ai-card-background: rgba(20, 20, 20, 0.6);
|
|
1139
|
+
--theme-ai-card-background-hover: rgba(25, 25, 25, 0.7);
|
|
1140
|
+
--theme-ai-card-box-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.2);
|
|
1141
|
+
--theme-ai-card-box-shadow-hover:
|
|
1142
|
+
0 12px 32px -4px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 121, 0, 0.1);
|
|
1143
|
+
--theme-ai-card-backdrop-filter: blur(12px);
|
|
1144
|
+
--theme-ai-card-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
|
1145
|
+
|
|
1146
|
+
// Card backgrounds (matches preset)
|
|
1147
|
+
--theme-card-border: 1px solid rgba(255, 255, 255, 0.08);
|
|
1148
|
+
--theme-card-border-hover: 1px solid rgba(255, 121, 0, 0.2);
|
|
1149
|
+
--theme-card-background: var(--background);
|
|
1150
|
+
// Fallback for browsers without color-mix support
|
|
1151
|
+
--theme-card-background-hover: rgba(25, 25, 25, 0.7);
|
|
1152
|
+
--theme-card-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
|
|
1153
|
+
--theme-card-box-shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.4);
|
|
1154
|
+
|
|
1155
|
+
// Flat section backgrounds
|
|
1156
|
+
--section-background: var(--background);
|
|
1157
|
+
--section-background-hover: var(--background);
|
|
1158
|
+
--section-surface: #181818;
|
|
1159
|
+
--section-surface-hover: #1f1f1f;
|
|
1160
|
+
--popover: #111111;
|
|
1161
|
+
--popover-foreground: #{$osi-foreground-dark};
|
|
1162
|
+
--primary: #{$osi-color-brand};
|
|
1163
|
+
--primary-foreground: #{$osi-foreground-dark};
|
|
1164
|
+
--secondary: #333333;
|
|
1165
|
+
--secondary-foreground: #{$osi-foreground-dark};
|
|
1166
|
+
--accent: #{$osi-color-brand};
|
|
1167
|
+
--accent-foreground: #{$osi-color-black};
|
|
1168
|
+
--destructive: #d4183d;
|
|
1169
|
+
--destructive-foreground: #{$osi-foreground-dark};
|
|
1170
|
+
--border: rgba(200, 200, 200, 0.3);
|
|
1171
|
+
--input: transparent;
|
|
1172
|
+
--input-background: #222222;
|
|
1173
|
+
--switch-background: #333333;
|
|
1174
|
+
--ring: #{$brand-color-60};
|
|
1175
|
+
--chart-1: #{$osi-color-brand};
|
|
1176
|
+
--chart-2: #{$osi-color-brand-light};
|
|
1177
|
+
--chart-3: #{$osi-color-brand-dark};
|
|
1178
|
+
--chart-4: #{$osi-color-brand-pale};
|
|
1179
|
+
--chart-5: #ff4500;
|
|
1180
|
+
|
|
1181
|
+
// Element type overrides - subtle theme-aware hover
|
|
1182
|
+
--hero-card-border: 1px solid rgba(233, 233, 233, 0.2);
|
|
1183
|
+
--hero-card-border-hover: 1px solid rgba(255, 121, 0, 0.25);
|
|
1184
|
+
// Section (matches preset)
|
|
1185
|
+
--theme-section-border: 1px solid rgba(255, 255, 255, 0.1);
|
|
1186
|
+
--theme-section-border-hover: 1px solid rgba(255, 255, 255, 0.1);
|
|
1187
|
+
--theme-section-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
|
|
1188
|
+
--theme-section-box-shadow-hover: 0 2px 5px rgba(0, 0, 0, 0.5);
|
|
1189
|
+
--theme-section-transition:
|
|
1190
|
+
border-color 0.22s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.22s cubic-bezier(0.4, 0, 0.2, 1);
|
|
1191
|
+
// Section Item (matches preset)
|
|
1192
|
+
--theme-section-item-border: 1px solid rgba(255, 255, 255, 0.06);
|
|
1193
|
+
--theme-section-item-border-hover: 1px solid rgba(255, 121, 0, 0.08);
|
|
1194
|
+
--theme-section-item-background: #202020;
|
|
1195
|
+
--theme-section-item-background-hover: #212121;
|
|
1196
|
+
--theme-section-item-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
|
|
1197
|
+
--theme-section-item-box-shadow-hover: 0 1px 4px rgba(0, 0, 0, 0.3);
|
|
1198
|
+
--theme-section-item-hover-transform: none;
|
|
1199
|
+
--theme-section-item-transition:
|
|
1200
|
+
background 220ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 220ms cubic-bezier(0.4, 0, 0.2, 1),
|
|
1201
|
+
border-color 220ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
1202
|
+
}
|
|
1191
1203
|
}
|
|
1192
1204
|
|
|
1193
1205
|
/// Generate light theme colors
|
|
@@ -1212,85 +1224,88 @@ $breakpoints: (
|
|
|
1212
1224
|
}
|
|
1213
1225
|
|
|
1214
1226
|
// Flat light backgrounds - no color-mix
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1227
|
+
& {
|
|
1228
|
+
--card: var(--background);
|
|
1229
|
+
--card-surface: var(--background);
|
|
1230
|
+
--card-foreground: #{$osi-foreground-light};
|
|
1231
|
+
--card-surface-hover: var(--background);
|
|
1232
|
+
--card-section-bg: #fcfcfc;
|
|
1233
|
+
--card-section-card-bg: #f8f8f8;
|
|
1234
|
+
|
|
1235
|
+
// AI Card surface - light theme with blur (matches preset)
|
|
1236
|
+
--theme-ai-card-border: 1px solid rgba(0, 0, 0, 0.08);
|
|
1237
|
+
--theme-ai-card-border-hover: 1px solid rgba(255, 121, 0, 0.2);
|
|
1238
|
+
--theme-ai-card-background: rgba(255, 255, 255, 0.85);
|
|
1239
|
+
--theme-ai-card-background-hover: rgba(255, 255, 255, 0.88);
|
|
1240
|
+
--theme-ai-card-box-shadow:
|
|
1241
|
+
0 4px 24px -1px rgba(0, 0, 0, 0.1), 0 0 18px rgba(255, 121, 0, 0.15);
|
|
1242
|
+
--theme-ai-card-box-shadow-hover:
|
|
1243
|
+
0 12px 32px -4px rgba(0, 0, 0, 0.12), 0 0 20px rgba(255, 121, 0, 0.18),
|
|
1244
|
+
0 0 0 1px rgba(255, 121, 0, 0.1);
|
|
1245
|
+
--theme-ai-card-backdrop-filter: blur(12px);
|
|
1246
|
+
--theme-ai-card-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
|
1247
|
+
|
|
1248
|
+
// Card backgrounds (matches preset)
|
|
1249
|
+
--theme-card-border: 1px solid rgba(0, 0, 0, 0.08);
|
|
1250
|
+
--theme-card-border-hover: 1px solid rgba(255, 121, 0, 0.2);
|
|
1251
|
+
--theme-card-background: var(--background);
|
|
1252
|
+
// Fallback for browsers without color-mix support
|
|
1253
|
+
--theme-card-background-hover: rgba(255, 255, 255, 0.88);
|
|
1254
|
+
--theme-card-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
|
|
1255
|
+
--theme-card-box-shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.06);
|
|
1256
|
+
|
|
1257
|
+
// Flat section backgrounds
|
|
1258
|
+
--section-background: var(--background);
|
|
1259
|
+
--section-background-hover: var(--background);
|
|
1260
|
+
--section-surface: #fcfcfc;
|
|
1261
|
+
--section-surface-hover: #f8f8f8;
|
|
1262
|
+
--popover: #{$osi-color-white};
|
|
1263
|
+
--popover-foreground: #1a1a1a;
|
|
1264
|
+
--primary: #{$osi-color-brand};
|
|
1265
|
+
--primary-foreground: #{$osi-color-white};
|
|
1266
|
+
--secondary: #f5f5f5;
|
|
1267
|
+
--secondary-foreground: #1a1a1a;
|
|
1268
|
+
--accent: #{$osi-color-brand};
|
|
1269
|
+
--accent-foreground: #{$osi-color-white};
|
|
1270
|
+
--destructive: #d4183d;
|
|
1271
|
+
--destructive-foreground: #{$osi-color-white};
|
|
1272
|
+
--border: rgba(200, 200, 200, 0.5);
|
|
1273
|
+
--input: transparent;
|
|
1274
|
+
--input-background: #f9f9f9;
|
|
1275
|
+
--switch-background: #e5e5e5;
|
|
1276
|
+
--ring: #{$brand-color-40};
|
|
1277
|
+
--chart-1: #{$osi-color-brand};
|
|
1278
|
+
--chart-2: #{$osi-color-brand-light};
|
|
1279
|
+
--chart-3: #{$osi-color-brand-dark};
|
|
1280
|
+
--chart-4: #{$osi-color-brand-pale};
|
|
1281
|
+
--chart-5: #ff4500;
|
|
1282
|
+
|
|
1283
|
+
// Light theme gray overrides
|
|
1284
|
+
--color-gray-700: #e0e0e0;
|
|
1285
|
+
--color-gray-600: #d0d0d0;
|
|
1286
|
+
|
|
1287
|
+
// Element type overrides - subtle theme-aware hover
|
|
1288
|
+
--hero-card-border: 1px solid rgba(146, 153, 158, 0.25);
|
|
1289
|
+
--hero-card-border-hover: 1px solid rgba(255, 121, 0, 0.2);
|
|
1290
|
+
// Section (matches preset)
|
|
1291
|
+
--theme-section-border: 1px solid rgba(0, 0, 0, 0.08);
|
|
1292
|
+
--theme-section-border-hover: 1px solid rgba(0, 0, 0, 0.1);
|
|
1293
|
+
--theme-section-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
|
|
1294
|
+
--theme-section-box-shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.07);
|
|
1295
|
+
--theme-section-transition:
|
|
1296
|
+
border-color 0.22s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.22s cubic-bezier(0.4, 0, 0.2, 1);
|
|
1297
|
+
// Section Item (matches preset)
|
|
1298
|
+
--theme-section-item-border: 1px solid rgba(0, 0, 0, 0.06);
|
|
1299
|
+
--theme-section-item-border-hover: 1px solid rgba(255, 121, 0, 0.08);
|
|
1300
|
+
--theme-section-item-background: #f9f9f9;
|
|
1301
|
+
--theme-section-item-background-hover: #f7f7f7;
|
|
1302
|
+
--theme-section-item-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
|
|
1303
|
+
--theme-section-item-box-shadow-hover: 0 1px 3px rgba(0, 0, 0, 0.05);
|
|
1304
|
+
--theme-section-item-hover-transform: none;
|
|
1305
|
+
--theme-section-item-transition:
|
|
1306
|
+
background 220ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 220ms cubic-bezier(0.4, 0, 0.2, 1),
|
|
1307
|
+
border-color 220ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
1308
|
+
}
|
|
1294
1309
|
}
|
|
1295
1310
|
|
|
1296
1311
|
// ============================================
|