Style Guide

Visual reference for typography, components, and patternsCreated Content

This page shows all styling elements in one place for comparison and iteration.


Font Sandbox

Candidate display fonts for headings and the homepage masthead. Body text stays Inter.

Display Fonts — Heading Samples

Alegreya — literary, calligraphic

DMDocs

Rules · Spellbook · Bestiary · Magic Items

The quick brown fox jumps over the lazy dog

Vollkorn — sturdy, scholarly

DMDocs

Rules · Spellbook · Bestiary · Magic Items

The quick brown fox jumps over the lazy dog

Crimson Pro — elegant, scholarly

DMDocs

Rules · Spellbook · Bestiary · Magic Items

The quick brown fox jumps over the lazy dog

Space Grotesk — geometric, modern

DMDocs

Rules · Spellbook · Bestiary · Magic Items

The quick brown fox jumps over the lazy dog

Lexend — readable, slightly quirky

DMDocs

Rules · Spellbook · Bestiary · Magic Items

The quick brown fox jumps over the lazy dog

Inter (current) — baseline

DMDocs

Rules · Spellbook · Bestiary · Magic Items

The quick brown fox jumps over the lazy dog

Monospace Fonts — Count/Data Samples

JetBrains Mono

339 spells · 330 monsters · 257 items · 100+ pages · CR 0–30

IBM Plex Mono

339 spells · 330 monsters · 257 items · 100+ pages · CR 0–30

System monospace (current)

339 spells · 330 monsters · 257 items · 100+ pages · CR 0–30


Color Palette

Accent colors are set per-section via CSS custom properties. HSL format: H S% L%

Current Accents

RulesGold/Amber48 85% 48%38 85% 40%Dark / Light
BestiaryBurgundy350 70% 45%350 70% 40%Dark / Light
SpellbookDeep Teal182 70% 40%182 70% 35%Dark / Light
Magic ItemsDusty Violet270 35% 55%270 30% 45%Dark / Light

Artifact Palette (Current)

Muted, desaturated colors that feel like a wizard's study.

Gold48 85% 48%Vibrant gold, current brand
Burgundy Wine350 55% 40%Medieval, rich, dangerous
Burnt Sienna18 70% 45%Earthy, leather-bound tomes
Deep Teal185 50% 35%Mysterious, not the typical tech blue
Moss90 40% 35%Earthy green, very un-Tailwind
Antique Bronze30 50% 38%Warm neutral, artifact feel
Dusty Violet270 35% 45%Arcane, aged magic

Implementation

Set in layout files via CSS variables:

<div style={{
  "--primary": "200 80% 55%",
  "--primary-foreground": "0 0% 98%",
} as React.CSSProperties}>

Typography

Heading Hierarchy

Heading 2 — Major Section

Heading 3 — Subsection

Heading 4 — Detail Header

Body Text

This is standard body text. It should be comfortable to read at length. The quick brown fox jumps over the lazy dog. Bold text draws attention to key terms. Italic text is used for flavor, emphasis, or game term categories.

A second paragraph tests spacing between blocks. Lists, tables, and other elements should flow naturally from prose without excessive gaps.

Here is a standard link within body text, and here is a link to another page.


Lists

Unordered List

  • First item with brief content
  • Second item that spans multiple lines to show how wrapping behaves in the current typography settings
  • Third item
    • Nested item one
    • Nested item two
  • Fourth item

Ordered List

  1. First numbered item
  2. Second numbered item with more text to show line wrapping behavior
  3. Third numbered item
    1. Nested numbered item
    2. Another nested item

Definition-Style (Bold Lead)

Ability Score Increase. Increase one ability score of your choice by 1, to a maximum of 20.

Damage Reduction. When you're hit by an attack while wearing Heavy armor, any Bludgeoning, Piercing, or Slashing damage is reduced by your Proficiency Bonus.

Spellcasting Focus. You can use an arcane focus as a spellcasting focus for your wizard spells.


Tables

Simple Two-Column

TraitValue
Primary AbilityStrength
Hit Died12
Saving ThrowsStrength, Constitution

Multi-Column Data Table

LevelProficiencyFeaturesRagesDamage
1+2Rage, Unarmored Defense2+2
2+2Danger Sense, Reckless Attack2+2
3+2Barbarian Subclass, Primal Knowledge3+2
4+2Ability Score Improvement3+2
5+3Extra Attack, Fast Movement3+2

Spell Table Format

SpellSchoolSpecial
FireballEvocation
Detect MagicDivinationC, R
RevivifyNecromancyM
CounterspellAbjuration

Tabs Component

Content inside the first tab. This is where tier-specific class features or species lineages would appear.

Subheading in Tab

  • List item in tab
  • Another list item

Callouts

Note

This is an informational callout for tips or clarifications.

Warning

This is a warning callout for important cautions.

Error

This is an error callout for critical information.


Blockquotes

This is a blockquote, typically used for flavor text or quoted material from the source. It should be visually distinct but not overwhelming.


Horizontal Rules

Content above a horizontal rule.


Content below a horizontal rule. Rules separate major sections.


Combined Example: Feat Entry

Great Weapon Master

General Feat (Prerequisite: Level 4+, Strength 13+)

You've learned to use the weight of a weapon to your advantage, granting you the following benefits:

Ability Score Increase. Increase your Strength score by 1, to a maximum of 20.

Heavy Weapon Mastery. When you hit a creature with a weapon that has the Heavy property as part of the Attack action on your turn, you can cause the weapon to deal extra damage to the target. The extra damage equals your Proficiency Bonus.

Hew. Immediately after you score a Critical Hit with a Melee weapon or reduce a creature to 0 Hit Points with one, you can make one attack with the same weapon as a Bonus Action.


Combined Example: Class Traits Table

TraitValue
Primary AbilityStrength
Hit Point DieD12 per Barbarian level
Saving Throw ProficienciesStrength and Constitution
Skill ProficienciesChoose 2: Animal Handling, Athletics, Intimidation, Nature, Perception, or Survival
Weapon ProficienciesSimple and Martial weapons
Armor TrainingLight and Medium armor and Shields
Starting EquipmentChoose A or B: (A) Greataxe, 4 Handaxes, Explorer's Pack, and 15 GP; or (B) 75 GP

Combined Example: Species Entry

Elf Traits

TraitValue
Creature TypeHumanoid
SizeMedium (about 5–6 feet tall)
Speed30 feet
Life Span750 years on average

Darkvision. You have Darkvision with a range of 60 feet.

Fey Ancestry. You have Advantage on saving throws you make to avoid or end the Charmed condition.

Keen Senses. You have proficiency in the Perception skill.

Trance. You don't need to sleep, and magic can't put you to sleep. You can finish a Long Rest in 4 hours if you spend those hours in a trancelike meditation, during which you retain consciousness.


Spacing Reference

The following shows stacked elements to evaluate vertical rhythm:

Section A

First paragraph of section A.

Second paragraph of section A.

Section B

First paragraph of section B with a list following:

  • Item one
  • Item two
  • Item three

And then continuing prose after the list.

Section C

DataValue
Row 110
Row 220

Text immediately after a table to show spacing.