Home /

docs

Pixel Border Theme

Inspired by — a clean dark UI with visible borders, pixel-perfect spacing, and a refined sidebar. The active sidebar indicator and text use your primary color.

Usage

docs.config.ts
import { defineDocs } from "@farming-labs/docs";
import { pixelBorder } from "@farming-labs/theme/pixel-border";

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

Defaults

PropertyValue
PrimaryNear-white (oklch(0.985 0.001 106.423))
Backgroundhsl(0 0% 2%)
Borderhsl(0 0% 15%)
Border radius0px
Content width860px
Sidebar width286px

Customizing

customizing.tsx
theme: pixelBorder({
  ui: {
    colors: { primary: "oklch(0.72 0.19 149)" },
    typography: {
      font: {
        h1: { size: "2.5rem", weight: 800 },
      },
    },
  },
}),

The primary color flows to: