@opensite/ui 0.8.9 → 0.9.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.
Files changed (367) hide show
  1. package/dist/about-company-profile.cjs +32 -4
  2. package/dist/about-company-profile.js +32 -4
  3. package/dist/about-culture-tabs.cjs +38 -8
  4. package/dist/about-culture-tabs.js +38 -8
  5. package/dist/about-developer-profile.cjs +37 -5
  6. package/dist/about-developer-profile.js +37 -5
  7. package/dist/about-developer-story.cjs +31 -3
  8. package/dist/about-developer-story.js +31 -3
  9. package/dist/about-expandable-values.cjs +43 -9
  10. package/dist/about-expandable-values.js +43 -9
  11. package/dist/about-interactive-tabs.cjs +63 -4
  12. package/dist/about-interactive-tabs.js +63 -4
  13. package/dist/about-location-info-hero.cjs +28 -2
  14. package/dist/about-location-info-hero.js +28 -2
  15. package/dist/about-minimal-story.cjs +35 -4
  16. package/dist/about-minimal-story.js +35 -4
  17. package/dist/about-mission-dual-image.cjs +30 -2
  18. package/dist/about-mission-dual-image.js +30 -2
  19. package/dist/about-mission-features.cjs +36 -4
  20. package/dist/about-mission-features.js +36 -4
  21. package/dist/about-mission-principles.cjs +39 -6
  22. package/dist/about-mission-principles.js +39 -6
  23. package/dist/about-network-spotlight.cjs +33 -5
  24. package/dist/about-network-spotlight.js +33 -5
  25. package/dist/about-startup-team.cjs +47 -6
  26. package/dist/about-startup-team.js +47 -6
  27. package/dist/about-stats-showcase.cjs +31 -4
  28. package/dist/about-stats-showcase.js +31 -4
  29. package/dist/about-stats-sidebar.cjs +29 -3
  30. package/dist/about-stats-sidebar.js +29 -3
  31. package/dist/about-story-expertise.cjs +44 -8
  32. package/dist/about-story-expertise.js +44 -8
  33. package/dist/about-story-gallery.cjs +28 -1
  34. package/dist/about-story-gallery.js +28 -1
  35. package/dist/about-story-hero.cjs +36 -4
  36. package/dist/about-story-hero.js +36 -4
  37. package/dist/about-streamline-team.cjs +32 -4
  38. package/dist/about-streamline-team.js +32 -4
  39. package/dist/about-vision-gallery.cjs +32 -3
  40. package/dist/about-vision-gallery.js +32 -3
  41. package/dist/alternating-blocks.cjs +5 -1
  42. package/dist/alternating-blocks.js +5 -1
  43. package/dist/banner-announcement-dismissible.cjs +377 -1
  44. package/dist/banner-announcement-dismissible.d.cts +7 -1
  45. package/dist/banner-announcement-dismissible.d.ts +7 -1
  46. package/dist/banner-announcement-dismissible.js +378 -2
  47. package/dist/banner-countdown-sale.cjs +388 -8
  48. package/dist/banner-countdown-sale.d.cts +11 -1
  49. package/dist/banner-countdown-sale.d.ts +11 -1
  50. package/dist/banner-countdown-sale.js +379 -3
  51. package/dist/banner-delivery-countdown.cjs +377 -1
  52. package/dist/banner-delivery-countdown.d.cts +11 -1
  53. package/dist/banner-delivery-countdown.d.ts +11 -1
  54. package/dist/banner-delivery-countdown.js +378 -2
  55. package/dist/banner-event-promo.cjs +377 -1
  56. package/dist/banner-event-promo.d.cts +7 -1
  57. package/dist/banner-event-promo.d.ts +7 -1
  58. package/dist/banner-event-promo.js +378 -2
  59. package/dist/banner-floating-offer.cjs +379 -3
  60. package/dist/banner-floating-offer.d.cts +7 -1
  61. package/dist/banner-floating-offer.d.ts +7 -1
  62. package/dist/banner-floating-offer.js +380 -4
  63. package/dist/banner-gdpr-rights.cjs +398 -31
  64. package/dist/banner-gdpr-rights.d.cts +7 -1
  65. package/dist/banner-gdpr-rights.d.ts +7 -1
  66. package/dist/banner-gdpr-rights.js +399 -32
  67. package/dist/banner-privacy-notice.cjs +399 -32
  68. package/dist/banner-privacy-notice.d.cts +7 -1
  69. package/dist/banner-privacy-notice.d.ts +7 -1
  70. package/dist/banner-privacy-notice.js +400 -33
  71. package/dist/banner-promo-cta.cjs +382 -12
  72. package/dist/banner-promo-cta.d.cts +7 -1
  73. package/dist/banner-promo-cta.d.ts +7 -1
  74. package/dist/banner-promo-cta.js +383 -13
  75. package/dist/banner-social-follow.cjs +395 -28
  76. package/dist/banner-social-follow.d.cts +7 -1
  77. package/dist/banner-social-follow.d.ts +7 -1
  78. package/dist/banner-social-follow.js +396 -29
  79. package/dist/banner-survey-incentive.cjs +377 -1
  80. package/dist/banner-survey-incentive.d.cts +7 -1
  81. package/dist/banner-survey-incentive.d.ts +7 -1
  82. package/dist/banner-survey-incentive.js +378 -2
  83. package/dist/community-initiatives.cjs +43 -10
  84. package/dist/community-initiatives.js +43 -10
  85. package/dist/components.cjs +76 -36
  86. package/dist/components.js +76 -36
  87. package/dist/contact-floating-banner.cjs +378 -2
  88. package/dist/contact-floating-banner.d.cts +7 -1
  89. package/dist/contact-floating-banner.d.ts +7 -1
  90. package/dist/contact-floating-banner.js +379 -2
  91. package/dist/cta-accent-background.cjs +28 -1
  92. package/dist/cta-accent-background.js +28 -1
  93. package/dist/cta-app-download-newsletter.cjs +30 -2
  94. package/dist/cta-app-download-newsletter.js +30 -2
  95. package/dist/cta-documentation-links.cjs +28 -2
  96. package/dist/cta-documentation-links.js +28 -2
  97. package/dist/cta-feature-cards-grid.cjs +34 -3
  98. package/dist/cta-feature-cards-grid.js +34 -3
  99. package/dist/cta-feature-checklist.cjs +27 -1
  100. package/dist/cta-feature-checklist.js +27 -1
  101. package/dist/cta-feature-list.cjs +33 -2
  102. package/dist/cta-feature-list.js +33 -2
  103. package/dist/cta-gradient-logos-floating.cjs +28 -1
  104. package/dist/cta-gradient-logos-floating.js +28 -1
  105. package/dist/cta-minimal-separator.cjs +27 -1
  106. package/dist/cta-minimal-separator.js +27 -1
  107. package/dist/cta-platform-demo.cjs +28 -1
  108. package/dist/cta-platform-demo.js +28 -1
  109. package/dist/cta-simple-centered.cjs +28 -1
  110. package/dist/cta-simple-centered.js +28 -1
  111. package/dist/cta-split-gradient-image.cjs +28 -1
  112. package/dist/cta-split-gradient-image.js +28 -1
  113. package/dist/cta-split-image-logos.cjs +29 -2
  114. package/dist/cta-split-image-logos.js +29 -2
  115. package/dist/cta-split-image.cjs +29 -2
  116. package/dist/cta-split-image.js +29 -2
  117. package/dist/cta-stacked-cards.cjs +28 -1
  118. package/dist/cta-stacked-cards.js +28 -1
  119. package/dist/faq-badge-support.cjs +33 -5
  120. package/dist/faq-badge-support.js +33 -5
  121. package/dist/faq-bordered-badge.cjs +31 -3
  122. package/dist/faq-bordered-badge.js +31 -3
  123. package/dist/faq-card-categories.cjs +60 -4
  124. package/dist/faq-card-categories.js +60 -4
  125. package/dist/faq-categorized-sections.cjs +31 -3
  126. package/dist/faq-categorized-sections.js +31 -3
  127. package/dist/faq-centered-accordion.cjs +31 -3
  128. package/dist/faq-centered-accordion.js +31 -3
  129. package/dist/faq-gradient-categories.cjs +31 -3
  130. package/dist/faq-gradient-categories.js +31 -3
  131. package/dist/faq-icon-benefits.cjs +40 -5
  132. package/dist/faq-icon-benefits.js +40 -5
  133. package/dist/faq-muted-cards.cjs +29 -2
  134. package/dist/faq-muted-cards.js +29 -2
  135. package/dist/faq-numbered-grid.cjs +32 -3
  136. package/dist/faq-numbered-grid.js +32 -3
  137. package/dist/faq-numbered-list.cjs +32 -3
  138. package/dist/faq-numbered-list.js +32 -3
  139. package/dist/faq-profile-sidebar.cjs +36 -6
  140. package/dist/faq-profile-sidebar.js +36 -6
  141. package/dist/faq-sidebar-navigation.cjs +30 -3
  142. package/dist/faq-sidebar-navigation.js +30 -3
  143. package/dist/faq-simple-accordion.cjs +29 -2
  144. package/dist/faq-simple-accordion.js +29 -2
  145. package/dist/feature-accordion-image.cjs +28 -2
  146. package/dist/feature-accordion-image.js +28 -2
  147. package/dist/feature-badge-grid-six.cjs +27 -1
  148. package/dist/feature-badge-grid-six.js +27 -1
  149. package/dist/feature-bento-image-grid.cjs +27 -1
  150. package/dist/feature-bento-image-grid.js +27 -1
  151. package/dist/feature-bento-utilities.cjs +56 -4
  152. package/dist/feature-bento-utilities.js +56 -4
  153. package/dist/feature-capabilities-grid.cjs +29 -3
  154. package/dist/feature-capabilities-grid.js +29 -3
  155. package/dist/feature-card-grid-linked.cjs +29 -2
  156. package/dist/feature-card-grid-linked.js +29 -2
  157. package/dist/feature-carousel-progress.cjs +28 -2
  158. package/dist/feature-carousel-progress.js +28 -2
  159. package/dist/feature-category-image-cards.cjs +28 -2
  160. package/dist/feature-category-image-cards.js +28 -2
  161. package/dist/feature-checklist-image.cjs +30 -2
  162. package/dist/feature-checklist-image.js +30 -2
  163. package/dist/feature-checklist-three-column.cjs +35 -5
  164. package/dist/feature-checklist-three-column.js +35 -5
  165. package/dist/feature-icon-grid-accent.cjs +28 -2
  166. package/dist/feature-icon-grid-accent.js +28 -2
  167. package/dist/feature-icon-grid-bordered.cjs +9 -4
  168. package/dist/feature-icon-grid-bordered.js +9 -4
  169. package/dist/feature-icon-grid-muted.cjs +28 -2
  170. package/dist/feature-icon-grid-muted.js +28 -2
  171. package/dist/feature-icon-tabs-content.cjs +56 -5
  172. package/dist/feature-icon-tabs-content.js +56 -5
  173. package/dist/feature-image-cards-three-column.cjs +27 -1
  174. package/dist/feature-image-cards-three-column.js +27 -1
  175. package/dist/feature-integration-cards.cjs +28 -2
  176. package/dist/feature-integration-cards.js +28 -2
  177. package/dist/feature-pattern-grid-links.cjs +28 -2
  178. package/dist/feature-pattern-grid-links.js +28 -2
  179. package/dist/feature-utility-cards-grid.cjs +9 -4
  180. package/dist/feature-utility-cards-grid.js +9 -4
  181. package/dist/footer-comprehensive-links.cjs +231 -151
  182. package/dist/footer-comprehensive-links.js +231 -151
  183. package/dist/hero-ad-campaign-expert.cjs +24 -2
  184. package/dist/hero-ad-campaign-expert.js +24 -2
  185. package/dist/hero-adaptable-product-grid.cjs +27 -1
  186. package/dist/hero-adaptable-product-grid.js +27 -1
  187. package/dist/hero-ai-powered-carousel.cjs +27 -1
  188. package/dist/hero-ai-powered-carousel.js +27 -1
  189. package/dist/hero-announcement-badge.cjs +27 -1
  190. package/dist/hero-announcement-badge.js +27 -1
  191. package/dist/hero-architecture-fullscreen.cjs +50 -2
  192. package/dist/hero-architecture-fullscreen.js +50 -2
  193. package/dist/hero-badge-image-split.cjs +27 -1
  194. package/dist/hero-badge-image-split.js +27 -1
  195. package/dist/hero-business-carousel-dots.cjs +27 -1
  196. package/dist/hero-business-carousel-dots.js +27 -1
  197. package/dist/hero-centered-gradient-cta.cjs +28 -2
  198. package/dist/hero-centered-gradient-cta.js +28 -2
  199. package/dist/hero-centered-image-grid.cjs +27 -1
  200. package/dist/hero-centered-image-grid.js +27 -1
  201. package/dist/hero-centered-screenshot.cjs +50 -2
  202. package/dist/hero-centered-screenshot.js +50 -2
  203. package/dist/hero-coming-soon-countdown.cjs +37 -7
  204. package/dist/hero-coming-soon-countdown.js +37 -7
  205. package/dist/hero-community-survey-cta.cjs +27 -1
  206. package/dist/hero-community-survey-cta.js +27 -1
  207. package/dist/hero-conversation-intelligence.cjs +50 -2
  208. package/dist/hero-conversation-intelligence.js +50 -2
  209. package/dist/hero-conversion-video-play.cjs +55 -3
  210. package/dist/hero-conversion-video-play.js +55 -3
  211. package/dist/hero-creative-studio-stacked.cjs +28 -2
  212. package/dist/hero-creative-studio-stacked.js +28 -2
  213. package/dist/hero-crm-streamlined.cjs +27 -1
  214. package/dist/hero-crm-streamlined.js +27 -1
  215. package/dist/hero-customer-support-layered.cjs +51 -3
  216. package/dist/hero-customer-support-layered.js +51 -3
  217. package/dist/hero-dashed-border-features.cjs +27 -1
  218. package/dist/hero-dashed-border-features.js +27 -1
  219. package/dist/hero-design-showcase-logos.cjs +27 -1
  220. package/dist/hero-design-showcase-logos.js +27 -1
  221. package/dist/hero-design-system-3d.cjs +32 -2
  222. package/dist/hero-design-system-3d.js +32 -2
  223. package/dist/hero-developer-tools-code.cjs +27 -1
  224. package/dist/hero-developer-tools-code.js +27 -1
  225. package/dist/hero-digital-agency-fullscreen.cjs +33 -3
  226. package/dist/hero-digital-agency-fullscreen.js +33 -3
  227. package/dist/hero-ecommerce-product-showcase.cjs +32 -6
  228. package/dist/hero-ecommerce-product-showcase.js +32 -6
  229. package/dist/hero-enterprise-security.cjs +34 -4
  230. package/dist/hero-enterprise-security.js +34 -4
  231. package/dist/hero-event-registration.cjs +35 -5
  232. package/dist/hero-event-registration.js +35 -5
  233. package/dist/hero-feature-cards-grid.cjs +82 -4
  234. package/dist/hero-feature-cards-grid.js +82 -4
  235. package/dist/hero-gradient-avatars-rating.cjs +30 -4
  236. package/dist/hero-gradient-avatars-rating.js +30 -4
  237. package/dist/hero-gradient-client-focused.cjs +27 -1
  238. package/dist/hero-gradient-client-focused.js +27 -1
  239. package/dist/hero-grid-pattern-efficiency.cjs +28 -2
  240. package/dist/hero-grid-pattern-efficiency.js +28 -2
  241. package/dist/hero-grid-pattern-solutions.cjs +27 -1
  242. package/dist/hero-grid-pattern-solutions.js +27 -1
  243. package/dist/hero-image-left-content.cjs +27 -1
  244. package/dist/hero-image-left-content.js +27 -1
  245. package/dist/hero-innovation-image-grid.cjs +27 -1
  246. package/dist/hero-innovation-image-grid.js +27 -1
  247. package/dist/hero-logo-centered-screenshot.cjs +27 -1
  248. package/dist/hero-logo-centered-screenshot.js +27 -1
  249. package/dist/hero-marketplace-scattered-images.cjs +27 -1
  250. package/dist/hero-marketplace-scattered-images.js +27 -1
  251. package/dist/hero-mentorship-video-split.cjs +7 -3
  252. package/dist/hero-mentorship-video-split.js +7 -3
  253. package/dist/hero-minimal-centered-dark.cjs +55 -3
  254. package/dist/hero-minimal-centered-dark.js +55 -3
  255. package/dist/hero-mobile-app-download.cjs +34 -4
  256. package/dist/hero-mobile-app-download.js +34 -4
  257. package/dist/hero-newsletter-minimal.cjs +29 -3
  258. package/dist/hero-newsletter-minimal.js +29 -3
  259. package/dist/hero-overlay-cta-grid.cjs +33 -3
  260. package/dist/hero-overlay-cta-grid.js +33 -3
  261. package/dist/hero-pattern-badge-logos.cjs +28 -2
  262. package/dist/hero-pattern-badge-logos.js +28 -2
  263. package/dist/hero-pattern-logo-tech-stack.cjs +33 -3
  264. package/dist/hero-pattern-logo-tech-stack.js +33 -3
  265. package/dist/hero-platform-features-grid.cjs +28 -2
  266. package/dist/hero-platform-features-grid.js +28 -2
  267. package/dist/hero-portfolio-creative.cjs +29 -3
  268. package/dist/hero-portfolio-creative.js +29 -3
  269. package/dist/hero-pricing-comparison.cjs +52 -4
  270. package/dist/hero-pricing-comparison.js +52 -4
  271. package/dist/hero-product-showcase-floating.cjs +34 -4
  272. package/dist/hero-product-showcase-floating.js +34 -4
  273. package/dist/hero-productivity-launcher-video.cjs +29 -3
  274. package/dist/hero-productivity-launcher-video.js +29 -3
  275. package/dist/hero-saas-dashboard-preview.cjs +34 -4
  276. package/dist/hero-saas-dashboard-preview.js +34 -4
  277. package/dist/hero-shared-inbox-layered.cjs +51 -3
  278. package/dist/hero-shared-inbox-layered.js +51 -3
  279. package/dist/hero-simple-centered-image.cjs +27 -1
  280. package/dist/hero-simple-centered-image.js +27 -1
  281. package/dist/hero-software-growth-video-dialog.cjs +50 -2
  282. package/dist/hero-software-growth-video-dialog.js +50 -2
  283. package/dist/hero-spiral-pattern-cards.cjs +28 -2
  284. package/dist/hero-spiral-pattern-cards.js +28 -2
  285. package/dist/hero-split-icon-cards.cjs +34 -4
  286. package/dist/hero-split-icon-cards.js +34 -4
  287. package/dist/hero-split-image-newsletter.cjs +28 -2
  288. package/dist/hero-split-image-newsletter.js +28 -2
  289. package/dist/hero-split-spiral-shapes.cjs +28 -2
  290. package/dist/hero-split-spiral-shapes.js +28 -2
  291. package/dist/hero-startup-launch-cta.cjs +28 -2
  292. package/dist/hero-startup-launch-cta.js +28 -2
  293. package/dist/hero-stats-social-proof.cjs +34 -4
  294. package/dist/hero-stats-social-proof.js +34 -4
  295. package/dist/hero-tech-carousel.cjs +27 -1
  296. package/dist/hero-tech-carousel.js +27 -1
  297. package/dist/hero-ui-library-showcase.cjs +27 -1
  298. package/dist/hero-ui-library-showcase.js +27 -1
  299. package/dist/hero-video-background-dark.cjs +28 -2
  300. package/dist/hero-video-background-dark.js +28 -2
  301. package/dist/hero-video-dialog-gradient.cjs +27 -1
  302. package/dist/hero-video-dialog-gradient.js +27 -1
  303. package/dist/hero-welcome-asymmetric-images.cjs +30 -2
  304. package/dist/hero-welcome-asymmetric-images.js +30 -2
  305. package/dist/index.cjs +104 -36
  306. package/dist/index.d.cts +1 -1
  307. package/dist/index.d.ts +1 -1
  308. package/dist/index.js +102 -37
  309. package/dist/link-page-bento-layout.cjs +57 -28
  310. package/dist/link-page-bento-layout.d.cts +1 -5
  311. package/dist/link-page-bento-layout.d.ts +1 -5
  312. package/dist/link-page-bento-layout.js +57 -28
  313. package/dist/link-page-grid-cards.cjs +52 -23
  314. package/dist/link-page-grid-cards.d.cts +1 -5
  315. package/dist/link-page-grid-cards.d.ts +1 -5
  316. package/dist/link-page-grid-cards.js +52 -23
  317. package/dist/link-page-minimal-profile.cjs +46 -18
  318. package/dist/link-page-minimal-profile.d.cts +1 -5
  319. package/dist/link-page-minimal-profile.d.ts +1 -5
  320. package/dist/link-page-minimal-profile.js +46 -18
  321. package/dist/link-page-newsletter-social.cjs +53 -28
  322. package/dist/link-page-newsletter-social.d.cts +1 -5
  323. package/dist/link-page-newsletter-social.d.ts +1 -5
  324. package/dist/link-page-newsletter-social.js +53 -28
  325. package/dist/link-tree-block.cjs +122 -34
  326. package/dist/link-tree-block.d.cts +1 -8
  327. package/dist/link-tree-block.d.ts +1 -8
  328. package/dist/link-tree-block.js +122 -34
  329. package/dist/media-hover-ctas.cjs +28 -2
  330. package/dist/media-hover-ctas.js +28 -2
  331. package/dist/process-expandable-timeline.cjs +66 -10
  332. package/dist/process-expandable-timeline.js +66 -10
  333. package/dist/process-hover-cards.cjs +39 -6
  334. package/dist/process-hover-cards.js +39 -6
  335. package/dist/process-icon-timeline.cjs +53 -3
  336. package/dist/process-icon-timeline.js +53 -3
  337. package/dist/process-mission-principles.cjs +44 -6
  338. package/dist/process-mission-principles.js +44 -6
  339. package/dist/process-numbered-services.cjs +76 -22
  340. package/dist/process-numbered-services.js +76 -22
  341. package/dist/process-roadmap-timeline.cjs +63 -9
  342. package/dist/process-roadmap-timeline.js +63 -9
  343. package/dist/process-scroll-image.cjs +71 -32
  344. package/dist/process-scroll-image.js +71 -32
  345. package/dist/process-steps-grid.cjs +61 -5
  346. package/dist/process-steps-grid.js +61 -5
  347. package/dist/process-sticky-steps.cjs +49 -69
  348. package/dist/process-sticky-steps.d.cts +1 -13
  349. package/dist/process-sticky-steps.d.ts +1 -13
  350. package/dist/process-sticky-steps.js +49 -69
  351. package/dist/project-zigzag-layout.cjs +379 -3
  352. package/dist/project-zigzag-layout.d.cts +8 -1
  353. package/dist/project-zigzag-layout.d.ts +8 -1
  354. package/dist/project-zigzag-layout.js +380 -3
  355. package/dist/registry.cjs +2759 -2476
  356. package/dist/registry.js +2759 -2476
  357. package/dist/team-media-showcase.cjs +59 -4
  358. package/dist/team-media-showcase.d.cts +4 -0
  359. package/dist/team-media-showcase.d.ts +4 -0
  360. package/dist/team-media-showcase.js +59 -4
  361. package/dist/testimonials-carousel-image.d.cts +6 -0
  362. package/dist/testimonials-carousel-image.d.ts +6 -0
  363. package/dist/utils.cjs +58 -0
  364. package/dist/utils.d.cts +113 -1
  365. package/dist/utils.d.ts +113 -1
  366. package/dist/utils.js +56 -1
  367. package/package.json +1 -1
