From 0c74f4ed89953893290dafe6d58bf823e0d0b249 Mon Sep 17 00:00:00 2001 From: Carlos Alcaraz <193642530+calcarazgre646@users.noreply.github.com> Date: Thu, 14 May 2026 00:35:15 -0300 Subject: [PATCH 1/3] feat(registry): add vignette CSS component MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pure-CSS radial darkening overlay that fills its positioned parent and pulls focus toward the center. Shape, size, and color are exposed as CSS custom properties (--vignette-shape, --vignette-size, --vignette-edge, --vignette-color), so a GSAP timeline can animate any of them — the snippet's header comment shows the pattern for fading the vignette in. The Components section currently has four entries; this fills the cinematic-cinematography gap a video editor expects out of the box without bundling any asset (the effect is a single radial-gradient). Default z-index 90 sits below grain-overlay (100) so grain reads on top of the darkened corners. Catalog page, registry index, and nav are regenerated via scripts/generate-catalog-pages.ts. --- docs/catalog/components/vignette.mdx | 38 ++++++ docs/docs.json | 3 +- docs/public/catalog-index.json | 14 ++ registry/components/vignette/demo.html | 126 ++++++++++++++++++ .../components/vignette/registry-item.json | 15 +++ registry/components/vignette/vignette.html | 51 +++++++ registry/registry.json | 4 + 7 files changed, 250 insertions(+), 1 deletion(-) create mode 100644 docs/catalog/components/vignette.mdx create mode 100644 registry/components/vignette/demo.html create mode 100644 registry/components/vignette/registry-item.json create mode 100644 registry/components/vignette/vignette.html diff --git a/docs/catalog/components/vignette.mdx b/docs/catalog/components/vignette.mdx new file mode 100644 index 000000000..2a0d500a6 --- /dev/null +++ b/docs/catalog/components/vignette.mdx @@ -0,0 +1,38 @@ +--- +title: "Vignette" +description: "Cinematic radial vignette overlay using a pure-CSS gradient — darkens the edges to pull focus toward the center" +--- + +# Vignette + +Cinematic radial vignette overlay using a pure-CSS gradient — darkens the edges to pull focus toward the center + +`vignette` `overlay` `cinematic` `effect` + +