Skip to content
RapiDocv11.0
GitHub

Pre-built Themes & Style Recipes

Looking for a cohesive aesthetic without designing color tokens from scratch? RapiDoc includes 9 built-in presets inspired by modern design systems, fully compatible with both dark and light color modes.


Warm amber highlights over deep charcoal surfaces. Delivers high contrast and warm visual polish.

<rapi-doc
spec-url="https://petstore.swagger.io/v2/swagger.json"
theme="amber"
color-scheme="dark"
radius="sm"
scale="default"
></rapi-doc>

The classic developer portal palette: crisp blue brand accent paired with balanced dark or light surfaces.

<rapi-doc
spec-url="https://petstore.swagger.io/v2/swagger.json"
theme="blue"
color-scheme="dark"
radius="md"
scale="default"
></rapi-doc>

3. Fintech & Security Emerald (emerald / modern)

Section titled “3. Fintech & Security Emerald (emerald / modern)”

Polished dark slate surfaces accented with vivid emerald green, ideal for payments, banking, security, and infrastructure APIs.

<rapi-doc
spec-url="https://petstore.swagger.io/v2/swagger.json"
theme="emerald"
color-scheme="dark"
radius="sm"
scale="default"
></rapi-doc>

Electric purple accents over deep violet-tinted surfaces. Perfect for cloud platforms, SaaS, and Web3 products.

<rapi-doc
spec-url="https://petstore.swagger.io/v2/swagger.json"
theme="violet"
color-scheme="dark"
radius="lg"
scale="default"
></rapi-doc>

Ultra-clean monochrome palette inspired by modern terminal interfaces and developer IDEs.

<rapi-doc
spec-url="https://petstore.swagger.io/v2/swagger.json"
theme="graphite"
color-scheme="dark"
radius="none"
scale="default"
></rapi-doc>

Vibrant rose pink highlights over neutral slate surfaces. Contemporary, high-contrast, and energetic.

<rapi-doc spec-url="https://petstore.swagger.io/v2/swagger.json" theme="rose" color-scheme="dark" radius="md"></rapi-doc>

Understated cool grey slate tones tailored for enterprise intranets and corporate software documentation.

<rapi-doc spec-url="https://petstore.swagger.io/v2/swagger.json" theme="slate" color-scheme="dark" radius="sm"></rapi-doc>

Supply your exact brand hex code into theme. RapiDoc automatically manages focus rings and accessible foreground text contrast.

<rapi-doc spec-url="https://petstore.swagger.io/v2/swagger.json" theme="#2563eb" color-scheme="dark" radius="md"></rapi-doc>

9. Automatic OS Dark / Light Switching (system)

Section titled “9. Automatic OS Dark / Light Switching (system)”

To match the end user’s operating system preferences automatically, set color-scheme="system":

<rapi-doc spec-url="https://petstore.swagger.io/v2/swagger.json" theme="emerald" color-scheme="system" radius="md"></rapi-doc>