@@ -73,6 +73,36 @@ function getNestedCardTextColor(parentBg, options) {
73
73
  const isDark = parentBg === "dark" || parentBg === "secondary" || parentBg === "primary";
74
74
  return isDark ? "text-foreground" : "";
75
75
  }
76
+ function getTextColor(parentBg, variant = "default", options) {
77
+ const isDark = parentBg === "dark" || parentBg === "secondary" || parentBg === "primary";
78
+ if (isDark) {
79
+ switch (variant) {
80
+ case "default":
81
+ return "text-foreground";
82
+ case "muted":
83
+ return "text-foreground/80";
84
+ case "subtle":
85
+ return "text-foreground/60";
86
+ case "accent":
87
+ return "text-accent-foreground";
88
+ }
89
+ } else {
90
+ switch (variant) {
91
+ case "default":
92
+ return "text-foreground";
93
+ case "muted":
94
+ return "text-muted-foreground";
95
+ case "subtle":
96
+ return "text-muted-foreground/70";
97
+ case "accent":
98
+ return "text-primary";
99
+ }
100
+ }
101
+ }
102
+ function getAccentColor(parentBg, options) {
103
+ const isDark = parentBg === "dark" || parentBg === "secondary" || parentBg === "primary";
104
+ return isDark ? "text-accent-foreground" : "text-primary";
105
+ }
76
106
  var maxWidthStyles = {
77
107
  sm: "max-w-screen-sm",
78
108
  md: "max-w-screen-md",
@@ -1655,7 +1685,7 @@ function AlternatingBlocks({
1655
1685
  className,
1656
1686
  children: [
1657
1687
  title && typeof title !== "string" || subtitle && typeof subtitle !== "string" ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-12 text-center md:mb-16", children: [
1658
- subtitle && typeof subtitle !== "string" && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-2 text-sm font-semibold uppercase tracking-wider text-primary", children: subtitle }),
1688
+ subtitle && typeof subtitle !== "string" && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mb-2 text-sm font-semibold uppercase tracking-wider", getAccentColor(background)), children: subtitle }),
1659
1689
  title && typeof title !== "string" && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-3xl font-bold tracking-tight md:text-4xl lg:text-5xl", children: title })
1660
1690
  ] }) : null,
1661
1691
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mx-auto w-full max-w-[900px]", contentClassName), children: sectionsContent })
@@ -1860,12 +1890,12 @@ function AboutMissionPrinciples({
1860
1890
  children: principles.map((principle, idx) => /* @__PURE__ */ jsxRuntime.jsxs(
1861
1891
  "div",
1862
1892
  {
1863
- className: "relative rounded-lg border p-6 transition-colors hover:bg-muted",
1893
+ className: cn("relative rounded-lg border p-6 transition-colors", `hover:${getNestedCardBg(background, "muted")}`),
1864
1894
  children: [
1865
- principle.number && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute right-4 top-4 text-3xl font-bold text-primary/20", children: principle.number }),
1895
+ principle.number && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("absolute right-4 top-4 text-3xl font-bold", getAccentColor(background), "opacity-20"), children: principle.number }),
1866
1896
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-3", children: [
1867
1897
  principle.title && (typeof principle.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-xl font-bold", children: principle.title }) : principle.title),
1868
- principle.description && (typeof principle.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground", children: principle.description }) : principle.description)
1898
+ principle.description && (typeof principle.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: getTextColor(background, "muted"), children: principle.description }) : principle.description)
1869
1899
  ] })
1870
1900
  ]
1871
1901
  },
