@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.
- package/dist/components/brutal/comparison-table.js +2 -2
- package/dist/components/brutal/comparison-table.js.map +1 -1
- package/dist/components/brutal/cta-section.js +2 -2
- package/dist/components/brutal/cta-section.js.map +1 -1
- package/dist/components/brutal/faq.js +2 -2
- package/dist/components/brutal/faq.js.map +1 -1
- package/dist/components/brutal/feature-grid.js +2 -2
- package/dist/components/brutal/feature-grid.js.map +1 -1
- package/dist/components/brutal/feature-showcase.js +2 -2
- package/dist/components/brutal/feature-showcase.js.map +1 -1
- package/dist/components/brutal/footer.js +1 -2
- package/dist/components/brutal/footer.js.map +1 -1
- package/dist/components/brutal/hero.js +2 -2
- package/dist/components/brutal/hero.js.map +1 -1
- package/dist/components/brutal/index.js +10 -16
- package/dist/components/brutal/index.js.map +1 -1
- package/dist/components/brutal/integration-grid.js +3 -3
- package/dist/components/brutal/integration-grid.js.map +1 -1
- package/dist/components/brutal/logo-cloud.js +2 -2
- package/dist/components/brutal/logo-cloud.js.map +1 -1
- package/dist/components/brutal/nav.js +1 -1
- package/dist/components/brutal/nav.js.map +1 -1
- package/dist/components/brutal/newsletter.js +2 -2
- package/dist/components/brutal/newsletter.js.map +1 -1
- package/dist/components/brutal/pricing-table.js +2 -2
- package/dist/components/brutal/pricing-table.js.map +1 -1
- package/dist/components/brutal/section.js +2 -2
- package/dist/components/brutal/section.js.map +1 -1
- package/dist/components/brutal/stats-bar.js +3 -3
- package/dist/components/brutal/stats-bar.js.map +1 -1
- package/dist/components/brutal/testimonials.js +6 -11
- package/dist/components/brutal/testimonials.js.map +1 -1
- package/dist/index.js +10 -16
- package/dist/index.js.map +1 -1
- package/dist/templates/index.js +9 -15
- package/dist/templates/index.js.map +1 -1
- package/dist/templates/saas-launch.js +9 -15
- package/dist/templates/saas-launch.js.map +1 -1
- package/dist/templates/studio.js +8 -14
- package/dist/templates/studio.js.map +1 -1
- package/dist/theme.css +41 -4
- package/package.json +1 -1
|
@@ -172,7 +172,7 @@ function BrutalNav({
|
|
|
172
172
|
solid: "sticky top-0 z-50 w-full border-b-brutal border-foreground bg-brand",
|
|
173
173
|
transparent: cn(
|
|
174
174
|
"fixed top-0 left-0 right-0 z-50 w-full transition-all duration-200",
|
|
175
|
-
isScrolled ? "bg-background/80 text-foreground backdrop-blur-md border-b border-
|
|
175
|
+
isScrolled ? "bg-background/80 text-foreground backdrop-blur-md border-b border-border/30" : "bg-transparent text-foreground"
|
|
176
176
|
),
|
|
177
177
|
"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"
|
|
178
178
|
};
|
|
@@ -264,8 +264,8 @@ var colorMap = {
|
|
|
264
264
|
brand: "bg-brand",
|
|
265
265
|
"brand-muted": "bg-brand-muted text-foreground",
|
|
266
266
|
blue: "bg-section-blue",
|
|
267
|
-
gray: "bg-
|
|
268
|
-
cream: "bg-
|
|
267
|
+
gray: "bg-muted text-foreground",
|
|
268
|
+
cream: "bg-secondary text-foreground",
|
|
269
269
|
black: "bg-foreground text-background",
|
|
270
270
|
cta: "bg-cta"
|
|
271
271
|
};
|
|
@@ -646,7 +646,7 @@ function StatItem({ stat, inView }) {
|
|
|
646
646
|
count.toLocaleString(),
|
|
647
647
|
stat.suffix
|
|
648
648
|
] }),
|
|
649
|
-
/* @__PURE__ */ jsx("p", { className: "brutal-label mt-2
|
|
649
|
+
/* @__PURE__ */ jsx("p", { className: "brutal-label mt-2 opacity-70", children: stat.label })
|
|
650
650
|
] });
|
|
651
651
|
}
|
|
652
652
|
function StatsBar({ stats, color = "white", className }) {
|
|
@@ -686,7 +686,7 @@ function StarRating({ rating }) {
|
|
|
686
686
|
{
|
|
687
687
|
className: cn(
|
|
688
688
|
"text-sm",
|
|
689
|
-
i < rating ? "text-
|
|
689
|
+
i < rating ? "text-brand" : "text-foreground/20"
|
|
690
690
|
),
|
|
691
691
|
children: "\u2605"
|
|
692
692
|
},
|
|
@@ -714,17 +714,12 @@ function TestimonialCard({
|
|
|
714
714
|
{
|
|
715
715
|
src: t.avatar,
|
|
716
716
|
alt: t.name,
|
|
717
|
-
className: "size-9 border-2 object-cover"
|
|
718
|
-
style: { borderColor: "hsl(var(--brand))" }
|
|
717
|
+
className: "size-9 border-2 border-brand object-cover"
|
|
719
718
|
}
|
|
720
719
|
) : /* @__PURE__ */ jsx(
|
|
721
720
|
"div",
|
|
722
721
|
{
|
|
723
|
-
className: "flex size-9 items-center justify-center border-2 font-bold text-brand-foreground",
|
|
724
|
-
style: {
|
|
725
|
-
borderColor: "hsl(var(--brand))",
|
|
726
|
-
backgroundColor: "hsl(var(--brand))"
|
|
727
|
-
},
|
|
722
|
+
className: "flex size-9 items-center justify-center border-2 border-brand bg-brand font-bold text-brand-foreground",
|
|
728
723
|
children: t.name[0]
|
|
729
724
|
}
|
|
730
725
|
),
|
|
@@ -790,7 +785,7 @@ function BrutalTestimonials({
|
|
|
790
785
|
headline,
|
|
791
786
|
testimonials,
|
|
792
787
|
variant = "masonry",
|
|
793
|
-
color = "
|
|
788
|
+
color = "white",
|
|
794
789
|
pattern,
|
|
795
790
|
className
|
|
796
791
|
}) {
|
|
@@ -1279,10 +1274,9 @@ function BrutalFooter({
|
|
|
1279
1274
|
"footer",
|
|
1280
1275
|
{
|
|
1281
1276
|
className: cn(
|
|
1282
|
-
"w-full border-t-4 bg-background px-6 py-12 text-foreground",
|
|
1277
|
+
"w-full border-t-4 border-t-brand bg-background px-6 py-12 text-foreground",
|
|
1283
1278
|
className
|
|
1284
1279
|
),
|
|
1285
|
-
style: { borderTopColor: "hsl(var(--brand))" },
|
|
1286
1280
|
children: /* @__PURE__ */ jsxs("div", { className: "brutal-container", children: [
|
|
1287
1281
|
variant === "newsletter" && newsletter && /* @__PURE__ */ jsx(NewsletterSection, { newsletter }),
|
|
1288
1282
|
variant === "minimal" ? /* @__PURE__ */ jsx(MinimalContent, { logo, columns, socials }) : /* @__PURE__ */ jsx(
|