Skip to content

Commit 230be58

Browse files
committed
Update images
1 parent fe233c8 commit 230be58

File tree

15 files changed

+42
-39
lines changed

15 files changed

+42
-39
lines changed

core-concepts/themes.mdx

Lines changed: 42 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,36 +2,57 @@
22
title: "Themes"
33
description: "Customize the appearance of your documentation"
44
icon: "paint-bucket"
5+
mode: "custom"
56
---
67

7-
import { ThemeCard } from "/snippets/theme-card.mdx";
8+
export const ThemeCard = ({ title, value, description, href }) => {
9+
return (
10+
<a className="mt-4 gap-10 group cursor-pointer" href={href}>
11+
<div>
12+
<img className="mt-0 rounded-2xl group-hover:scale-105 transition-all block dark:hidden" src={`/images/themes/${value}-light.png`} alt={title} />
13+
<img className="mt-0 rounded-2xl group-hover:scale-105 transition-all hidden dark:block" src={`/images/themes/${value}-dark.png`} alt={title} />
14+
</div>
15+
<div>
16+
<div className="mt-4 flex space-x-2 items-center">
17+
<h4 className="text-base font-medium text-gray-900 dark:text-gray-200">{title}</h4>
18+
<label className="text-sm text-gray-500 dark:text-gray-400">"{value}"</label>
19+
</div>
20+
<div class="mt-1 prose-sm prose-gray mb-2">{description}</div>
21+
<div className="flex items-center gap-1 mt-2 text-green-600 group-hover:text-green-800 dark:text-green-500 dark:group-hover:text-green-400">
22+
<span className="text-sm font-medium">
23+
See preview
24+
</span>
25+
<svg className="size-3 group-hover:translate-x-0.5 transition-all" width="14" height="15" viewBox="0 0 14 15" fill="none" xmlns="http://www.w3.org/2000/svg">
26+
<path d="M5.05566 2.70996L9.91678 7.57107L5.05566 12.4322" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
27+
</svg>
28+
</div>
29+
</div>
30+
</a>
31+
);
32+
};
33+
34+
<div className="pt-10 px-4 px-4 max-w-2xl mx-auto prose prose-gray">
35+
36+
<label className="eyebrow h-5 text-primary dark:text-primary-light text-sm font-semibold">Core Concepts</label>
37+
<h1 className="mt-1 mb-2 text-2xl sm:text-3xl text-gray-900 tracking-tight dark:text-gray-200 font-semibold">Themes</h1>
38+
<label className="text-lg prose prose-gray dark:prose-invert">Custom the appearance of your documentation<br /><br />Configure [theme](/core-concepts/settings#param-theme) in docs.json using one of the following themes.</label>
839

9-
The platform supports a variety of pre-built themes so you can tailor the look and feel of your documentation based on your brand.
10-
11-
## Configuration
12-
13-
You can configure the theme property in [docs.json](/core-concepts/settings#param-theme).
14-
15-
For example, to use the `maple` theme, you can add the following:
40+
<br />
1641

17-
```json
18-
{
19-
"theme": "maple"
20-
}
21-
```
42+
<div className="mt-8 grid grid-cols-1 sm:grid-cols-2 gap-8 not-prose">
2243

23-
## Themes
44+
<ThemeCard title="Mint" value="mint" description="Classic documentation theme with time-tested layouts and familiar navigation." href="https://mint.mintlify.app" />
2445

25-
There are a variety of themes to choose from.
46+
<ThemeCard title="Maple" value="maple" description="Modern, clean aesthetics perfect for AI and SaaS products." href="https://maple.mintlify.app" />
2647

27-
<br />
48+
<ThemeCard title="Palm" value="palm" description="Sophisticated fintech theme with deep customization for enterprise documentation." href="https://palm.mintlify.app" />
2849

29-
<ThemeCard title="Mint" description="Classic documentation theme with time-tested layouts and familiar navigation." image="/images/themes/mint.png" href="https://mint.mintlify.app" />
50+
<ThemeCard title="Willow" value="willow" description="Stripped-back essentials for distraction-free documentation." href="https://willow.mintlify.app" />
3051

31-
<ThemeCard title="Maple" description="Modern, clean aesthetics perfect for AI and SaaS products." image="/images/themes/maple.png" href="https://maple.mintlify.app" />
52+
<ThemeCard title="Linden" value="linden" description="Retro terminal vibes with monospace fonts for that 80s hacker aesthetic." href="https://linden.mintlify.app" />
3253

33-
<ThemeCard title="Palm" description="Sophisticated fintech theme with deep customization for enterprise documentation." image="/images/themes/palm.png" href="https://palm.mintlify.app" />
54+
<ThemeCard title="Almond" value="almond" description="Card-based organization meets minimalist design for intuitive navigation." href="https://almond.mintlify.app" />
3455

35-
<ThemeCard title="Willow" description="Stripped-back essentials for distraction-free documentation." image="/images/themes/willow.png" href="https://willow.mintlify.app" />
56+
</div>
3657

37-
<ThemeCard title="Linden" description="Retro terminal vibes with monospace fonts for that 80s hacker aesthetic." image="/images/themes/linden.png" href="https://linden.mintlify.app" />
58+
</div>

images/themes/almond-dark.png

248 KB
Loading

images/themes/linden-dark.png

316 KB
Loading

images/themes/linden.png

-654 KB
Binary file not shown.

images/themes/maple-dark.png

262 KB
Loading

images/themes/maple-light.png

246 KB
Loading

images/themes/maple.png

-666 KB
Binary file not shown.

images/themes/mint-dark.png

272 KB
Loading

images/themes/mint-light.png

249 KB
Loading

images/themes/mint.png

-691 KB
Binary file not shown.

0 commit comments

Comments
 (0)