@@ -1916,7 +1946,8 @@ function AboutMissionPrinciples({
1916
1946
  "div",
1917
1947
  {
1918
1948
  className: cn(
1919
- "inline-block rounded-lg bg-primary/10 px-3 py-1 text-sm text-primary",
1949
+ "inline-block rounded-lg bg-primary/10 px-3 py-1 text-sm",
1950
+ getAccentColor(background),
1920
1951
  badgeClassName
1921
1952
  ),
1922
1953
  children: badgeText
@@ -1936,7 +1967,8 @@ function AboutMissionPrinciples({
1936
1967
  "p",
1937
1968
  {
1938
1969
  className: cn(
1939
- "text-xl text-muted-foreground",
1970
+ "text-xl",
1971
+ getTextColor(background, "muted"),
1940
1972
  missionDescriptionClassName
1941
1973
  ),
1942
1974
  children: missionDescription
@@ -1971,7 +2003,8 @@ function AboutMissionPrinciples({
1971
2003
  "p",
1972
2004
  {
1973
2005
  className: cn(
1974
- "mb-4 text-muted-foreground",
2006
+ "mb-4",
2007
+ getTextColor(background, "muted"),
1975
2008
  visionDescriptionClassName
1976
2009
  ),
1977
2010
  children: visionDescription
@@ -2056,7 +2089,7 @@ function AboutExpandableValues({
2056
2089
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "shrink-0 rounded-md bg-primary/10 p-3", children: value.icon }),
2057
2090
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
2058
2091
  value.title && (typeof value.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-lg font-bold", children: value.title }) : value.title),
2059
- value.shortDescription && (typeof value.shortDescription === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-1 text-sm text-muted-foreground", children: value.shortDescription }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-1", children: value.shortDescription }))
2092
+ value.shortDescription && (typeof value.shortDescription === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("mt-1 text-sm", getTextColor(background, "muted")), children: value.shortDescription }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-1", children: value.shortDescription }))
2060
2093
  ] })
2061
2094
  ] }),
2062
2095
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -2065,7 +2098,8 @@ function AboutExpandableValues({
2065
2098
  name: "lucide/chevron-down",
2066
2099
  size: 20,
2067
2100
  className: cn(
2068
- "mt-1 shrink-0 text-muted-foreground transition-transform duration-300",
2101
+ "mt-1 shrink-0 transition-transform duration-300",
2102
+ getTextColor(background, "muted"),
2069
2103
  expandedValue === value.id ? "rotate-180" : ""
2070
2104
  )
2071
2105
  }
@@ -2077,16 +2111,16 @@ function AboutExpandableValues({
2077
2111
  value.longDescription && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(
2078
2112
  "rounded-lg p-4",
2079
2113
  getNestedCardBg(background, "subtle")
2080
- ), children: typeof value.longDescription === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground", children: value.longDescription }) : value.longDescription }),
2114
+ ), children: typeof value.longDescription === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: getTextColor(background, "muted"), children: value.longDescription }) : value.longDescription }),
2081
2115
  value.examples && value.examples.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
