@snow-labs/brutal-ui 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/components/brutal/comparison-table.js +2 -2
  2. package/dist/components/brutal/comparison-table.js.map +1 -1
  3. package/dist/components/brutal/cta-section.js +2 -2
  4. package/dist/components/brutal/cta-section.js.map +1 -1
  5. package/dist/components/brutal/faq.js +2 -2
  6. package/dist/components/brutal/faq.js.map +1 -1
  7. package/dist/components/brutal/feature-grid.js +2 -2
  8. package/dist/components/brutal/feature-grid.js.map +1 -1
  9. package/dist/components/brutal/feature-showcase.js +2 -2
  10. package/dist/components/brutal/feature-showcase.js.map +1 -1
  11. package/dist/components/brutal/footer.js +1 -2
  12. package/dist/components/brutal/footer.js.map +1 -1
  13. package/dist/components/brutal/hero.js +2 -2
  14. package/dist/components/brutal/hero.js.map +1 -1
  15. package/dist/components/brutal/index.js +10 -16
  16. package/dist/components/brutal/index.js.map +1 -1
  17. package/dist/components/brutal/integration-grid.js +3 -3
  18. package/dist/components/brutal/integration-grid.js.map +1 -1
  19. package/dist/components/brutal/logo-cloud.js +2 -2
  20. package/dist/components/brutal/logo-cloud.js.map +1 -1
  21. package/dist/components/brutal/nav.js +1 -1
  22. package/dist/components/brutal/nav.js.map +1 -1
  23. package/dist/components/brutal/newsletter.js +2 -2
  24. package/dist/components/brutal/newsletter.js.map +1 -1
  25. package/dist/components/brutal/pricing-table.js +2 -2
  26. package/dist/components/brutal/pricing-table.js.map +1 -1
  27. package/dist/components/brutal/section.js +2 -2
  28. package/dist/components/brutal/section.js.map +1 -1
  29. package/dist/components/brutal/stats-bar.js +3 -3
  30. package/dist/components/brutal/stats-bar.js.map +1 -1
  31. package/dist/components/brutal/testimonials.js +6 -11
  32. package/dist/components/brutal/testimonials.js.map +1 -1
  33. package/dist/index.js +10 -16
  34. package/dist/index.js.map +1 -1
  35. package/dist/templates/index.js +9 -15
  36. package/dist/templates/index.js.map +1 -1
  37. package/dist/templates/saas-launch.js +9 -15
  38. package/dist/templates/saas-launch.js.map +1 -1
  39. package/dist/templates/studio.js +8 -14
  40. package/dist/templates/studio.js.map +1 -1
  41. package/dist/theme.css +41 -4
  42. package/package.json +1 -1
@@ -177,7 +177,7 @@ function BrutalNav({
177
177
  solid: "sticky top-0 z-50 w-full border-b-brutal border-foreground bg-brand",
178
178
  transparent: cn(
179
179
  "fixed top-0 left-0 right-0 z-50 w-full transition-all duration-200",
180
- isScrolled ? "bg-background/80 text-foreground backdrop-blur-md border-b border-foreground/10" : "bg-transparent text-white"
180
+ isScrolled ? "bg-background/80 text-foreground backdrop-blur-md border-b border-border/30" : "bg-transparent text-foreground"
181
181
  ),
182
182
  "floating-pill": "fixed top-0 left-0 right-0 z-50 mx-4 mt-4 rounded-full border-brutal border-foreground bg-background shadow-brutal"
183
183
  };
@@ -269,8 +269,8 @@ var colorMap = {
269
269
  brand: "bg-brand",
270
270
  "brand-muted": "bg-brand-muted text-foreground",
271
271
  blue: "bg-section-blue",
272
- gray: "bg-section-gray text-foreground",
273
- cream: "bg-section-cream text-foreground",
272
+ gray: "bg-muted text-foreground",
273
+ cream: "bg-secondary text-foreground",
274
274
  black: "bg-foreground text-background",
275
275
  cta: "bg-cta"
276
276
  };
@@ -651,7 +651,7 @@ function StatItem({ stat, inView }) {
651
651
  count.toLocaleString(),
652
652
  stat.suffix
653
653
  ] }),
654
- /* @__PURE__ */ jsx("p", { className: "brutal-label mt-2 text-muted-foreground", children: stat.label })
654
+ /* @__PURE__ */ jsx("p", { className: "brutal-label mt-2 opacity-70", children: stat.label })
655
655
  ] });
656
656
  }
657
657
  function StatsBar({ stats, color = "white", className }) {
@@ -691,7 +691,7 @@ function StarRating({ rating }) {
691
691
  {
692
692
  className: cn(
693
693
  "text-sm",
694
- i < rating ? "text-amber-500" : "text-foreground/20"
694
+ i < rating ? "text-brand" : "text-foreground/20"
695
695
  ),
696
696
  children: "\u2605"
697
697
  },
@@ -719,17 +719,12 @@ function TestimonialCard({
719
719
  {
720
720
  src: t.avatar,
721
721
  alt: t.name,
722
- className: "size-9 border-2 object-cover",
723
- style: { borderColor: "hsl(var(--brand))" }
722
+ className: "size-9 border-2 border-brand object-cover"
724
723
  }
725
724
  ) : /* @__PURE__ */ jsx(
726
725
  "div",
727
726
  {
728
- className: "flex size-9 items-center justify-center border-2 font-bold text-brand-foreground",
729
- style: {
730
- borderColor: "hsl(var(--brand))",
731
- backgroundColor: "hsl(var(--brand))"
732
- },
727
+ className: "flex size-9 items-center justify-center border-2 border-brand bg-brand font-bold text-brand-foreground",
733
728
  children: t.name[0]
734
729
  }
735
730
  ),
@@ -795,7 +790,7 @@ function BrutalTestimonials({
795
790
  headline,
796
791
  testimonials,
797
792
  variant = "masonry",
798
- color = "blue",
793
+ color = "white",
799
794
  pattern,
800
795
  className
801
796
  }) {
@@ -1284,10 +1279,9 @@ function BrutalFooter({
1284
1279
  "footer",
1285
1280
  {
1286
1281
  className: cn(
1287
- "w-full border-t-4 bg-background px-6 py-12 text-foreground",
1282
+ "w-full border-t-4 border-t-brand bg-background px-6 py-12 text-foreground",
1288
1283
  className
1289
1284
  ),
1290
- style: { borderTopColor: "hsl(var(--brand))" },
1291
1285
  children: /* @__PURE__ */ jsxs("div", { className: "brutal-container", children: [
1292
1286
  variant === "newsletter" && newsletter && /* @__PURE__ */ jsx(NewsletterSection, { newsletter }),
1293
1287
  variant === "minimal" ? /* @__PURE__ */ jsx(MinimalContent, { logo, columns, socials }) : /* @__PURE__ */ jsx(