{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "grid-02",
  "type": "registry:block",
  "description": "A colour palette grid of swatches with token names and values.",
  "dependencies": [],
  "registryDependencies": [],
  "files": [
    {
      "path": "registry/designali/blocks/grid/grid-02.tsx",
      "content": "const swatches = [\n  { name: \"Designali Blue\", hex: \"--primary\", tone: \"bg-primary\" },\n  { name: \"Ink\", hex: \"--foreground\", tone: \"bg-foreground\" },\n  { name: \"Paper\", hex: \"--background\", tone: \"bg-background\" },\n  { name: \"Muted\", hex: \"--muted\", tone: \"bg-muted\" },\n  { name: \"Card\", hex: \"--card\", tone: \"bg-card\" },\n  { name: \"Chart 1\", hex: \"--chart-1\", tone: \"bg-chart-1\" },\n  { name: \"Chart 2\", hex: \"--chart-2\", tone: \"bg-chart-2\" },\n  { name: \"Chart 3\", hex: \"--chart-3\", tone: \"bg-chart-3\" },\n]\n\nexport default function Grid02() {\n  return (\n    <section className=\"w-full bg-background py-24\">\n      <div className=\"mx-auto max-w-7xl px-6\">\n        <div className=\"flex flex-col justify-between gap-4 border-b border-border pb-8 md:flex-row md:items-end\">\n          <div>\n            <p className=\"text-xs tracking-widest text-muted-foreground uppercase\">\n              Designali brand guidelines · 03\n            </p>\n            <h2 className=\"mt-3 text-4xl font-semibold tracking-tight\">Colour palette</h2>\n          </div>\n          <p className=\"max-w-sm text-sm text-muted-foreground\">\n            Designali Blue leads every layout, with Ink and Paper carrying the\n            rest. Every colour is a semantic token that adapts to dark mode.\n          </p>\n        </div>\n\n        <ul className=\"mt-10 grid grid-cols-2 gap-4 sm:grid-cols-4\">\n          {swatches.map((swatch, index) => (\n            <li\n              key={swatch.name}\n              className={index < 2 ? \"col-span-2 sm:col-span-2\" : \"\"}\n            >\n              <div\n                className={`${swatch.tone} border border-border ${\n                  index < 2 ? \"aspect-[2/1]\" : \"aspect-square\"\n                }`}\n              />\n              <div className=\"mt-3 flex items-baseline justify-between\">\n                <span className=\"text-sm font-medium\">{swatch.name}</span>\n                <span className=\"font-sans text-xs text-muted-foreground\">\n                  {swatch.hex}\n                </span>\n              </div>\n            </li>\n          ))}\n        </ul>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "iframeHeight": "700px"
  },
  "categories": [
    "grid"
  ]
}