2082
- /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "mb-2 text-sm font-semibold text-muted-foreground", children: "How we put this into practice:" }),
2116
+ /* @__PURE__ */ jsxRuntime.jsx("h4", { className: cn("mb-2 text-sm font-semibold", getTextColor(background, "muted")), children: "How we put this into practice:" }),
2083
2117
  /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "space-y-2", children: value.examples.map((example, index) => /* @__PURE__ */ jsxRuntime.jsxs("li", { className: "flex items-start gap-2", children: [
2084
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-1 flex size-5 shrink-0 items-center justify-center rounded-full bg-primary/10", children: /* @__PURE__ */ jsxRuntime.jsx(
2118
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mt-1 flex size-5 shrink-0 items-center justify-center rounded-full", getNestedCardBg(background, "muted")), children: /* @__PURE__ */ jsxRuntime.jsx(
2085
2119
  DynamicIcon,
2086
2120
  {
2087
2121
  name: "lucide/check",
2088
2122
  size: 12,
2089
- className: "text-primary"
2123
+ className: getAccentColor(background)
2090
2124
  }
2091
2125
  ) }),
2092
2126
  typeof example === "string" ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm pt-2", children: example }) : example
@@ -2120,7 +2154,9 @@ function AboutExpandableValues({
2120
2154
  "div",
2121
2155
  {
2122
2156
  className: cn(
2123
- "inline-block rounded-lg bg-primary/10 px-3 py-1 text-sm text-primary",
2157
+ "inline-block rounded-lg px-3 py-1 text-sm",
2158
+ getNestedCardBg(background, "muted"),
2159
+ getAccentColor(background),
2124
2160
  badgeClassName
2125
2161
  ),
2126
2162
  children: badgeText
@@ -2140,7 +2176,8 @@ function AboutExpandableValues({
2140
2176
  "p",
2141
2177
  {
2142
2178
  className: cn(
2143
- "text-muted-foreground text-balance",
2179
+ "text-balance",
2180
+ getTextColor(background, "muted"),
2144
2181
  descriptionClassName
2145
2182
  ),
2146
2183
  children: description
@@ -2164,7 +2201,7 @@ function AboutExpandableValues({
2164
2201
  ctaDescription && (typeof ctaDescription === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
2165
2202
  "p",
2166
2203
  {
2167
- className: cn("text-muted-foreground", ctaDescriptionClassName),
2204
+ className: cn(getTextColor(background, "muted"), ctaDescriptionClassName),
2168
2205
  children: ctaDescription
2169
2206
  }
2170
2207
  ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: ctaDescriptionClassName, children: ctaDescription })),
@@ -2325,7 +2362,7 @@ function CommunityInitiatives({
2325
2362
  category.id
2326
2363
  )) })
2327
2364
  ] }),
2328
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mx-auto max-w-2xl text-left md:text-center", children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground", children: currentCategory?.description }) }),
2365
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mx-auto max-w-2xl text-left md:text-center", children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn(getTextColor(background, "muted")), children: currentCategory?.description }) }),
2329
2366
  categories.map((category) => /* @__PURE__ */ jsxRuntime.jsx(
2330
2367
  TabsContent,
2331
2368
  {
@@ -2347,20 +2384,20 @@ function CommunityInitiatives({
2347
2384
  ),
2348
2385
  children: [
2349
2386
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
2350
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "rounded-md bg-primary/10 p-2", children: /* @__PURE__ */ jsxRuntime.jsx(
2387
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("rounded-md p-2", getNestedCardBg(background, "muted")), children: /* @__PURE__ */ jsxRuntime.jsx(
2351
2388
  DynamicIcon,
2352
2389
  {
2353
2390
  name: initiative.icon,
2354
2391
  size: 24,
2355
- className: "text-primary"
2392
+ className: cn(getAccentColor(background))
2356
2393
  }
2357
2394
  ) }),
2358
2395
  /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-2xl font-bold", children: initiative.title })
2359
2396
  ] }),
2360
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground", children: initiative.description }),
2397
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn(getTextColor(background, "muted")), children: initiative.description }),
2361
2398
  initiative.metrics && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-3 gap-4 pt-2", children: initiative.metrics.map((metric, i) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-center", children: [
2362
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-2xl font-bold text-primary", children: metric.value }),
2363
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-1 text-xs text-muted-foreground", children: metric.label })
2399
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("text-2xl font-bold", getAccentColor(background)), children: metric.value }),
2400
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mt-1 text-xs", getTextColor(background, "muted")), children: metric.label })
2364
2401
  ] }, i)) })
