Home /

docs

Command Grid Theme

A mono-first preset with a paper-grid light mode, lead-toned dark mode, sharper borders, and calmer surfaces inspired by the better-cmdk landing page.

Usage

docs.config.ts
import { defineDocs } from "@farming-labs/docs";
import { commandGrid } from "@farming-labs/theme/command-grid";

export default defineDocs({
  entry: "docs",
  theme: commandGrid(),
});
app/global.css
@import "tailwindcss";
@import "@farming-labs/theme/command-grid/css";

Defaults

PropertyValue
Primary#141414
Background#f8f6ed (light), #121212 (dark)
Border radius0px
Content width900px
Sidebar width304px

Style Notes

Customizing

customizing.tsx
theme: commandGrid({
  ui: {
    colors: { accent: "#d9c9b4" },
    layout: { sidebarWidth: 320 },
  },
}),