BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/pdfcn/theme-modern

Modern Theme

pdfcn/theme-modern
FreeTheme

modern theme tokens

Install it

npx shadcn@latest add https://pdfcn.dev/r/theme-modern.json

Source

registry/themes/modern.tspdfcn.dev/r/theme-modern.json
1import type { PdfcnTheme } from "@/registry/types/pdf-themes";
2
3import { defaultPrimitives } from "./primitives";
4
5/**
6 * Modern theme preset.
7 *
8 * Character: All-Helvetica, slate-cool neutrals with subtle violet accent,
9 * clean spacing. shadcn-inspired contemporary feel.
10 * Ideal for startups, tech companies, and design-forward documents.
11 */
12export const modernTheme: PdfcnTheme = {
13 colors: {
14 accent: "#6366f1",
15 background: "#ffffff",
16 border: "#e2e8f0",
17 destructive: "#ef4444",
18 foreground: "#0f172a",
19 info: "#3b82f6",
20 muted: "#f1f5f9",
21 mutedForeground: "#64748b",
22 primary: "#334155",
23 primaryForeground: "#ffffff",
24 success: "#22c55e",
25 warning: "#f59e0b",
26 },
27 name: "modern",
28 page: {
29 orientation: "portrait",
30 size: "A4",
31 },
32 primitives: defaultPrimitives,
33 spacing: {
34 componentGap: 12,
35 page: {
36 marginBottom: 40,
37 marginLeft: 40,
38 marginRight: 40,
39 marginTop: 40,
40 },
41 paragraphGap: 10,
42 sectionGap: 24,
43 },
44 typography: {
45 body: {
46 fontFamily: "Helvetica",
47 fontSize: 11,
48 lineHeight: 1.6,
49 },
50 heading: {
51 fontFamily: "Helvetica",
52 fontSize: {
53 h1: 28,
54 h2: 22,
55 h3: 18,
56 h4: 16,
57 h5: 14,
58 h6: 12,
59 },
60 fontWeight: 600,
61 lineHeight: 1.25,
62 },
63 },
64};

Files it writes

  • registry/themes/modern.ts
  • registry/themes/primitives.ts
  • registry/types/pdf-themes.ts
  • registry/types/pdf-components.ts

Facts

Registry
pdfcn
Type
registry:theme
Access
Free
Files written
4
Licence
MIT
In the index
at or before 2026-08-13
Last confirmed
today

Go to the source

Docs on pdfcn pdfcn.dev shadcn-labs/pdfcn on GitHub Raw registry item This item as JSON

More from pdfcn

All 79 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Blueprint Themetheme-blueprintpdfcnThemesFreeno deps · 4 files
Corporate Themetheme-corporatepdfcnThemesFreeno deps · 4 files
Elegant Themetheme-elegantpdfcnThemesFreeno deps · 4 files
Executive Themetheme-executivepdfcnThemesFreeno deps · 4 files
Forest Themetheme-forestpdfcnThemesFreeno deps · 4 files
Minimal Themetheme-minimalpdfcnThemesFreeno deps · 4 files
Professional Themetheme-professionalpdfcnThemesFreeno deps · 4 files
Vivid Themetheme-vividpdfcnThemesFreeno deps · 4 files
BlockDex

Built by

Kynth Studios

the studio behind StoreReady, ToolDrift and BreachProbe

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product.

BlockDex

BlockDex

Built by

Kynth Studios

the studio behind StoreReady, ToolDrift and BreachProbe

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product.

BlockDex

BlockDex

Built by

Kynth Studios

the studio behind StoreReady, ToolDrift and BreachProbe

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product.

BlockDex