2365
2402
  ]
2366
2403
  }
@@ -2398,7 +2435,7 @@ function CommunityInitiatives({
2398
2435
  {
2399
2436
  name: initiative.icon,
2400
2437
  size: 64,
2401
- className: "mx-auto mb-4 text-muted-foreground/50"
2438
+ className: cn("mx-auto mb-4", getTextColor(background, "muted"), "opacity-50")
2402
2439
  }
2403
2440
  ),
2404
2441
  /* @__PURE__ */ jsxRuntime.jsxs(Badge, { variant: "secondary", className: "mx-auto", children: [
@@ -2453,7 +2490,9 @@ function CommunityInitiatives({
2453
2490
  "div",
2454
2491
  {
2455
2492
  className: cn(
2456
- "inline-block rounded-lg bg-primary/10 px-3 py-1 text-sm text-primary",
2493
+ "inline-block rounded-lg px-3 py-1 text-sm",
2494
+ getNestedCardBg(background, "muted"),
2495
+ getAccentColor(background),
2457
2496
  badgeClassName
2458
2497
  ),
2459
2498
  children: badgeText
@@ -2469,7 +2508,7 @@ function CommunityInitiatives({
2469
2508
  children: heading
2470
2509
  }
2471
2510
  ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: headingClassName, children: heading })),
2472
- description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("text-muted-foreground", descriptionClassName), children: description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description }))
2511
+ description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn(getTextColor(background, "muted"), descriptionClassName), children: description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description }))
2473
2512
  ]
2474
2513
  }
2475
2514
  ),
@@ -2484,7 +2523,8 @@ function CommunityInitiatives({
2484
2523
  "p",
2485
2524
  {
2486
2525
  className: cn(
2487
- "mx-auto mb-8 max-w-2xl text-muted-foreground",
2526
+ "mx-auto mb-8 max-w-2xl",
2527
+ getTextColor(background, "muted"),
2488
2528
  ctaDescriptionClassName
2489
2529
  ),
2490
2530
  children: ctaDescription
@@ -2578,9 +2618,9 @@ function AboutCultureTabs({
2578
2618
  containerClassName,
2579
2619
  children: [
2580
2620
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("mx-auto mb-12 max-w-3xl space-y-4 text-center", headerClassName), children: [
2581
- badgeText && (typeof badgeText === "string" ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("inline-block rounded-lg bg-primary/10 px-3 py-1 text-sm text-primary", badgeClassName), children: badgeText }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: badgeClassName, children: badgeText })),
2621
+ badgeText && (typeof badgeText === "string" ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("inline-block rounded-lg bg-primary/10 px-3 py-1 text-sm", getAccentColor(background), badgeClassName), children: badgeText }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: badgeClassName, children: badgeText })),
2582
2622
  heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h2", { className: cn("text-3xl font-bold tracking-tight md:text-4xl", headingClassName), children: heading }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: headingClassName, children: heading })),
2583
- description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("text-muted-foreground", descriptionClassName), children: description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description }))
2623
+ description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn(getTextColor(background, "muted"), descriptionClassName), children: description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description }))
2584
2624
  ] }),
2585
2625
  aspectsSlot ? aspectsSlot : resolvedAspects.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(
2586
2626
  Tabs,
@@ -2594,7 +2634,7 @@ function AboutCultureTabs({
2594
2634
  TabsTrigger,
2595
2635
  {
2596
2636
  value: aspect.id,
2597
- className: "px-3 py-2.5 data-[state=active]:bg-primary data-[state=active]:text-primary-foreground",
2637
+ className: cn("px-3 py-2.5", `data-[state=active]:${getAccentColor(background)}`, "data-[state=active]:text-primary-foreground"),
2598
2638
  children: aspect.title
2599
2639
  },
2600
2640
  aspect.id
@@ -2603,7 +2643,7 @@ function AboutCultureTabs({
2603
2643
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-6 md:grid-cols-2", children: [
2604
2644
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
2605
2645
  /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-2xl font-bold tracking-tight", children: aspect.title }),
2606
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "leading-relaxed text-muted-foreground", children: aspect.description })
2646
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("leading-relaxed", getTextColor(background, "muted")), children: aspect.description })
2607
2647
  ] }),
2608
2648
  /* @__PURE__ */ jsxRuntime.jsx(Card, { className: "border-0 bg-gradient-to-br from-primary/5 to-primary/10 p-0", children: /* @__PURE__ */ jsxRuntime.jsxs(CardContent, { className: "space-y-4 p-6 pt-6", children: [
2609
2649
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -2611,10 +2651,10 @@ function AboutCultureTabs({
2611
2651
  {
2612
2652
  name: "lucide/quote",
2613
2653
  size: 32,
2614
- className: "text-primary/40"
2654
+ className: cn(getAccentColor(background), "opacity-40")
2615
2655
  }
2616
2656
  ),
2617
- /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "italic text-muted-foreground", children: [
2657
+ /* @__PURE__ */ jsxRuntime.jsxs("p", { className: cn("italic", getTextColor(background, "muted")), children: [
2618
2658
  '"',
2619
2659
  aspect.testimonial.quote,
2620
2660
  '"'
@@ -2631,7 +2671,7 @@ function AboutCultureTabs({
2631
2671
  ) }),
2632
2672
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
2633
2673
  /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "text-sm font-medium", children: aspect.testimonial.author }),
2634
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground", children: aspect.testimonial.role })
2674
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("text-xs", getTextColor(background, "muted")), children: aspect.testimonial.role })
2635
2675
  ] })
2636
2676
  ] })
2637
2677
  ] }) })
