29 |
30 |
31 |
52 |
53 |
70 |
71 |
88 |
89 |
90 |
91 | {colors.map((color, idx) => (
92 |
copyToClipboard(color)}
98 | />
99 | ))}
100 |
101 |
102 |
103 |
104 | Base color: hsl({hue}, {saturation}%, {lightness}%)
105 |
106 |
107 |
108 |
109 | )
110 | }
111 |
--------------------------------------------------------------------------------
/snippets/counter.mdx:
--------------------------------------------------------------------------------
1 | export const Counter = () => {
2 | const [count, setCount] = useState(0)
3 |
4 | const increment = () => setCount(count + 1)
5 | const decrement = () => setCount(count - 1)
6 |
7 | return (
8 |
9 |
10 |
17 |
18 |
19 | {count}
20 |
21 |
22 |
29 |
30 |
31 | )
32 | }
--------------------------------------------------------------------------------
/snippets/custom-subpath-gating.mdx:
--------------------------------------------------------------------------------
1 |
2 | **Prerequisite**: Your primary domain (company.com) is hosted on {platform}
3 | and you are on the [Pro, Growth, or Enterprise plan](https://mintlify.com/pricing).
4 |
5 |
--------------------------------------------------------------------------------
/snippets/custom-subpath-propagating.mdx:
--------------------------------------------------------------------------------
1 |
2 | After configuring your DNS, custom subdomains are usually available within a few minutes. DNS propagation can sometimes take 1-4 hours, and in rare cases up to 48 hours. If your subdomain is not immediately available, please wait before troubleshooting.
3 |
4 |
--------------------------------------------------------------------------------
/themes.mdx:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Themes"
3 | description: "Customize the appearance of your documentation"
4 | icon: "paint-bucket"
5 | mode: "custom"
6 | ---
7 |
8 | export const ThemeCard = ({ title, value, description, href }) => {
9 | return (
10 |
11 |
12 |

13 |

14 |
15 |
16 |
17 |
{title}
18 |
19 |
20 |
{description}
21 |
22 |
23 | See preview
24 |
25 |
28 |
29 |
30 |
31 | );
32 | };
33 |
34 |
35 |
36 |
Themes
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
--------------------------------------------------------------------------------