@@ -2660,7 +2700,7 @@ function AboutCultureTabs({
2660
2700
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid items-center gap-8 md:grid-cols-2", children: [
2661
2701
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
2662
2702
  ctaHeading && (typeof ctaHeading === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: cn("mb-4 text-2xl font-bold", ctaHeadingClassName), children: ctaHeading }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mb-4", ctaHeadingClassName), children: ctaHeading })),
2663
- ctaDescription && (typeof ctaDescription === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("mb-6 text-muted-foreground", ctaDescriptionClassName), children: ctaDescription }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mb-6", ctaDescriptionClassName), children: ctaDescription })),
2703
+ ctaDescription && (typeof ctaDescription === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("mb-6", getTextColor(background, "muted"), ctaDescriptionClassName), children: ctaDescription }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mb-6", ctaDescriptionClassName), children: ctaDescription })),
2664
2704
  (actionsSlot || actions && actions.length > 0) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex gap-4", actionsClassName), children: actionsContent })
2665
2705
  ] }),
2666
2706
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-3 gap-2", children: ctaImagesContent })
@@ -2699,7 +2739,7 @@ function MediaHoverCtas({
2699
2739
  "--media-hover-cta-hover-bg": item.onHoverBackgroundColor
2700
2740
  } : {}
2701
2741
  } : void 0;
2702
- const baseBackgroundClassName = item.initialBackgroundColor ? "bg-[var(--media-hover-cta-bg)]" : "bg-muted-foreground/10";
2742
+ const baseBackgroundClassName = item.initialBackgroundColor ? "bg-[var(--media-hover-cta-bg)]" : getNestedCardBg(background, "muted");
2703
2743
  const hoverBackgroundClassName = applyHoverBackground ? "group-hover:bg-[var(--media-hover-cta-hover-bg)]" : "";
2704
2744
  const hoverImageAltText = item.altText ?? "";
2705
2745
  return /* @__PURE__ */ jsxRuntime.jsxs(
@@ -2735,7 +2775,7 @@ function MediaHoverCtas({
2735
2775
  index
2736
2776
  );
2737
2777
  });
2738
- }, [itemsSlot, resolvedItems, optixFlowConfig]);
2778
+ }, [itemsSlot, resolvedItems, optixFlowConfig, background]);
2739
2779
  return /* @__PURE__ */ jsxRuntime.jsx(
2740
2780
  Section,
2741
2781
  {
@@ -50,6 +50,36 @@ function getNestedCardTextColor(parentBg, options) {
50
50
  const isDark = parentBg === "dark" || parentBg === "secondary" || parentBg === "primary";
51
51
  return isDark ? "text-foreground" : "";
52
52
  }
53
+ function getTextColor(parentBg, variant = "default", options) {
54
+ const isDark = parentBg === "dark" || parentBg === "secondary" || parentBg === "primary";
55
+ if (isDark) {
56
+ switch (variant) {
57
+ case "default":
58
+ return "text-foreground";
59
+ case "muted":
60
+ return "text-foreground/80";
61
+ case "subtle":
62
+ return "text-foreground/60";
63
+ case "accent":
64
+ return "text-accent-foreground";
65
+ }
66
+ } else {
67
+ switch (variant) {
68
+ case "default":
69
+ return "text-foreground";
70
+ case "muted":
71
+ return "text-muted-foreground";
72
+ case "subtle":
73
+ return "text-muted-foreground/70";
74
+ case "accent":
75
+ return "text-primary";
76
+ }
77
+ }
78
+ }
79
+ function getAccentColor(parentBg, options) {
80
+ const isDark = parentBg === "dark" || parentBg === "secondary" || parentBg === "primary";
81
+ return isDark ? "text-accent-foreground" : "text-primary";
82
+ }
53
83
  var maxWidthStyles = {
54
84
  sm: "max-w-screen-sm",
55
85
  md: "max-w-screen-md",
@@ -1632,7 +1662,7 @@ function AlternatingBlocks({
1632
1662
  className,
1633
1663
  children: [
1634
1664
  title && typeof title !== "string" || subtitle && typeof subtitle !== "string" ? /* @__PURE__ */ jsxs("div", { className: "mb-12 text-center md:mb-16", children: [
1635
- subtitle && typeof subtitle !== "string" && /* @__PURE__ */ jsx("div", { className: "mb-2 text-sm font-semibold uppercase tracking-wider text-primary", children: subtitle }),
1665
+ subtitle && typeof subtitle !== "string" && /* @__PURE__ */ jsx("div", { className: cn("mb-2 text-sm font-semibold uppercase tracking-wider", getAccentColor(background)), children: subtitle }),
1636
1666
  title && typeof title !== "string" && /* @__PURE__ */ jsx("div", { className: "text-3xl font-bold tracking-tight md:text-4xl lg:text-5xl", children: title })
1637
1667
  ] }) : null,
1638
1668
  /* @__PURE__ */ jsx("div", { className: cn("mx-auto w-full max-w-[900px]", contentClassName), children: sectionsContent })
@@ -1837,12 +1867,12 @@ function AboutMissionPrinciples({
1837
1867
  children: principles.map((principle, idx) => /* @__PURE__ */ jsxs(
1838
1868
  "div",
1839
1869
  {
1840
- className: "relative rounded-lg border p-6 transition-colors hover:bg-muted",
1870
+ className: cn("relative rounded-lg border p-6 transition-colors", `hover:${getNestedCardBg(background, "muted")}`),
1841
1871
  children: [
1842
- principle.number && /* @__PURE__ */ jsx("div", { className: "absolute right-4 top-4 text-3xl font-bold text-primary/20", children: principle.number }),
1872
+ principle.number && /* @__PURE__ */ jsx("div", { className: cn("absolute right-4 top-4 text-3xl font-bold", getAccentColor(background), "opacity-20"), children: principle.number }),
1843
1873
  /* @__PURE__ */ jsxs("div", { className: "space-y-3", children: [
1844
1874
  principle.title && (typeof principle.title === "string" ? /* @__PURE__ */ jsx("h3", { className: "text-xl font-bold", children: principle.title }) : principle.title),
1845
- principle.description && (typeof principle.description === "string" ? /* @__PURE__ */ jsx("p", { className: "text-muted-foreground", children: principle.description }) : principle.description)
1875
+ principle.description && (typeof principle.description === "string" ? /* @__PURE__ */ jsx("p", { className: getTextColor(background, "muted"), children: principle.description }) : principle.description)
1846
1876
  ] })
1847
1877
  ]
1848
1878
  },
@@ -1893,7 +1923,8 @@ function AboutMissionPrinciples({
1893
1923
  "div",
1894
1924
  {
1895
1925
  className: cn(
1896
- "inline-block rounded-lg bg-primary/10 px-3 py-1 text-sm text-primary",
1926
+ "inline-block rounded-lg bg-primary/10 px-3 py-1 text-sm",
1927
+ getAccentColor(background),
1897
1928
  badgeClassName
1898
1929
  ),
1899
1930
  children: badgeText
@@ -1913,7 +1944,8 @@ function AboutMissionPrinciples({
1913
1944
  "p",
1914
1945
  {
1915
1946
  className: cn(
1916
- "text-xl text-muted-foreground",
1947
+ "text-xl",
1948
+ getTextColor(background, "muted"),
1917
1949
  missionDescriptionClassName
1918
1950
  ),
1919
1951
  children: missionDescription
@@ -1948,7 +1980,8 @@ function AboutMissionPrinciples({
1948
1980
  "p",
1949
1981
  {
1950
1982
  className: cn(
1951
- "mb-4 text-muted-foreground",
1983
+ "mb-4",
1984
+ getTextColor(background, "muted"),
1952
1985
  visionDescriptionClassName
1953
1986
  ),
1954
1987
  children: visionDescription
@@ -2033,7 +2066,7 @@ function AboutExpandableValues({
2033
2066
  /* @__PURE__ */ jsx("div", { className: "shrink-0 rounded-md bg-primary/10 p-3", children: value.icon }),
2034
2067
  /* @__PURE__ */ jsxs("div", { children: [
2035
2068
  value.title && (typeof value.title === "string" ? /* @__PURE__ */ jsx("h3", { className: "text-lg font-bold", children: value.title }) : value.title),
2036
- value.shortDescription && (typeof value.shortDescription === "string" ? /* @__PURE__ */ jsx("p", { className: "mt-1 text-sm text-muted-foreground", children: value.shortDescription }) : /* @__PURE__ */ jsx("div", { className: "mt-1", children: value.shortDescription }))
2069
+ value.shortDescription && (typeof value.shortDescription === "string" ? /* @__PURE__ */ jsx("p", { className: cn("mt-1 text-sm", getTextColor(background, "muted")), children: value.shortDescription }) : /* @__PURE__ */ jsx("div", { className: "mt-1", children: value.shortDescription }))
2037
2070
  ] })
2038
2071
  ] }),
2039
2072
  /* @__PURE__ */ jsx(
@@ -2042,7 +2075,8 @@ function AboutExpandableValues({
2042
2075
  name: "lucide/chevron-down",
2043
2076
  size: 20,
2044
2077
  className: cn(
2045
- "mt-1 shrink-0 text-muted-foreground transition-transform duration-300",
2078
+ "mt-1 shrink-0 transition-transform duration-300",
2079
+ getTextColor(background, "muted"),
2046
2080
  expandedValue === value.id ? "rotate-180" : ""
2047
2081
  )
2048
2082
  }
@@ -2054,16 +2088,16 @@ function AboutExpandableValues({
2054
2088
  value.longDescription && /* @__PURE__ */ jsx("div", { className: cn(
2055
2089
  "rounded-lg p-4",
2056
2090
  getNestedCardBg(background, "subtle")
2057
- ), children: typeof value.longDescription === "string" ? /* @__PURE__ */ jsx("p", { className: "text-muted-foreground", children: value.longDescription }) : value.longDescription }),
2091
+ ), children: typeof value.longDescription === "string" ? /* @__PURE__ */ jsx("p", { className: getTextColor(background, "muted"), children: value.longDescription }) : value.longDescription }),
2058
2092
  value.examples && value.examples.length > 0 && /* @__PURE__ */ jsxs("div", { children: [
2059
- /* @__PURE__ */ jsx("h4", { className: "mb-2 text-sm font-semibold text-muted-foreground", children: "How we put this into practice:" }),
2093
+ /* @__PURE__ */ jsx("h4", { className: cn("mb-2 text-sm font-semibold", getTextColor(background, "muted")), children: "How we put this into practice:" }),
2060
2094
  /* @__PURE__ */ jsx("ul", { className: "space-y-2", children: value.examples.map((example, index) => /* @__PURE__ */ jsxs("li", { className: "flex items-start gap-2", children: [
2061
- /* @__PURE__ */ jsx("div", { className: "mt-1 flex size-5 shrink-0 items-center justify-center rounded-full bg-primary/10", children: /* @__PURE__ */ jsx(
2095
+ /* @__PURE__ */ jsx("div", { className: cn("mt-1 flex size-5 shrink-0 items-center justify-center rounded-full", getNestedCardBg(background, "muted")), children: /* @__PURE__ */ jsx(
2062
2096
  DynamicIcon,
2063
2097
  {
2064
2098
  name: "lucide/check",
2065
2099
  size: 12,
2066
- className: "text-primary"
2100
+ className: getAccentColor(background)
2067
2101
  }
2068
2102
  ) }),
2069
2103
  typeof example === "string" ? /* @__PURE__ */ jsx("span", { className: "text-sm pt-2", children: example }) : example
@@ -2097,7 +2131,9 @@ function AboutExpandableValues({
2097
2131
  "div",
2098
2132
  {
2099
2133
  className: cn(
2100
- "inline-block rounded-lg bg-primary/10 px-3 py-1 text-sm text-primary",
2134
+ "inline-block rounded-lg px-3 py-1 text-sm",
2135
+ getNestedCardBg(background, "muted"),
2136
+ getAccentColor(background),
2101
2137
  badgeClassName
2102
2138
  ),
2103
2139
  children: badgeText
@@ -2117,7 +2153,8 @@ function AboutExpandableValues({
2117
2153
  "p",
2118
2154
  {
2119
2155
  className: cn(
2120
- "text-muted-foreground text-balance",
2156
+ "text-balance",
2157
+ getTextColor(background, "muted"),
2121
2158
  descriptionClassName
2122
2159
  ),
2123
2160
  children: description
@@ -2141,7 +2178,7 @@ function AboutExpandableValues({
2141
2178
  ctaDescription && (typeof ctaDescription === "string" ? /* @__PURE__ */ jsx(
2142
2179
  "p",
2143
2180
  {
2144
- className: cn("text-muted-foreground", ctaDescriptionClassName),
2181
+ className: cn(getTextColor(background, "muted"), ctaDescriptionClassName),
2145
2182
  children: ctaDescription
2146
2183
  }
2147
2184
  ) : /* @__PURE__ */ jsx("div", { className: ctaDescriptionClassName, children: ctaDescription })),
@@ -2302,7 +2339,7 @@ function CommunityInitiatives({
2302
2339
  category.id
2303
2340
  )) })
2304
2341
  ] }),
2305
- /* @__PURE__ */ jsx("div", { className: "mx-auto max-w-2xl text-left md:text-center", children: /* @__PURE__ */ jsx("p", { className: "text-muted-foreground", children: currentCategory?.description }) }),
2342
+ /* @__PURE__ */ jsx("div", { className: "mx-auto max-w-2xl text-left md:text-center", children: /* @__PURE__ */ jsx("p", { className: cn(getTextColor(background, "muted")), children: currentCategory?.description }) }),
2306
2343
  categories.map((category) => /* @__PURE__ */ jsx(
2307
2344
  TabsContent,
2308
2345
  {
@@ -2324,20 +2361,20 @@ function CommunityInitiatives({
2324
2361
  ),
2325
2362
  children: [
2326
2363
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
2327
- /* @__PURE__ */ jsx("div", { className: "rounded-md bg-primary/10 p-2", children: /* @__PURE__ */ jsx(
2364
+ /* @__PURE__ */ jsx("div", { className: cn("rounded-md p-2", getNestedCardBg(background, "muted")), children: /* @__PURE__ */ jsx(
2328
2365
  DynamicIcon,
2329
2366
  {
2330
2367
  name: initiative.icon,
2331
2368
  size: 24,
2332
- className: "text-primary"
2369
+ className: cn(getAccentColor(background))
2333
2370
  }
2334
2371
  ) }),
2335
2372
  /* @__PURE__ */ jsx("h3", { className: "text-2xl font-bold", children: initiative.title })
2336
2373
  ] }),
2337
- /* @__PURE__ */ jsx("p", { className: "text-muted-foreground", children: initiative.description }),
2374
+ /* @__PURE__ */ jsx("p", { className: cn(getTextColor(background, "muted")), children: initiative.description }),
2338
2375
  initiative.metrics && /* @__PURE__ */ jsx("div", { className: "grid grid-cols-3 gap-4 pt-2", children: initiative.metrics.map((metric, i) => /* @__PURE__ */ jsxs("div", { className: "text-center", children: [
2339
- /* @__PURE__ */ jsx("div", { className: "text-2xl font-bold text-primary", children: metric.value }),
2340
- /* @__PURE__ */ jsx("div", { className: "mt-1 text-xs text-muted-foreground", children: metric.label })
2376
+ /* @__PURE__ */ jsx("div", { className: cn("text-2xl font-bold", getAccentColor(background)), children: metric.value }),
2377
+ /* @__PURE__ */ jsx("div", { className: cn("mt-1 text-xs", getTextColor(background, "muted")), children: metric.label })
2341
2378
  ] }, i)) })
2342
2379
  ]
2343
2380
  }
@@ -2375,7 +2412,7 @@ function CommunityInitiatives({
2375
2412
  {
2376
2413
  name: initiative.icon,
2377
2414
  size: 64,
2378
- className: "mx-auto mb-4 text-muted-foreground/50"
2415
+ className: cn("mx-auto mb-4", getTextColor(background, "muted"), "opacity-50")
2379
2416
  }
2380
2417
  ),
2381
2418
  /* @__PURE__ */ jsxs(Badge, { variant: "secondary", className: "mx-auto", children: [
@@ -2430,7 +2467,9 @@ function CommunityInitiatives({
2430
2467
  "div",
2431
2468
  {
2432
2469
  className: cn(
2433
- "inline-block rounded-lg bg-primary/10 px-3 py-1 text-sm text-primary",
2470
+ "inline-block rounded-lg px-3 py-1 text-sm",
2471
+ getNestedCardBg(background, "muted"),
2472
+ getAccentColor(background),
2434
2473
  badgeClassName
2435
2474
  ),
2436
2475
  children: badgeText
@@ -2446,7 +2485,7 @@ function CommunityInitiatives({
2446
2485
  children: heading
2447
2486
  }
2448
2487
  ) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
2449
- description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("text-muted-foreground", descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
2488
+ description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn(getTextColor(background, "muted"), descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
2450
2489
  ]
2451
2490
  }
2452
2491
  ),
@@ -2461,7 +2500,8 @@ function CommunityInitiatives({
2461
2500
  "p",
2462
2501
  {
2463
2502
  className: cn(
2464
- "mx-auto mb-8 max-w-2xl text-muted-foreground",
2503
+ "mx-auto mb-8 max-w-2xl",
2504
+ getTextColor(background, "muted"),
2465
2505
  ctaDescriptionClassName
2466
2506
  ),
2467
2507
  children: ctaDescription
@@ -2555,9 +2595,9 @@ function AboutCultureTabs({
2555
2595
  containerClassName,
2556
2596
  children: [
2557
2597
  /* @__PURE__ */ jsxs("div", { className: cn("mx-auto mb-12 max-w-3xl space-y-4 text-center", headerClassName), children: [
2558
- badgeText && (typeof badgeText === "string" ? /* @__PURE__ */ jsx("div", { className: cn("inline-block rounded-lg bg-primary/10 px-3 py-1 text-sm text-primary", badgeClassName), children: badgeText }) : /* @__PURE__ */ jsx("div", { className: badgeClassName, children: badgeText })),
2598
+ badgeText && (typeof badgeText === "string" ? /* @__PURE__ */ jsx("div", { className: cn("inline-block rounded-lg bg-primary/10 px-3 py-1 text-sm", getAccentColor(background), badgeClassName), children: badgeText }) : /* @__PURE__ */ jsx("div", { className: badgeClassName, children: badgeText })),
2559
2599
  heading && (typeof heading === "string" ? /* @__PURE__ */ jsx("h2", { className: cn("text-3xl font-bold tracking-tight md:text-4xl", headingClassName), children: heading }) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
2560
- description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("text-muted-foreground", descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
2600
+ description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn(getTextColor(background, "muted"), descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
2561
2601
  ] }),
2562
2602
  aspectsSlot ? aspectsSlot : resolvedAspects.length > 0 ? /* @__PURE__ */ jsxs(
2563
2603
  Tabs,
@@ -2571,7 +2611,7 @@ function AboutCultureTabs({
2571
2611
  TabsTrigger,
2572
2612
  {
2573
2613
  value: aspect.id,
2574
- className: "px-3 py-2.5 data-[state=active]:bg-primary data-[state=active]:text-primary-foreground",
2614
+ className: cn("px-3 py-2.5", `data-[state=active]:${getAccentColor(background)}`, "data-[state=active]:text-primary-foreground"),
2575
2615
  children: aspect.title
2576
2616
  },
2577
2617
  aspect.id
@@ -2580,7 +2620,7 @@ function AboutCultureTabs({
2580
2620
  /* @__PURE__ */ jsxs("div", { className: "grid gap-6 md:grid-cols-2", children: [
2581
2621
  /* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
2582
2622
  /* @__PURE__ */ jsx("h3", { className: "text-2xl font-bold tracking-tight", children: aspect.title }),
2583
- /* @__PURE__ */ jsx("p", { className: "leading-relaxed text-muted-foreground", children: aspect.description })
2623
+ /* @__PURE__ */ jsx("p", { className: cn("leading-relaxed", getTextColor(background, "muted")), children: aspect.description })
2584
2624
  ] }),
2585
2625
  /* @__PURE__ */ jsx(Card, { className: "border-0 bg-gradient-to-br from-primary/5 to-primary/10 p-0", children: /* @__PURE__ */ jsxs(CardContent, { className: "space-y-4 p-6 pt-6", children: [
2586
2626
  /* @__PURE__ */ jsx(
@@ -2588,10 +2628,10 @@ function AboutCultureTabs({
2588
2628
  {
2589
2629
  name: "lucide/quote",
2590
2630
  size: 32,
2591
- className: "text-primary/40"
2631
+ className: cn(getAccentColor(background), "opacity-40")
2592
2632
  }
2593
2633
  ),
2594
- /* @__PURE__ */ jsxs("p", { className: "italic text-muted-foreground", children: [
2634
+ /* @__PURE__ */ jsxs("p", { className: cn("italic", getTextColor(background, "muted")), children: [
2595
2635
  '"',
2596
2636
  aspect.testimonial.quote,
2597
2637
  '"'
@@ -2608,7 +2648,7 @@ function AboutCultureTabs({
2608
2648
  ) }),
2609
2649
  /* @__PURE__ */ jsxs("div", { children: [
2610
2650
  /* @__PURE__ */ jsx("h4", { className: "text-sm font-medium", children: aspect.testimonial.author }),
2611
- /* @__PURE__ */ jsx("p", { className: "text-xs text-muted-foreground", children: aspect.testimonial.role })
2651
+ /* @__PURE__ */ jsx("p", { className: cn("text-xs", getTextColor(background, "muted")), children: aspect.testimonial.role })
2612
2652
  ] })
2613
2653
  ] })
2614
2654
  ] }) })
@@ -2637,7 +2677,7 @@ function AboutCultureTabs({
2637
2677
  /* @__PURE__ */ jsxs("div", { className: "grid items-center gap-8 md:grid-cols-2", children: [
2638
2678
  /* @__PURE__ */ jsxs("div", { children: [
2639
2679
  ctaHeading && (typeof ctaHeading === "string" ? /* @__PURE__ */ jsx("h3", { className: cn("mb-4 text-2xl font-bold", ctaHeadingClassName), children: ctaHeading }) : /* @__PURE__ */ jsx("div", { className: cn("mb-4", ctaHeadingClassName), children: ctaHeading })),
2640
- ctaDescription && (typeof ctaDescription === "string" ? /* @__PURE__ */ jsx("p", { className: cn("mb-6 text-muted-foreground", ctaDescriptionClassName), children: ctaDescription }) : /* @__PURE__ */ jsx("div", { className: cn("mb-6", ctaDescriptionClassName), children: ctaDescription })),
2680
+ ctaDescription && (typeof ctaDescription === "string" ? /* @__PURE__ */ jsx("p", { className: cn("mb-6", getTextColor(background, "muted"), ctaDescriptionClassName), children: ctaDescription }) : /* @__PURE__ */ jsx("div", { className: cn("mb-6", ctaDescriptionClassName), children: ctaDescription })),
2641
2681
  (actionsSlot || actions && actions.length > 0) && /* @__PURE__ */ jsx("div", { className: cn("flex gap-4", actionsClassName), children: actionsContent })
2642
2682
  ] }),
2643
2683
  /* @__PURE__ */ jsx("div", { className: "grid grid-cols-3 gap-2", children: ctaImagesContent })
@@ -2676,7 +2716,7 @@ function MediaHoverCtas({
2676
2716
  "--media-hover-cta-hover-bg": item.onHoverBackgroundColor
2677
2717
  } : {}
2678
2718
  } : void 0;
2679
- const baseBackgroundClassName = item.initialBackgroundColor ? "bg-[var(--media-hover-cta-bg)]" : "bg-muted-foreground/10";
2719
+ const baseBackgroundClassName = item.initialBackgroundColor ? "bg-[var(--media-hover-cta-bg)]" : getNestedCardBg(background, "muted");
2680
2720
  const hoverBackgroundClassName = applyHoverBackground ? "group-hover:bg-[var(--media-hover-cta-hover-bg)]" : "";
2681
2721
  const hoverImageAltText = item.altText ?? "";
2682
2722
  return /* @__PURE__ */ jsxs(
@@ -2712,7 +2752,7 @@ function MediaHoverCtas({
2712
2752
  index
2713
2753
  );
2714
2754
  });
2715
- }, [itemsSlot, resolvedItems, optixFlowConfig]);
2755
+ }, [itemsSlot, resolvedItems, optixFlowConfig, background]);
2716
2756
  return /* @__PURE__ */ jsx(
2717
2757
  Section,
2718
2758
  {